com.universaldevices.device.model
Class ProductInfo

java.lang.Object
  extended by com.universaldevices.device.model.ProductInfo

public class ProductInfo
extends java.lang.Object


Nested Class Summary
 class ProductInfo.ProductFeature
           
 
Field Summary
static int FID_BBY_PORTAL_INTEGRATION
           
static int FID_CI_PORTAL_INTEGRATION
           
static int FID_GN_PORTAL_INTEGRATION
           
static int FID_ISY_AUTO_DR
           
static int FID_ISY_BROADBAND_SEP_DEVICE
           
static int FID_ISY_CURR_COST_METER
           
static int FID_ISY_ELECTRICITY_METER
           
static int FID_ISY_ELK
           
static int FID_ISY_GAS_METER
           
static int FID_ISY_INSTEON_A10
           
static int FID_ISY_IRRIGATION_MODULE
           
static int FID_ISY_NORTHWRITE_MODULE
           
static int FID_ISY_URL
           
static int FID_ISY_WATER_METER
           
static int FID_ISY_WEATHER
           
static int FID_ISY_WEB_MODULES
           
static int FID_ISY_ZIGBEE_RCS_MODULE
           
static int FID_ISY_ZIGBEE_SEP_DEVICE
           
static int FID_ISY_ZIGBEE_SEP_ESP
           
static int FID_ISY_ZWAVE
           
static int FID_ML_PORTAL_INTEGRATION
           
static int PID_ISY_26
           
static int PID_ISY_992A10_1024
           
static int PID_ISY_992A10_1024_IR
           
static int PID_ISY_992I_1024
           
static int PID_ISY_992I_1024_IR
           
static int PID_ISY_992I_256
           
static int PID_ISY_992I_256_IR
           
static int PID_ISY_992IL_1024
           
static int PID_ISY_992IL_1024_IR
           
static int PID_ISY_994A10_1024
           
static int PID_ISY_994A10_1024_IR
           
static int PID_ISY_994I_1024
           
static int PID_ISY_994I_1024_IR
           
static int PID_ISY_994I_256
           
static int PID_ISY_994I_256_IR
           
static int PID_ISY_994IL_1024
           
static int PID_ISY_994IL_1024_IR
           
static int PID_ISY_994QI_1024
           
static int PID_ISY_994QI_1024_IR
           
static int PID_ISY_994QI_256
           
static int PID_ISY_994QI_256_IR
           
static int PID_ISY_99A10_1024
           
static int PID_ISY_99A10_1024_IR
           
static int PID_ISY_99I_1024
           
static int PID_ISY_99I_1024_IR
           
static int PID_ISY_99I_256
           
static int PID_ISY_99I_256_IR
           
static int PID_ISY_99IL_1024
           
static int PID_ISY_99IL_1024_IR
           
static int PID_ISY_99IL_256
           
static int PID_ISY_99IL_256_IR
           
static int PID_PCS_992U_1024
           
static int PID_PCS_992U_1024_IR
           
static int PID_PCS_994QU_1024
           
static int PID_PCS_994QU_1024_IR
           
static int PID_PCS_994QU_256
           
static int PID_PCS_994QU_256_IR
           
static int PID_PCS_994U_1024
           
static int PID_PCS_994U_1024_IR
           
static int PID_PCS_994U_256
           
static int PID_PCS_994U_256_IR
           
static int PID_PCS_99U_1024
           
static int PID_PCS_99U_1024_IR
           
static int PID_PCS_99U_256
           
