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