Statistiques
| Révision :

root / src / gZFS / zraid.java @ 53

Historique | Voir | Annoter | Télécharger (2,28 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.Hashtable;
11

    
12
public class zraid {
13

    
14
        public Hashtable<String,zProperties> zProperties = new Hashtable<String, zProperties>();
15
        zraid(){
16
        
17
                Hashtable<Object,Object> permitValueName = new Hashtable<Object,Object>();
18
                permitValueName.clear();
19
                zProperties zPropertyName = new zProperties();
20
                zPropertyName.setNameProperty("name");
21
                zPropertyName.setLabelProperty("Name");
22
                zPropertyName.setType("noupdateable");
23
                zPropertyName.setValue("");
24
                zPropertyName.setPermitValue(null);
25
                //zPropertyzName.setPropertyOf("volandfs");
26
                zProperties.put("name", zPropertyName);
27
                
28
                Hashtable<Object,Object> permitValuePoolName = new Hashtable<Object,Object>();
29
                permitValuePoolName.clear();
30
                zProperties zPropertyPoolName = new zProperties();
31
                zPropertyPoolName.setNameProperty("poolname");
32
                zPropertyPoolName.setLabelProperty("PoolName");
33
                zPropertyPoolName.setType("noupdateable");
34
                zPropertyPoolName.setValue("");
35
                zPropertyPoolName.setPermitValue(null);
36
                //zPropertyzPoolName.setPropertyOf("volandfs");
37
                zProperties.put("poolname", zPropertyPoolName);
38
                
39
                Hashtable<Object,Object> permitValueRaidID = new Hashtable<Object,Object>();
40
                permitValueRaidID.clear();
41
                zProperties zPropertyRaidID = new zProperties();
42
                zPropertyRaidID.setNameProperty("raidid");
43
                zPropertyRaidID.setLabelProperty("RaidID");
44
                zPropertyRaidID.setType("noupdateable");
45
                zPropertyRaidID.setValue("");
46
                zPropertyRaidID.setPermitValue(null);
47
                //zPropertyzRaidID.setPropertyOf("volandfs");
48
                zProperties.put("raidid", zPropertyRaidID);
49
                
50
                Hashtable<Object,Object> permitValueRaidType = new Hashtable<Object,Object>();
51
                permitValueRaidType.clear();
52
                zProperties zPropertyRaidType = new zProperties();
53
                zPropertyRaidType.setNameProperty("raidtype");
54
                zPropertyRaidType.setLabelProperty("RaidType");
55
                zPropertyRaidType.setType("noupdateable");
56
                zPropertyRaidType.setValue("");
57
                zPropertyRaidType.setPermitValue(null);
58
                //zPropertyzRaidType.setPropertyOf("volandfs");
59
                zProperties.put("raidtype", zPropertyRaidType);
60
                
61
                
62
                
63
        }
64
        
65
        
66
        
67
        
68
        
69
        
70
        
71
}