1 | void setValue(String newValue) {↵ | | 1 | void setMimeType(String newMimeType) {↵
|
2 | setProperty(new StringProperty(VALUE, newValue));↵ | | 2 | setProperty(new StringProperty(MIMETYPE, newMimeType));↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Gets the value of the Argument object.↵ | | 5 | * Get the mimetype of the File.↵
|
6 | * ↵ | | 6 | *↵
|
7 | * @return the attribute's value↵ | | 7 | * @return the http parameter mimetype↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getValue() {↵ | | 9 | public String getMimeType() {↵
|
10 | return getPropertyAsString(VALUE);↵ | | 10 | return getPropertyAsString(MIMETYPE);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * Sets the Meta Data attribute of the Argument.↵ | | 13 | * Set the path of the File.↵
|
14 | * ↵ | | 14 | *↵
|
15 | * @param newMetaData↵ | | 15 | * @param newPath↵
|
16 | * the new metadata↵ | | 16 | * the new path↵
|
17 | */↵ | | 17 | */↵
|
18 | public void setMetaData(String newMetaData) {↵ | | 18 | public void setPath(String newPath) {↵
|
19 | setProperty(new StringProperty(METADATA, newMetaData));↵ | | 19 | setProperty(new StringProperty(FILEPATH, newPath));↵
|
20 | } | | 20 | }
|