1 | void setValue(String newValue) {↵ | | 1 | void setName(String newName) {↵
|
2 | setProperty(new StringProperty(VALUE, newValue));↵ | | 2 | setProperty(new StringProperty(ARG_NAME, newName));↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Gets the value of the Argument object.↵ | | 5 | * Get the name of the Argument.↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @return the attribute's value↵ | | 7 | * @return the attribute's name↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getValue() {↵ | | 9 | public String getName() {↵
|
10 | return getPropertyAsString(VALUE);↵ | | 10 | return getPropertyAsString(ARG_NAME);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * Sets the opcode of the Argument.↵ | | 13 | * Sets the value of the Argument.↵
|
14 | * ↵ | | 14 | * ↵
|
15 | * @param newOpcode↵ | | 15 | * @param newValue↵
|
16 | * the new value↵ | | 16 | * the new value↵
|
17 | */↵ | | 17 | */↵
|
18 | public void setOpcode(String newOpcode) {↵ | | 18 | public void setValue(String newValue) {↵
|
19 | setProperty(new StringProperty(OPCODE, newOpcode));↵ | | 19 | setProperty(new StringProperty(VALUE, newValue));↵
|
20 | }↵ | | 20 | }↵
|
|
21 | /**↵ | | 21 | /**↵
|
22 | * Gets the opcode of the Argument object.↵ | | 22 | * Gets the value of the Argument object.↵
|
23 | * ↵ | | 23 | * ↵
|
24 | * @return the attribute's value↵ | | 24 | * @return the attribute's value↵
|
25 | */↵ | | 25 | */↵
|
26 | public String getOpcode() {↵ | | 26 | public String getValue() {↵
|
27 | return getPropertyAsString(OPCODE);↵ | | 27 | return getPropertyAsString(VALUE);↵
|
28 | }↵ | | 28 | }↵
|
|
29 | /**↵ | | 29 | /**↵
|
30 | * Sets the Meta Data attribute of the Argument.↵ | | 30 | * Sets the Meta Data attribute of the Argument.↵
|
31 | * ↵ | | 31 | * ↵
|
32 | * @param newMetaData↵ | | 32 | * @param newMetaData↵
|
33 | * the new metadata↵ | | 33 | * the new metadata↵
|
34 | */↵ | | 34 | */↵
|
35 | public void setMetaData(String newMetaData) {↵ | | 35 | public void setMetaData(String newMetaData) {↵
|
36 | setProperty(new StringProperty(METADATA, newMetaData));↵ | | 36 | setProperty(new StringProperty(METADATA, newMetaData));↵
|
37 | }↵ | | 37 | }↵
|
|
38 | /**↵ | | 38 | /**↵
|
39 | * Gets the Meta Data attribute of the Argument.↵ | | 39 | * Gets the Meta Data attribute of the Argument.↵
|
40 | * ↵ | | 40 | * ↵
|
41 | * @return the MetaData value↵ | | 41 | * @return the MetaData value↵
|
42 | */↵ | | 42 | */↵
|
43 | public String getMetaData() {↵ | | 43 | public String getMetaData() {↵
|
44 | return getPropertyAsString(METADATA);↵ | | 44 | return getPropertyAsString(METADATA);↵
|
45 | | | 45 |
|