/*******************************************************************
 * 
 * Copyright (C) 2013 Kevin Reverchon
 * This file/program is part of gZFS free software
 * See COPYING file for details
 * 
 *******************************************************************/
package gZFS;

import java.util.Hashtable;

public class zdisk {

	public Hashtable<String,zProperties> zProperties = new Hashtable<String, zProperties>();
	//private zProperties zProperty = new zProperties();
	zdisk(){

		Hashtable<Object,Object> permitValuezName = new Hashtable<Object,Object>();
		permitValuezName.clear();
		zProperties zPropertyPoolname = new zProperties();
		zPropertyPoolname.setNameProperty("poolname");
		zPropertyPoolname.setLabelProperty("Poolname");
		zPropertyPoolname.setType("noupdateable");
		zPropertyPoolname.setValue("");
		zPropertyPoolname.setPermitValue(null);
		//zPropertyPoolname.setPropertyOf("volandfs");
		zProperties.put("poolname", zPropertyPoolname);
		
		Hashtable<Object,Object> permitValueDevid = new Hashtable<Object,Object>();
		permitValueDevid.clear();
		zProperties zPropertyDevid = new zProperties();
		zPropertyDevid.setNameProperty("devid");
		zPropertyDevid.setLabelProperty("Devid");
		zPropertyDevid.setType("noupdateable");
		zPropertyDevid.setValue("");
		zPropertyDevid.setPermitValue(null);
		//zPropertyDevid.setPropertyOf("volandfs");
		zProperties.put("devid", zPropertyDevid);
		
		Hashtable<Object,Object> permitValuePath = new Hashtable<Object,Object>();
		permitValuePath.clear();
		zProperties zPropertyPath = new zProperties();
		zPropertyPath.setNameProperty("path");
		zPropertyPath.setLabelProperty("Path");
		zPropertyPath.setType("noupdateable");
		zPropertyPath.setValue("");
		zPropertyPath.setPermitValue(null);
		zProperties.put("path", zPropertyPath);
		
		Hashtable<Object,Object> permitValueVendor = new Hashtable<Object,Object>();
		permitValueVendor.clear();
		zProperties zPropertyVendor = new zProperties();
		zPropertyVendor.setNameProperty("vendor");
		zPropertyVendor.setLabelProperty("Vendor");
		zPropertyVendor.setType("noupdateable");
		zPropertyVendor.setValue("");
		zPropertyVendor.setPermitValue(null);
		//zPropertyVendor.setPropertyOf("volandfs");
		zProperties.put("vendor", zPropertyVendor);
		
		Hashtable<Object,Object> permitValueProduct = new Hashtable<Object,Object>();
		permitValueProduct.clear();
		zProperties zPropertyProduct = new zProperties();
		zPropertyProduct.setNameProperty("product");
		zPropertyProduct.setLabelProperty("Product");
		zPropertyProduct.setType("noupdateable");
		zPropertyProduct.setValue("");
		zPropertyProduct.setPermitValue(null);
		//zPropertyProduct.setPropertyOf("volandfs");
		zProperties.put("product", zPropertyProduct);
		
		Hashtable<Object,Object> permitValueRevision = new Hashtable<Object,Object>();
		permitValueRevision.clear();
		zProperties zPropertyRevision = new zProperties();
		zPropertyRevision.setNameProperty("revision");
		zPropertyRevision.setLabelProperty("Revision");
		zPropertyRevision.setType("noupdateable");
		zPropertyRevision.setValue("");
		zPropertyRevision.setPermitValue(null);
		//zPropertyRevision.setPropertyOf("volandfs");
		zProperties.put("revision", zPropertyRevision);
		
		Hashtable<Object,Object> permitValueUserCapacity = new Hashtable<Object,Object>();
		permitValueUserCapacity.clear();
		zProperties zPropertyUserCapacity = new zProperties();
		zPropertyUserCapacity.setNameProperty("usercapacity");
		zPropertyUserCapacity.setLabelProperty("UserCapacity");
		zPropertyUserCapacity.setType("noupdateable");
		zPropertyUserCapacity.setValue("");
		zPropertyUserCapacity.setPermitValue(null);
		//zPropertyUserCapacity.setPropertyOf("volandfs");
		zProperties.put("usercapacity", zPropertyUserCapacity);
		
		Hashtable<Object,Object> permitValueLogicalblocksize = new Hashtable<Object,Object>();
		permitValueLogicalblocksize.clear();
		zProperties zPropertyLogicalblocksize = new zProperties();
		zPropertyLogicalblocksize.setNameProperty("logicalblocksize");
		zPropertyLogicalblocksize.setLabelProperty("Logicalblocksize");
		zPropertyLogicalblocksize.setType("noupdateable");
		zPropertyLogicalblocksize.setValue("");
		zPropertyLogicalblocksize.setPermitValue(null);
		//zPropertyLogicalblocksize.setPropertyOf("volandfs");
		zProperties.put("logicalblocksize", zPropertyLogicalblocksize);
		
		Hashtable<Object,Object> permitValueLogicalUnitid = new Hashtable<Object,Object>();
		permitValueLogicalUnitid.clear();
		zProperties zPropertyLogicalUnitid = new zProperties();
		zPropertyLogicalUnitid.setNameProperty("logicalunitid");
		zPropertyLogicalUnitid.setLabelProperty("LogicalUnitid");
		zPropertyLogicalUnitid.setType("noupdateable");
		zPropertyLogicalUnitid.setValue("");
		zPropertyLogicalUnitid.setPermitValue(null);
		//zPropertyLogicalUnitid.setPropertyOf("volandfs");
		zProperties.put("logicalunitid", zPropertyLogicalUnitid);
		
		Hashtable<Object,Object> permitValueSerialnumber = new Hashtable<Object,Object>();
		permitValueSerialnumber.clear();
		zProperties zPropertySerialnumber = new zProperties();
		zPropertySerialnumber.setNameProperty("serialnumber");
		zPropertySerialnumber.setLabelProperty("Serialnumber");
		zPropertySerialnumber.setType("noupdateable");
		zPropertySerialnumber.setValue("");
		zPropertySerialnumber.setPermitValue(null);
		//zPropertySerialnumber.setPropertyOf("volandfs");
		zProperties.put("serialnumber", zPropertySerialnumber);
		
		Hashtable<Object,Object> permitValueDevicetype = new Hashtable<Object,Object>();
		permitValueDevicetype.clear();
		zProperties zPropertyDevicetype = new zProperties();
		zPropertyDevicetype.setNameProperty("devicetype");
		zPropertyDevicetype.setLabelProperty("Devicetype");
		zPropertyDevicetype.setType("noupdateable");
		zPropertyDevicetype.setValue("");
		zPropertyDevicetype.setPermitValue(null);
		//zPropertyDevicetype.setPropertyOf("volandfs");
		zProperties.put("devicetype", zPropertyDevicetype);
		
		Hashtable<Object,Object> permitValueTransportprotocol = new Hashtable<Object,Object>();
		permitValueTransportprotocol.clear();
		zProperties zPropertyTransportprotocol = new zProperties();
		zPropertyTransportprotocol.setNameProperty("transportprotocol");
		zPropertyTransportprotocol.setLabelProperty("Transportprotocol");
		zPropertyTransportprotocol.setType("noupdateable");
		zPropertyTransportprotocol.setValue("");
		zPropertyTransportprotocol.setPermitValue(null);
		//zPropertyTransportprotocol.setPropertyOf("volandfs");
		zProperties.put("transportprotocol", zPropertyTransportprotocol);
		
		Hashtable<Object,Object> permitValueSMARTHealthStatus = new Hashtable<Object,Object>();
		permitValueSMARTHealthStatus.clear();
		zProperties zPropertySMARTHealthStatus = new zProperties();
		zPropertySMARTHealthStatus.setNameProperty("smarthealthstatus");
		zPropertySMARTHealthStatus.setLabelProperty("SMARTHealthStatus");
		zPropertySMARTHealthStatus.setType("noupdateable");
		zPropertySMARTHealthStatus.setValue("");
		zPropertySMARTHealthStatus.setPermitValue(null);
		//zPropertySMARTHealthStatus.setPropertyOf("volandfs");
		zProperties.put("smarthealthstatus", zPropertySMARTHealthStatus);
		
		Hashtable<Object,Object> permitValueErrorRead = new Hashtable<Object,Object>();
		permitValueErrorRead.clear();
		zProperties zPropertyErrorRead = new zProperties();
		zPropertyErrorRead.setNameProperty("errorread");
		zPropertyErrorRead.setLabelProperty("ErrorRead");
		zPropertyErrorRead.setType("noupdateable");
		zPropertyErrorRead.setValue("");
		zPropertyErrorRead.setPermitValue(null);
		//zPropertyErrorRead.setPropertyOf("volandfs");
		zProperties.put("errorread", zPropertyErrorRead);
		
		Hashtable<Object,Object> permitValueErrorWrite = new Hashtable<Object,Object>();
		permitValueErrorWrite.clear();
		zProperties zPropertyErrorWrite = new zProperties();
		zPropertyErrorWrite.setNameProperty("errorwrite");
		zPropertyErrorWrite.setLabelProperty("ErrorWrite");
		zPropertyErrorWrite.setType("noupdateable");
		zPropertyErrorWrite.setValue("");
		zPropertyErrorWrite.setPermitValue(null);
		//zPropertyErrorWrite.setPropertyOf("volandfs");
		zProperties.put("errorwrite", zPropertyErrorWrite);
		
		Hashtable<Object,Object> permitValueErrorChecksum = new Hashtable<Object,Object>();
		permitValueErrorChecksum.clear();
		zProperties zPropertyErrorChecksum = new zProperties();
		zPropertyErrorChecksum.setNameProperty("errorchecksum");
		zPropertyErrorChecksum.setLabelProperty("ErrorChecksum");
		zPropertyErrorChecksum.setType("noupdateable");
		zPropertyErrorChecksum.setValue("");
		zPropertyErrorChecksum.setPermitValue(null);
		//zPropertyErrorChecksum.setPropertyOf("volandfs");
		zProperties.put("errorchecksum", zPropertyErrorChecksum);
		
		Hashtable<Object,Object> permitValueRaidID = new Hashtable<Object,Object>();
		permitValueRaidID.clear();
		zProperties zPropertyRaidID = new zProperties();
		zPropertyRaidID.setNameProperty("raidid");
		zPropertyRaidID.setLabelProperty("RaidID");
		zPropertyRaidID.setType("noupdateable");
		zPropertyRaidID.setValue("");
		zPropertyRaidID.setPermitValue(null);
		//zPropertyzRaidID.setPropertyOf("volandfs");
		zProperties.put("raidid", zPropertyRaidID);
		
		Hashtable<Object,Object> permitValueRaidType = new Hashtable<Object,Object>();
		permitValueRaidType.clear();
		zProperties zPropertyRaidType = new zProperties();
		zPropertyRaidType.setNameProperty("raidtype");
		zPropertyRaidType.setLabelProperty("RaidType");
		zPropertyRaidType.setType("noupdateable");
		zPropertyRaidType.setValue("");
		zPropertyRaidType.setPermitValue(null);
		//zPropertyzRaidType.setPropertyOf("volandfs");
		zProperties.put("raidtype", zPropertyRaidType);
	}
}
