01: /**
02: *
03: */package diagram.section;
04:
05: /**
06: * Class used as a trivial case of an EnvEntry
07: * Serves as the business object for the EnvEntryTableViewer.
08: *
09: * An EnvEntry has the following properties: Entry name, Entry type, Entry value
10: *
11: * @author sh
12: */
13: public class EnvEntry {
14: private String name = "";
15: private String type = "";
16: private String value = "";
17:
18: /**
19: * Create an EnvEntry with an initial Entry name
20: * @param name
21: */
22: public EnvEntry(String name) {
23: super ();
24: setName(name);
25: }
26:
27: /**
28: * @return String Entry name
29: */
30: public String getName() {
31: return name;
32: }
33:
34: /**
35: * sets the "name" property
36: * @param name
37: */
38: public void setName(String name) {
39: this .name = name;
40: }
41:
42: /**
43: * @return String Entry type
44: */
45: public String getType() {
46: return type;
47: }
48:
49: /**
50: * sets the "type" property
51: * @param type
52: */
53: public void setType(String type) {
54: this .type = type;
55: }
56:
57: /**
58: * @return String Entry value
59: */
60: public String getValue() {
61: return value;
62: }
63:
64: /**
65: * sets the "value" property
66: * @param value
67: */
68: public void setValue(String value) {
69: this.value = value;
70: }
71: }
|