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