root / src / gZFS / zraid.java @ 28
Historique | Voir | Annoter | Télécharger (2,02 ko)
1 |
package gZFS; |
---|---|
2 |
|
3 |
import java.util.Hashtable; |
4 |
|
5 |
public class zraid { |
6 |
|
7 |
public Hashtable<String,zProperties> zProperties = new Hashtable<String, zProperties>(); |
8 |
zraid(){ |
9 |
|
10 |
Hashtable<Object,Object> permitValueName = new Hashtable<Object,Object>(); |
11 |
permitValueName.clear(); |
12 |
zProperties zPropertyName = new zProperties();
|
13 |
zPropertyName.setNameProperty("name");
|
14 |
zPropertyName.setLabelProperty("Name");
|
15 |
zPropertyName.setType("noupdateable");
|
16 |
zPropertyName.setValue("");
|
17 |
zPropertyName.setPermitValue(null);
|
18 |
//zPropertyzName.setPropertyOf("volandfs");
|
19 |
zProperties.put("name", zPropertyName);
|
20 |
|
21 |
Hashtable<Object,Object> permitValuePoolName = new Hashtable<Object,Object>(); |
22 |
permitValuePoolName.clear(); |
23 |
zProperties zPropertyPoolName = new zProperties();
|
24 |
zPropertyPoolName.setNameProperty("poolname");
|
25 |
zPropertyPoolName.setLabelProperty("PoolName");
|
26 |
zPropertyPoolName.setType("noupdateable");
|
27 |
zPropertyPoolName.setValue("");
|
28 |
zPropertyPoolName.setPermitValue(null);
|
29 |
//zPropertyzPoolName.setPropertyOf("volandfs");
|
30 |
zProperties.put("poolname", zPropertyPoolName);
|
31 |
|
32 |
Hashtable<Object,Object> permitValueRaidID = new Hashtable<Object,Object>(); |
33 |
permitValueRaidID.clear(); |
34 |
zProperties zPropertyRaidID = new zProperties();
|
35 |
zPropertyRaidID.setNameProperty("raidid");
|
36 |
zPropertyRaidID.setLabelProperty("RaidID");
|
37 |
zPropertyRaidID.setType("noupdateable");
|
38 |
zPropertyRaidID.setValue("");
|
39 |
zPropertyRaidID.setPermitValue(null);
|
40 |
//zPropertyzRaidID.setPropertyOf("volandfs");
|
41 |
zProperties.put("raidid", zPropertyRaidID);
|
42 |
|
43 |
Hashtable<Object,Object> permitValueRaidType = new Hashtable<Object,Object>(); |
44 |
permitValueRaidType.clear(); |
45 |
zProperties zPropertyRaidType = new zProperties();
|
46 |
zPropertyRaidType.setNameProperty("raidtype");
|
47 |
zPropertyRaidType.setLabelProperty("RaidType");
|
48 |
zPropertyRaidType.setType("noupdateable");
|
49 |
zPropertyRaidType.setValue("");
|
50 |
zPropertyRaidType.setPermitValue(null);
|
51 |
//zPropertyzRaidType.setPropertyOf("volandfs");
|
52 |
zProperties.put("raidtype", zPropertyRaidType);
|
53 |
|
54 |
|
55 |
|
56 |
} |
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |
} |