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 |
|