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