1 | public static final class Option {↵ | | 1 | public static final class Property {↵
|
|
2 | private String name;↵ | | 2 | private String name;↵
|
3 | private String value;↵ | | 3 | private String value;↵
|
|
4 | /** Constructor for Option */↵ | | 4 | /**↵
|
5 | public Option() {↵ | | |
|
6 | //default↵ | | |
|
7 | }↵ | | |
|
|
8 | /**↵ | | |
|
9 | * Get the name attribute.↵ | | |
|
| | | 5 | * accessor to the name of the property↵
|
10 | * @return the name attribute.↵ | | 6 | * @return name of the property↵
|
11 | */↵ | | 7 | */↵
|
12 | public String getName() {↵ | | 8 | public String getName() {↵
|
13 | return name;↵ | | 9 | return name;↵
|
14 | }↵ | | 10 | }↵
|
|
15 | /**↵ | | 11 | /**↵
|
16 | * Set the name attribute.↵ | | 12 | * setter for the name of the property↵
|
17 | * @param name the name of the option.↵ | | 13 | * @param name name of the property↵
|
18 | */↵ | | 14 | */↵
|
19 | public void setName(String name) {↵ | | 15 | public void setName(String name) {↵
|
20 | this.name = name;↵ | | 16 | this.name = name;↵
|
21 | }↵ | | 17 | }↵
|
|
22 | /**↵ | | 18 | /**↵
|
23 | * Get the value attribute.↵ | | 19 | * getter for the value of the property↵
|
24 | * @return the value attribute.↵ | | 20 | * @return value of the property↵
|
25 | */↵ | | 21 | */↵
|
26 | public String getValue() {↵ | | 22 | public String getValue() {↵
|
27 | return value;↵ | | 23 | return value;↵
|
28 | }↵ | | 24 | }↵
|
|
29 | /**↵ | | 25 | /**↵
|
30 | * Set the value attribute.↵ | | 26 | * sets the value of the property↵
|
31 | * @param value the value of the option.↵ | | 27 | * @param value value of the property↵
|
32 | */↵ | | 28 | */↵
|
33 | public void setValue(String value) {↵ | | 29 | public void setValue(String value) {↵
|
34 | this.value = value;↵ | | 30 | this.value = value;↵
|
35 | | | 31 |
|