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