1 | public static final class Option {↵ | | 1 | public static class DnameParam {↵
|
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 | * G↵ | | |
|
10 | et the name attribute.↵ | | 5 | * Set the name attribute.↵
|
11 | * @return the name attribute.↵ | | 6 | * @param name a <code>String</code> value↵
|
12 | */↵ | | 7 | */↵
|
13 | public String getName() {↵ | | 8 | public void setName(String name) {↵
|
14 | return name;↵ | | 9 | this.name = name;↵
|
15 | }↵ | | 10 | }↵
|
|
16 | /**↵ | | 11 | /**↵
|
17 | * Set the name attribute.↵ | | 12 | * Get the name attribute.↵
|
18 | * @param name the name of the option.↵ | | 13 | * @return the name.↵
|
19 | */↵ | | 14 | */↵
|
20 | public void setName(String name) {↵ | | 15 | public String getName() {↵
|
21 | this.name = name;↵ | | 16 | return name;↵
|
22 | }↵ | | 17 | }↵
|
|
23 | /**↵ | | 18 | /**↵
|
24 | * Get the value attribute.↵ | | 19 | * Set the value attribute.↵
|
25 | * @return the value attribute.↵ | | 20 | * @param value a <code>String</code> value↵
|
26 | */↵ | | 21 | */↵
|
27 | public String getValue() {↵ | | 22 | public void setValue(String value) {↵
|
28 | return value;↵ | | 23 | this.value = value;↵
|
29 | }↵ | | 24 | }↵
|
|
30 | /**↵ | | 25 | /**↵
|
31 | * Set the value attribute.↵ | | 26 | * Get the value attribute.↵
|
32 | * @param value the value of the option.↵ | | 27 | * @return the value.↵
|
33 | */↵ | | 28 | */↵
|
34 | public void setValue(String value) {↵ | | 29 | public String getValue() {↵
|
35 | this.value = value;↵ | | 30 | return value;↵
|
36 | | | 31 |
|