1 | void setOpcode(String newOpcode) {↵ | | 1 | void setParamName(String newParamName) {↵
|
2 | setProperty(new StringProperty(OPCODE, newOpcode));↵ | | 2 | setProperty(new StringProperty(PARAMNAME, newParamName));↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Gets the opcode of the Argument object.↵ | | 5 | * Get the http parameter name of the File.↵
|
6 | * ↵ | | 6 | *↵
|
7 | * @return the attribute's value↵ | | 7 | * @return the http parameter name↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getOpcode() {↵ | | 9 | public String getParamName() {↵
|
10 | return getPropertyAsString(OPCODE);↵ | | 10 | return getPropertyAsString(PARAMNAME);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * Sets the Meta Data attribute of the Argument.↵ | | 13 | * Set the mimetype of the File.↵
|
14 | * ↵ | | 14 | *↵
|
15 | * @param newMetaData↵ | | 15 | * @param newM↵
|
16 | * ↵ | | 16 | imeType↵
|
17 | the new metadata↵ | | 17 | * the new mimetype↵
|
18 | */↵ | | 18 | */↵
|
19 | public void setMetaData(String newMetaData) {↵ | | 19 | public void setMimeType(String newMimeType) {↵
|
20 | setProperty(new StringProperty(METADATA, newMetaData));↵ | | 20 | setProperty(new StringProperty(MIMETYPE, newMimeType));↵
|
21 | }↵ | | 21 | }↵
|
|
22 | /**↵ | | 22 | /**↵
|
23 | * Gets the Meta Data attribute of the Argument.↵ | | 23 | * Get the mimetype of the File.↵
|
24 | * ↵ | | 24 | *↵
|
25 | * @return the MetaData value↵ | | 25 | * @return the http parameter mimetype↵
|
26 | */↵ | | 26 | */↵
|
27 | public String getMetaData() {↵ | | 27 | public String getMimeType() {↵
|
28 | return getPropertyAsString(METADATA);↵ | | 28 | return getPropertyAsString(MIMETYPE);↵
|
29 | } | | 29 | }
|