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