dnet50/modules/dnet-modular-uis/trunk/src/main/java/eu/dnetlib/functionality/modular/ui/lightui/objects/ValueWithLabel.java @ 42659
1 |
package eu.dnetlib.functionality.modular.ui.lightui.objects; |
---|---|
2 |
|
3 |
/**
|
4 |
* The Class ValueWithLabel.
|
5 |
*/
|
6 |
public class ValueWithLabel { |
7 |
|
8 |
/**
|
9 |
* The label.
|
10 |
*/
|
11 |
private String label; |
12 |
|
13 |
/**
|
14 |
* The value.
|
15 |
*/
|
16 |
private String value; |
17 |
|
18 |
/**
|
19 |
* The Constructor.
|
20 |
*/
|
21 |
public ValueWithLabel() { |
22 |
}
|
23 |
|
24 |
/**
|
25 |
* The Constructor.
|
26 |
*
|
27 |
* @param label the label
|
28 |
* @param value the value
|
29 |
*/
|
30 |
public ValueWithLabel(final String label, final String value) { |
31 |
this.label = label; |
32 |
this.value = value; |
33 |
}
|
34 |
|
35 |
/**
|
36 |
* Gets the label.
|
37 |
*
|
38 |
* @return the label
|
39 |
*/
|
40 |
public String getLabel() { |
41 |
return label; |
42 |
}
|
43 |
|
44 |
/**
|
45 |
* Sets the label.
|
46 |
*
|
47 |
* @param label the label
|
48 |
*/
|
49 |
public void setLabel(final String label) { |
50 |
this.label = label; |
51 |
}
|
52 |
|
53 |
/**
|
54 |
* Gets the value.
|
55 |
*
|
56 |
* @return the value
|
57 |
*/
|
58 |
public String getValue() { |
59 |
return value; |
60 |
}
|
61 |
|
62 |
/**
|
63 |
* Sets the value.
|
64 |
*
|
65 |
* @param value the value
|
66 |
*/
|
67 |
public void setValue(final String value) { |
68 |
this.value = value; |
69 |
}
|
70 |
|
71 |
}
|
- « Previous
- 1
- …
- 5
- 6
- 7
- Next »