Statistiques
| Révision :

root / src / gZFS / zProperties.java @ 53

Historique | Voir | Annoter | Télécharger (2,43 ko)

1
/*******************************************************************
2
 * 
3
 * Copyright (C) 2013 Kevin Reverchon
4
 * This file/program is part of gZFS free software
5
 * See COPYING file for details
6
 * 
7
 *******************************************************************/
8
package gZFS;
9

    
10
import java.util.ArrayList;
11
import java.util.Hashtable;
12
import java.util.List;
13

    
14
import org.apache.log4j.Logger;
15

    
16
public class zProperties {
17
        private Logger log = Logger.getLogger(getClass().getPackage().getName()+" "+getClass().getCanonicalName());
18
        private String value;
19
        private List<Object> multivalues;
20
        private String type;
21
        private String nameProperty;
22
        private String labelProperty;
23
        private String propertyOf;
24
        private Hashtable<Object, Object> permitValue = new Hashtable<Object, Object>();
25
        Hashtable<String,Object> property = new Hashtable<String, Object>();
26
        /**
27
         * @return the value
28
         */
29
        public String getValue() {
30
                return value;
31
        }
32
        /**
33
         * @param value the value to set
34
         */
35
        public void setValue(String value) {
36
                this.value = value;
37
        }
38
        /**
39
         * @return the type
40
         */
41
        public String getType() {
42
                return type;
43
        }
44
        /**
45
         * @param type the type to set
46
         */
47
        public void setType(String type) {
48
                this.type = type;
49
        }
50
        /**
51
         * @return the nameProperty
52
         */
53
        public String getNameProperty() {
54
                return nameProperty;
55
        }
56
        /**
57
         * @param nameProperty the nameProperty to set
58
         */
59
        public void setNameProperty(String nameProperty) {
60
                this.nameProperty = nameProperty;
61
        }
62
        /**
63
         * @return the permitValue
64
         */
65
        public Hashtable<Object, Object> getPermitValue() {
66
                return permitValue;
67
        }
68
        /**
69
         * @param permitValue the permitValue to set
70
         */
71
        public void setPermitValue(Hashtable<Object, Object> permitValue) {
72
                this.permitValue = permitValue;
73
        }
74
        /**
75
         * @return the labelProperty
76
         */
77
        public String getLabelProperty() {
78
                return labelProperty;
79
        }
80
        /**
81
         * @param labelProperty the labelProperty to set
82
         */
83
        public void setLabelProperty(String labelProperty) {
84
                this.labelProperty = labelProperty;
85
        }
86
        /**
87
         * @return the multivalues
88
         */
89
        public List<Object> getMultivalues() {
90
                return multivalues;
91
        }
92
        /**
93
         * @param multivalues the multivalues to set
94
         */
95
        public void setMultivalues(List<Object> multivalues) {
96
                this.multivalues = multivalues;
97
        }
98
        /**
99
         * @return the propertyOf
100
         */
101
        public String getPropertyOf() {
102
                return propertyOf;
103
        }
104
        /**
105
         * @param propertyOf the propertyOf to set
106
         */
107
        public void setPropertyOf(String propertyOf) {
108
                this.propertyOf = propertyOf;
109
        }
110
        
111
        
112
}