root / src / gZFS / zdisk.java @ 28
Historique | Voir | Annoter | Télécharger (9,2 ko)
1 |
package gZFS; |
---|---|
2 |
|
3 |
import java.util.Hashtable; |
4 |
|
5 |
public class zdisk { |
6 |
|
7 |
public Hashtable<String,zProperties> zProperties = new Hashtable<String, zProperties>(); |
8 |
//private zProperties zProperty = new zProperties();
|
9 |
zdisk(){ |
10 |
|
11 |
Hashtable<Object,Object> permitValuezName = new Hashtable<Object,Object>(); |
12 |
permitValuezName.clear(); |
13 |
zProperties zPropertyPoolname = new zProperties();
|
14 |
zPropertyPoolname.setNameProperty("poolname");
|
15 |
zPropertyPoolname.setLabelProperty("Poolname");
|
16 |
zPropertyPoolname.setType("noupdateable");
|
17 |
zPropertyPoolname.setValue("");
|
18 |
zPropertyPoolname.setPermitValue(null);
|
19 |
//zPropertyPoolname.setPropertyOf("volandfs");
|
20 |
zProperties.put("poolname", zPropertyPoolname);
|
21 |
|
22 |
Hashtable<Object,Object> permitValueDevid = new Hashtable<Object,Object>(); |
23 |
permitValueDevid.clear(); |
24 |
zProperties zPropertyDevid = new zProperties();
|
25 |
zPropertyDevid.setNameProperty("devid");
|
26 |
zPropertyDevid.setLabelProperty("Devid");
|
27 |
zPropertyDevid.setType("noupdateable");
|
28 |
zPropertyDevid.setValue("");
|
29 |
zPropertyDevid.setPermitValue(null);
|
30 |
//zPropertyDevid.setPropertyOf("volandfs");
|
31 |
zProperties.put("devid", zPropertyDevid);
|
32 |
|
33 |
Hashtable<Object,Object> permitValuePath = new Hashtable<Object,Object>(); |
34 |
permitValuePath.clear(); |
35 |
zProperties zPropertyPath = new zProperties();
|
36 |
zPropertyPath.setNameProperty("path");
|
37 |
zPropertyPath.setLabelProperty("Path");
|
38 |
zPropertyPath.setType("noupdateable");
|
39 |
zPropertyPath.setValue("");
|
40 |
zPropertyPath.setPermitValue(null);
|
41 |
zProperties.put("path", zPropertyPath);
|
42 |
|
43 |
Hashtable<Object,Object> permitValueVendor = new Hashtable<Object,Object>(); |
44 |
permitValueVendor.clear(); |
45 |
zProperties zPropertyVendor = new zProperties();
|
46 |
zPropertyVendor.setNameProperty("vendor");
|
47 |
zPropertyVendor.setLabelProperty("Vendor");
|
48 |
zPropertyVendor.setType("noupdateable");
|
49 |
zPropertyVendor.setValue("");
|
50 |
zPropertyVendor.setPermitValue(null);
|
51 |
//zPropertyVendor.setPropertyOf("volandfs");
|
52 |
zProperties.put("vendor", zPropertyVendor);
|
53 |
|
54 |
Hashtable<Object,Object> permitValueProduct = new Hashtable<Object,Object>(); |
55 |
permitValueProduct.clear(); |
56 |
zProperties zPropertyProduct = new zProperties();
|
57 |
zPropertyProduct.setNameProperty("product");
|
58 |
zPropertyProduct.setLabelProperty("Product");
|
59 |
zPropertyProduct.setType("noupdateable");
|
60 |
zPropertyProduct.setValue("");
|
61 |
zPropertyProduct.setPermitValue(null);
|
62 |
//zPropertyProduct.setPropertyOf("volandfs");
|
63 |
zProperties.put("product", zPropertyProduct);
|
64 |
|
65 |
Hashtable<Object,Object> permitValueRevision = new Hashtable<Object,Object>(); |
66 |
permitValueRevision.clear(); |
67 |
zProperties zPropertyRevision = new zProperties();
|
68 |
zPropertyRevision.setNameProperty("revision");
|
69 |
zPropertyRevision.setLabelProperty("Revision");
|
70 |
zPropertyRevision.setType("noupdateable");
|
71 |
zPropertyRevision.setValue("");
|
72 |
zPropertyRevision.setPermitValue(null);
|
73 |
//zPropertyRevision.setPropertyOf("volandfs");
|
74 |
zProperties.put("revision", zPropertyRevision);
|
75 |
|
76 |
Hashtable<Object,Object> permitValueUserCapacity = new Hashtable<Object,Object>(); |
77 |
permitValueUserCapacity.clear(); |
78 |
zProperties zPropertyUserCapacity = new zProperties();
|
79 |
zPropertyUserCapacity.setNameProperty("usercapacity");
|
80 |
zPropertyUserCapacity.setLabelProperty("UserCapacity");
|
81 |
zPropertyUserCapacity.setType("noupdateable");
|
82 |
zPropertyUserCapacity.setValue("");
|
83 |
zPropertyUserCapacity.setPermitValue(null);
|
84 |
//zPropertyUserCapacity.setPropertyOf("volandfs");
|
85 |
zProperties.put("usercapacity", zPropertyUserCapacity);
|
86 |
|
87 |
Hashtable<Object,Object> permitValueLogicalblocksize = new Hashtable<Object,Object>(); |
88 |
permitValueLogicalblocksize.clear(); |
89 |
zProperties zPropertyLogicalblocksize = new zProperties();
|
90 |
zPropertyLogicalblocksize.setNameProperty("logicalblocksize");
|
91 |
zPropertyLogicalblocksize.setLabelProperty("Logicalblocksize");
|
92 |
zPropertyLogicalblocksize.setType("noupdateable");
|
93 |
zPropertyLogicalblocksize.setValue("");
|
94 |
zPropertyLogicalblocksize.setPermitValue(null);
|
95 |
//zPropertyLogicalblocksize.setPropertyOf("volandfs");
|
96 |
zProperties.put("logicalblocksize", zPropertyLogicalblocksize);
|
97 |
|
98 |
Hashtable<Object,Object> permitValueLogicalUnitid = new Hashtable<Object,Object>(); |
99 |
permitValueLogicalUnitid.clear(); |
100 |
zProperties zPropertyLogicalUnitid = new zProperties();
|
101 |
zPropertyLogicalUnitid.setNameProperty("logicalunitid");
|
102 |
zPropertyLogicalUnitid.setLabelProperty("LogicalUnitid");
|
103 |
zPropertyLogicalUnitid.setType("noupdateable");
|
104 |
zPropertyLogicalUnitid.setValue("");
|
105 |
zPropertyLogicalUnitid.setPermitValue(null);
|
106 |
//zPropertyLogicalUnitid.setPropertyOf("volandfs");
|
107 |
zProperties.put("logicalunitid", zPropertyLogicalUnitid);
|
108 |
|
109 |
Hashtable<Object,Object> permitValueSerialnumber = new Hashtable<Object,Object>(); |
110 |
permitValueSerialnumber.clear(); |
111 |
zProperties zPropertySerialnumber = new zProperties();
|
112 |
zPropertySerialnumber.setNameProperty("serialnumber");
|
113 |
zPropertySerialnumber.setLabelProperty("Serialnumber");
|
114 |
zPropertySerialnumber.setType("noupdateable");
|
115 |
zPropertySerialnumber.setValue("");
|
116 |
zPropertySerialnumber.setPermitValue(null);
|
117 |
//zPropertySerialnumber.setPropertyOf("volandfs");
|
118 |
zProperties.put("serialnumber", zPropertySerialnumber);
|
119 |
|
120 |
Hashtable<Object,Object> permitValueDevicetype = new Hashtable<Object,Object>(); |
121 |
permitValueDevicetype.clear(); |
122 |
zProperties zPropertyDevicetype = new zProperties();
|
123 |
zPropertyDevicetype.setNameProperty("devicetype");
|
124 |
zPropertyDevicetype.setLabelProperty("Devicetype");
|
125 |
zPropertyDevicetype.setType("noupdateable");
|
126 |
zPropertyDevicetype.setValue("");
|
127 |
zPropertyDevicetype.setPermitValue(null);
|
128 |
//zPropertyDevicetype.setPropertyOf("volandfs");
|
129 |
zProperties.put("devicetype", zPropertyDevicetype);
|
130 |
|
131 |
Hashtable<Object,Object> permitValueTransportprotocol = new Hashtable<Object,Object>(); |
132 |
permitValueTransportprotocol.clear(); |
133 |
zProperties zPropertyTransportprotocol = new zProperties();
|
134 |
zPropertyTransportprotocol.setNameProperty("transportprotocol");
|
135 |
zPropertyTransportprotocol.setLabelProperty("Transportprotocol");
|
136 |
zPropertyTransportprotocol.setType("noupdateable");
|
137 |
zPropertyTransportprotocol.setValue("");
|
138 |
zPropertyTransportprotocol.setPermitValue(null);
|
139 |
//zPropertyTransportprotocol.setPropertyOf("volandfs");
|
140 |
zProperties.put("transportprotocol", zPropertyTransportprotocol);
|
141 |
|
142 |
Hashtable<Object,Object> permitValueSMARTHealthStatus = new Hashtable<Object,Object>(); |
143 |
permitValueSMARTHealthStatus.clear(); |
144 |
zProperties zPropertySMARTHealthStatus = new zProperties();
|
145 |
zPropertySMARTHealthStatus.setNameProperty("smarthealthstatus");
|
146 |
zPropertySMARTHealthStatus.setLabelProperty("SMARTHealthStatus");
|
147 |
zPropertySMARTHealthStatus.setType("noupdateable");
|
148 |
zPropertySMARTHealthStatus.setValue("");
|
149 |
zPropertySMARTHealthStatus.setPermitValue(null);
|
150 |
//zPropertySMARTHealthStatus.setPropertyOf("volandfs");
|
151 |
zProperties.put("smarthealthstatus", zPropertySMARTHealthStatus);
|
152 |
|
153 |
Hashtable<Object,Object> permitValueErrorRead = new Hashtable<Object,Object>(); |
154 |
permitValueErrorRead.clear(); |
155 |
zProperties zPropertyErrorRead = new zProperties();
|
156 |
zPropertyErrorRead.setNameProperty("errorread");
|
157 |
zPropertyErrorRead.setLabelProperty("ErrorRead");
|
158 |
zPropertyErrorRead.setType("noupdateable");
|
159 |
zPropertyErrorRead.setValue("");
|
160 |
zPropertyErrorRead.setPermitValue(null);
|
161 |
//zPropertyErrorRead.setPropertyOf("volandfs");
|
162 |
zProperties.put("errorread", zPropertyErrorRead);
|
163 |
|
164 |
Hashtable<Object,Object> permitValueErrorWrite = new Hashtable<Object,Object>(); |
165 |
permitValueErrorWrite.clear(); |
166 |
zProperties zPropertyErrorWrite = new zProperties();
|
167 |
zPropertyErrorWrite.setNameProperty("errorwrite");
|
168 |
zPropertyErrorWrite.setLabelProperty("ErrorWrite");
|
169 |
zPropertyErrorWrite.setType("noupdateable");
|
170 |
zPropertyErrorWrite.setValue("");
|
171 |
zPropertyErrorWrite.setPermitValue(null);
|
172 |
//zPropertyErrorWrite.setPropertyOf("volandfs");
|
173 |
zProperties.put("errorwrite", zPropertyErrorWrite);
|
174 |
|
175 |
Hashtable<Object,Object> permitValueErrorChecksum = new Hashtable<Object,Object>(); |
176 |
permitValueErrorChecksum.clear(); |
177 |
zProperties zPropertyErrorChecksum = new zProperties();
|
178 |
zPropertyErrorChecksum.setNameProperty("errorchecksum");
|
179 |
zPropertyErrorChecksum.setLabelProperty("ErrorChecksum");
|
180 |
zPropertyErrorChecksum.setType("noupdateable");
|
181 |
zPropertyErrorChecksum.setValue("");
|
182 |
zPropertyErrorChecksum.setPermitValue(null);
|
183 |
//zPropertyErrorChecksum.setPropertyOf("volandfs");
|
184 |
zProperties.put("errorchecksum", zPropertyErrorChecksum);
|
185 |
|
186 |
Hashtable<Object,Object> permitValueRaidID = new Hashtable<Object,Object>(); |
187 |
permitValueRaidID.clear(); |
188 |
zProperties zPropertyRaidID = new zProperties();
|
189 |
zPropertyRaidID.setNameProperty("raidid");
|
190 |
zPropertyRaidID.setLabelProperty("RaidID");
|
191 |
zPropertyRaidID.setType("noupdateable");
|
192 |
zPropertyRaidID.setValue("");
|
193 |
zPropertyRaidID.setPermitValue(null);
|
194 |
//zPropertyzRaidID.setPropertyOf("volandfs");
|
195 |
zProperties.put("raidid", zPropertyRaidID);
|
196 |
|
197 |
Hashtable<Object,Object> permitValueRaidType = new Hashtable<Object,Object>(); |
198 |
permitValueRaidType.clear(); |
199 |
zProperties zPropertyRaidType = new zProperties();
|
200 |
zPropertyRaidType.setNameProperty("raidtype");
|
201 |
zPropertyRaidType.setLabelProperty("RaidType");
|
202 |
zPropertyRaidType.setType("noupdateable");
|
203 |
zPropertyRaidType.setValue("");
|
204 |
zPropertyRaidType.setPermitValue(null);
|
205 |
//zPropertyzRaidType.setPropertyOf("volandfs");
|
206 |
zProperties.put("raidtype", zPropertyRaidType);
|
207 |
} |
208 |
} |