1 | void setName(String newName) {↵ | | 1 | void setParamName(String newParamName) {↵
|
2 | setProperty(new StringProperty(ARG_NAME, newName));↵ | | 2 | setProperty(new StringProperty(PARAMNAME, newParamName));↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Get the name of the Argument.↵ | | 5 | * Get the http parameter name of the File.↵
|
6 | * ↵ | | 6 | *↵
|
7 | * @return the attribute's name↵ | | 7 | * @return the http parameter name↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getName() {↵ | | 9 | public String getParamName() {↵
|
10 | return getPropertyAsString(ARG_NAME);↵ | | 10 | return getPropertyAsString(PARAMNAME);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * Sets the value of the Argument.↵ | | 13 | * Set the mimetype of the File.↵
|
14 | * ↵ | | 14 | *↵
|
15 | * @param newValue↵ | | 15 | * @param new↵
|
16 | * ↵ | | 16 | MimeType↵
|
17 | the new value↵ | | 17 | * the new mimetype↵
|
18 | */↵ | | 18 | */↵
|
19 | public void setValue(String newValue) {↵ | | 19 | public void setMimeType(String newMimeType) {↵
|
20 | setProperty(new StringProperty(VALUE, newValue));↵ | | 20 | setProperty(new StringProperty(MIMETYPE, newMimeType));↵
|
21 | }↵ | | 21 | }↵
|
|
22 | /**↵ | | 22 | /**↵
|
23 | * Gets the value of the Argument object.↵ | | 23 | * Get the mimetype of the File.↵
|
24 | * ↵ | | 24 | *↵
|
25 | * @return the attribute's value↵ | | 25 | * @return the http parameter mimetype↵
|
26 | */↵ | | 26 | */↵
|
27 | public String getValue() {↵ | | 27 | public String getMimeType() {↵
|
28 | return getPropertyAsString(VALUE);↵ | | 28 | return getPropertyAsString(MIMETYPE);↵
|
29 | }↵ | | 29 | }↵
|
|
30 | /**↵ | | 30 | /**↵
|
31 | * Sets the opcode of the Argument.↵ | | 31 | * Set the path of the File.↵
|
32 | * ↵ | | 32 | *↵
|
33 | * @param newOpcode↵ | | 33 | * @param new↵
|
34 | * ↵ | | 34 | Path↵
|
35 | the new value↵ | | 35 | * the new path↵
|
36 | */↵ | | 36 | */↵
|
37 | public void setOpcode(String newOpcode) {↵ | | 37 | public void setPath(String newPath) {↵
|
38 | setProperty(new StringProperty(OPCODE, newOpcode));↵ | | 38 | setProperty(new StringProperty(FILEPATH, newPath));↵
|
39 | }↵ | | 39 | }↵
|
|
40 | /**↵ | | 40 | /**↵
|
41 | * Gets the opcode of the Argument object.↵ | | 41 | * Get the path of the File.↵
|
42 | * ↵ | | 42 | *↵
|
43 | * @return the attribute's value↵ | | 43 | * @return the file's path↵
|
44 | */↵ | | 44 | */↵
|
45 | public String getOpcode() {↵ | | 45 | public String getPath() {↵
|
46 | return getPropertyAsString(OPCODE);↵ | | 46 | return getPropertyAsString(FILEPATH);↵
|
47 | | | 47 |
|