static int PID_PCS_99U_256_IR
           
 
Constructor Summary
ProductInfo()
           
 
Method Summary
 java.lang.String getDesc()
           
 java.util.ArrayList<ProductInfo.ProductFeature> getFeatures()
           
 int getProductId()
           
 java.lang.String getSSLCertificateURL()
           
 boolean hasBasicUtilityPricingSupport()
           
 boolean hasElectricitySupport()
           
 boolean hasGasSupport()
           
 boolean hasWaterSupport()
           
 boolean hasWeatherSupport()
           
 boolean hasWebModulesSupport()
           
 boolean is992()
           
 boolean isAnySEPDeviceEnabled()
           
 boolean isBroadBandSEPDeviceEnabled()
           
 boolean isCurrentCostEnabled()
           
 boolean isD2dEnabled()
           
 boolean isElectricityMeterEnabled()
           
 boolean isElkEnabled()
           
 boolean isEnergyMonitoringEnabled()
           
 boolean isGasMeterEnabled()
           
 boolean isInstalled(java.lang.String sfid)
           
 boolean isInsteonA10Enabled()
           
 boolean isIrEnabled()
           
 boolean isIrrigationEnabled()
           
 boolean isISY26()
           
 boolean isISY99()
           
 boolean isISYPro()
          returns true if this is a PRO version of ISY
 boolean isNorthWriteEnabled()
           
 boolean isOpenDREnabled()
           
 boolean isPortalEnabled()
           
 boolean isURLAccessEnabled()
           
 boolean isVariablesEnabled()
           
 boolean isWaterMeterEnabled()
           
 boolean isWeatherEnabled()
           
 boolean isWebModulesEnabled()
           
 boolean isZigbeeCoordinator()
          This function is used to indicate support of Zigbee coordinators such as RCS and Brultech
 boolean isZigbeeRCSEnabled()
           
 boolean isZigbeeSEPDeviceEnabled()
           
 boolean isZWaveEnabled()
           
 void processFeatures(XMLElement e)
           
 void setD2dEnabled(boolean enabled)
           
 void setDesc(java.lang.String desc)
           
 void setProductId(int id)
           
 void setVariablesEnabled(boolean enabled)
           
 boolean supportsPowerManagement()
           
 boolean verifyUpdatePackage(java.io.InputStream is, long size)
          Given an inputstream, this method figures out if the update package containing the inputstream meets the criteria for an update package for this device
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PID_ISY_26

public static final int PID_ISY_26
See Also:
Constant Field Values

PID_ISY_99I_256

public static final int PID_ISY_99I_256
See Also:
Constant Field Values

PID_ISY_99I_256_IR

public static final int PID_ISY_99I_256_IR
See Also:
Constant Field Values

PID_ISY_99I_1024

public static final int PID_ISY_99I_1024
See Also:
Constant Field Values

PID_ISY_99I_1024_IR

public static final int PID_ISY_99I_1024_IR
See Also:
Constant Field Values

PID_ISY_992I_256

public static final int PID_ISY_992I_256
See Also:
Constant Field Values

PID_ISY_992I_256_IR

public static final int PID_ISY_992I_256_IR
See Also:
Constant Field Values

PID_ISY_992I_1024

public static final int PID_ISY_992I_1024
See Also:
Constant Field Values

PID_ISY_992I_1024_IR

public static final int PID_ISY_992I_1024_IR
See Also:
Constant Field Values

PID_ISY_994I_1024

public static final int PID_ISY_994I_1024
See Also:
Constant Field Values

PID_ISY_994I_1024_IR

public static final int PID_ISY_994I_1024_IR
See Also:
Constant Field Values

PID_ISY_994I_256

public static final int PID_ISY_994I_256
See Also:
Constant Field Values

PID_ISY_994I_256_IR

public static final int PID_ISY_994I_256_IR
See Also:
Constant Field Values

PID_ISY_994QI_1024

public static final int PID_ISY_994QI_1024
See Also:
Constant Field Values

PID_ISY_994QI_1024_IR

public static final int PID_ISY_994QI_1024_IR
See Also:
Constant Field Values

PID_ISY_994QI_256

public static final int PID_ISY_994QI_256
See Also:
Constant Field Values

PID_ISY_994QI_256_IR

public static final int PID_ISY_994QI_256_IR
See Also:
Constant Field Values

PID_PCS_99U_256

public static final int PID_PCS_99U_256
See Also:
Constant Field Values

PID_PCS_99U_256_IR

public static final int PID_PCS_99U_256_IR
See Also:
Constant Field Values

PID_PCS_99U_1024

public static final int PID_PCS_99U_1024
See Also:
Constant Field Values

PID_PCS_99U_1024_IR

public static final int PID_PCS_99U_1024_IR
See Also:
Constant Field Values

PID_PCS_992U_1024

public static final int PID_PCS_992U_1024
See Also:
Constant Field Values

PID_PCS_992U_1024_IR

public static final int PID_PCS_992U_1024_IR
See Also:
Constant Field Values

PID_PCS_994U_256

public static final int PID_PCS_994U_256
See Also:
Constant Field Values

PID_PCS_994U_256_IR

public static final int PID_PCS_994U_256_IR
See Also:
Constant Field Values

PID_PCS_994U_1024

public static final int PID_PCS_994U_1024
See Also:
Constant Field Values

PID_PCS_994U_1024_IR

