root / src / gZFS / zProperties.java @ 24
Historique | Voir | Annoter | Télécharger (2,17 ko)
1 |
package gZFS; |
---|---|
2 |
|
3 |
import java.util.ArrayList; |
4 |
import java.util.Hashtable; |
5 |
import java.util.List; |
6 |
|
7 |
import org.apache.log4j.Logger; |
8 |
|
9 |
public class zProperties { |
10 |
private Logger log = Logger.getLogger(getClass().getPackage().getName()+" "+getClass().getCanonicalName()); |
11 |
private String value; |
12 |
private List<Object> multivalues; |
13 |
private String type; |
14 |
private String nameProperty; |
15 |
private String labelProperty; |
16 |
private String propertyOf; |
17 |
private Hashtable<Object, Object> permitValue = new Hashtable<Object, Object>(); |
18 |
Hashtable<String,Object> property = new Hashtable<String, Object>(); |
19 |
/**
|
20 |
* @return the value
|
21 |
*/
|
22 |
public String getValue() { |
23 |
return value;
|
24 |
} |
25 |
/**
|
26 |
* @param value the value to set
|
27 |
*/
|
28 |
public void setValue(String value) { |
29 |
this.value = value;
|
30 |
} |
31 |
/**
|
32 |
* @return the type
|
33 |
*/
|
34 |
public String getType() { |
35 |
return type;
|
36 |
} |
37 |
/**
|
38 |
* @param type the type to set
|
39 |
*/
|
40 |
public void setType(String type) { |
41 |
this.type = type;
|
42 |
} |
43 |
/**
|
44 |
* @return the nameProperty
|
45 |
*/
|
46 |
public String getNameProperty() { |
47 |
return nameProperty;
|
48 |
} |
49 |
/**
|
50 |
* @param nameProperty the nameProperty to set
|
51 |
*/
|
52 |
public void setNameProperty(String nameProperty) { |
53 |
this.nameProperty = nameProperty;
|
54 |
} |
55 |
/**
|
56 |
* @return the permitValue
|
57 |
*/
|
58 |
public Hashtable<Object, Object> getPermitValue() { |
59 |
return permitValue;
|
60 |
} |
61 |
/**
|
62 |
* @param permitValue the permitValue to set
|
63 |
*/
|
64 |
public void setPermitValue(Hashtable<Object, Object> permitValue) { |
65 |
this.permitValue = permitValue;
|
66 |
} |
67 |
/**
|
68 |
* @return the labelProperty
|
69 |
*/
|
70 |
public String getLabelProperty() { |
71 |
return labelProperty;
|
72 |
} |
73 |
/**
|
74 |
* @param labelProperty the labelProperty to set
|
75 |
*/
|
76 |
public void setLabelProperty(String labelProperty) { |
77 |
this.labelProperty = labelProperty;
|
78 |
} |
79 |
/**
|
80 |
* @return the multivalues
|
81 |
*/
|
82 |
public List<Object> getMultivalues() { |
83 |
return multivalues;
|
84 |
} |
85 |
/**
|
86 |
* @param multivalues the multivalues to set
|
87 |
*/
|
88 |
public void setMultivalues(List<Object> multivalues) { |
89 |
this.multivalues = multivalues;
|
90 |
} |
91 |
/**
|
92 |
* @return the propertyOf
|
93 |
*/
|
94 |
public String getPropertyOf() { |
95 |
return propertyOf;
|
96 |
} |
97 |
/**
|
98 |
* @param propertyOf the propertyOf to set
|
99 |
*/
|
100 |
public void setPropertyOf(String propertyOf) { |
101 |
this.propertyOf = propertyOf;
|
102 |
} |
103 |
|
104 |
|
105 |
} |