public static final int PID_PCS_994U_1024_IR
See Also:
Constant Field Values

PID_PCS_994QU_256

public static final int PID_PCS_994QU_256
See Also:
Constant Field Values

PID_PCS_994QU_256_IR

public static final int PID_PCS_994QU_256_IR
See Also:
Constant Field Values

PID_PCS_994QU_1024

public static final int PID_PCS_994QU_1024
See Also:
Constant Field Values

PID_PCS_994QU_1024_IR

public static final int PID_PCS_994QU_1024_IR
See Also:
Constant Field Values

PID_ISY_99IL_256

public static final int PID_ISY_99IL_256
See Also:
Constant Field Values

PID_ISY_99IL_256_IR

public static final int PID_ISY_99IL_256_IR
See Also:
Constant Field Values

PID_ISY_99IL_1024

public static final int PID_ISY_99IL_1024
See Also:
Constant Field Values

PID_ISY_99IL_1024_IR

public static final int PID_ISY_99IL_1024_IR
See Also:
Constant Field Values

PID_ISY_992IL_1024

public static final int PID_ISY_992IL_1024
See Also:
Constant Field Values

PID_ISY_992IL_1024_IR

public static final int PID_ISY_992IL_1024_IR
See Also:
Constant Field Values

PID_ISY_994IL_1024

public static final int PID_ISY_994IL_1024
See Also:
Constant Field Values

PID_ISY_994IL_1024_IR

public static final int PID_ISY_994IL_1024_IR
See Also:
Constant Field Values

PID_ISY_99A10_1024

public static final int PID_ISY_99A10_1024
See Also:
Constant Field Values

PID_ISY_99A10_1024_IR

public static final int PID_ISY_99A10_1024_IR
See Also:
Constant Field Values

PID_ISY_992A10_1024

public static final int PID_ISY_992A10_1024
See Also:
Constant Field Values

PID_ISY_992A10_1024_IR

public static final int PID_ISY_992A10_1024_IR
See Also:
Constant Field Values

PID_ISY_994A10_1024

public static final int PID_ISY_994A10_1024
See Also:
Constant Field Values

PID_ISY_994A10_1024_IR

public static final int PID_ISY_994A10_1024_IR
See Also:
Constant Field Values

FID_ISY_AUTO_DR

public static final int FID_ISY_AUTO_DR
See Also:
Constant Field Values

FID_ISY_ELECTRICITY_METER

public static final int FID_ISY_ELECTRICITY_METER
See Also:
Constant Field Values

FID_ISY_GAS_METER

public static final int FID_ISY_GAS_METER
See Also:
Constant Field Values

FID_ISY_WATER_METER

public static final int FID_ISY_WATER_METER
See Also:
Constant Field Values

FID_ISY_CURR_COST_METER

public static final int FID_ISY_CURR_COST_METER
See Also:
Constant Field Values

FID_ISY_WEATHER

public static final int FID_ISY_WEATHER
See Also:
Constant Field Values

FID_ISY_URL

public static final int FID_ISY_URL
See Also:
Constant Field Values

FID_ISY_WEB_MODULES

public static final int FID_ISY_WEB_MODULES
See Also:
Constant Field Values

FID_ISY_ZIGBEE_SEP_DEVICE

public static final int FID_ISY_ZIGBEE_SEP_DEVICE
See Also:
Constant Field Values

FID_ISY_ZIGBEE_SEP_ESP

public static final int FID_ISY_ZIGBEE_SEP_ESP
See Also:
Constant Field Values

FID_ISY_INSTEON_A10

public static final int FID_ISY_INSTEON_A10
See Also:
Constant Field Values

FID_CI_PORTAL_INTEGRATION

public static final int FID_CI_PORTAL_INTEGRATION
See Also:
Constant Field Values

FID_GN_PORTAL_INTEGRATION

public static final int FID_GN_PORTAL_INTEGRATION
See Also:
Constant Field Values

FID_BBY_PORTAL_INTEGRATION

public static final int FID_BBY_PORTAL_INTEGRATION
See Also:
Constant Field Values

FID_ML_PORTAL_INTEGRATION

public static final int FID_ML_PORTAL_INTEGRATION
See Also:
Constant Field Values

FID_ISY_BROADBAND_SEP_DEVICE

public static final int FID_ISY_BROADBAND_SEP_DEVICE
See Also:
Constant Field Values

FID_ISY_ELK

public static final int FID_ISY_ELK
See Also:
Constant Field Values

FID_ISY_ZWAVE

public static final int FID_ISY_ZWAVE
See Also:
Constant Field Values

FID_ISY_ZIGBEE_RCS_MODULE

public static final int FID_ISY_ZIGBEE_RCS_MODULE
See Also:
Constant Field Values

FID_ISY_IRRIGATION_MODULE

public static final int FID_ISY_IRRIGATION_MODULE
See Also:
Constant Field Values

FID_ISY_NORTHWRITE_MODULE

public static final int FID_ISY_NORTHWRITE_MODULE
See Also:
Constant Field Values
Constructor Detail

ProductInfo

public ProductInfo()
Method Detail

getProductId

public int getProductId()
Returns:
the id

setProductId

public void setProductId(int id)
Parameters:
id - the id to set

getDesc

public java.lang.String getDesc()
Returns:
the desc

setDesc

public void setDesc(java.lang.String desc)
Parameters:
desc - the desc to set

isISY99

public boolean isISY99()
Returns:
the ISY99

isISY26

public boolean isISY26()
Returns:
the ISY26

isIrEnabled

public boolean isIrEnabled()
Returns:
the irEnabled

getFeatures

public java.util.ArrayList<ProductInfo.ProductFeature> getFeatures()
Returns:
the features

is992

public boolean is992()

isISYPro

public boolean isISYPro()
returns true if this is a PRO version of ISY

Returns:
- true if PRO, false otherwise

processFeatures

public void processFeatures(XMLElement e)

verifyUpdatePackage

public boolean verifyUpdatePackage(java.io.InputStream is,
                                   long size)
Given an inputstream, this method figures out if the update package containing the inputstream meets the criteria for an update package for this device

Parameters:
is - - the input stream
size - - the size of the input stream
Returns:
- true if successful, false otherwise

isD2dEnabled

public boolean isD2dEnabled()
Returns:
the d2dEnabled

setD2dEnabled

public void setD2dEnabled(boolean enabled)
Parameters:
enabled - the d2dEnabled to set

isVariablesEnabled

public boolean isVariablesEnabled()
Returns:
the d2dEnabled

setVariablesEnabled

public void setVariablesEnabled(boolean enabled)
Parameters:
enabled - the d2dEnabled to set

isInsteonA10Enabled

public boolean isInsteonA10Enabled()

isZigbeeSEPDeviceEnabled

public boolean isZigbeeSEPDeviceEnabled()

isBroadBandSEPDeviceEnabled

public boolean isBroadBandSEPDeviceEnabled()

isElkEnabled

public boolean isElkEnabled()

isZWaveEnabled

public boolean isZWaveEnabled()

isAnySEPDeviceEnabled

public boolean isAnySEPDeviceEnabled()

isOpenDREnabled

public boolean isOpenDREnabled()

isWeatherEnabled

public boolean isWeatherEnabled()

isURLAccessEnabled

public boolean isURLAccessEnabled()

isWebModulesEnabled

public boolean isWebModulesEnabled()

isElectricityMeterEnabled

public boolean isElectricityMeterEnabled()

isCurrentCostEnabled

public boolean isCurrentCostEnabled()

isEnergyMonitoringEnabled

public boolean isEnergyMonitoringEnabled()

isGasMeterEnabled

public boolean isGasMeterEnabled()

isWaterMeterEnabled

public boolean isWaterMeterEnabled()

isZigbeeRCSEnabled

public boolean isZigbeeRCSEnabled()

isIrrigationEnabled

public boolean isIrrigationEnabled()

isNorthWriteEnabled

public boolean isNorthWriteEnabled()

isPortalEnabled

public boolean isPortalEnabled()

isInstalled

public boolean isInstalled(java.lang.String sfid)

hasBasicUtilityPricingSupport

public boolean hasBasicUtilityPricingSupport()

hasElectricitySupport

public boolean hasElectricitySupport()

hasGasSupport

public boolean hasGasSupport()

hasWaterSupport

public boolean hasWaterSupport()

hasWeatherSupport

public boolean hasWeatherSupport()

hasWebModulesSupport

public boolean hasWebModulesSupport()

isZigbeeCoordinator

public boolean isZigbeeCoordinator()
This function is used to indicate support of Zigbee coordinators such as RCS and Brultech

Returns:

getSSLCertificateURL

public java.lang.String getSSLCertificateURL()

supportsPowerManagement

public boolean supportsPowerManagement()