org.ws4d.java.configuration
Class DeviceProperties

java.lang.Object
  extended by org.ws4d.java.configuration.DeviceProperties

public class DeviceProperties
extends java.lang.Object

Device properties.


Field Summary
static java.lang.Integer DEFAULT_CONFIGURATION_ID
           
static java.lang.String PROP_BINDING
          Property identifier of a binding.
static java.lang.String PROP_CONFIGURATION_ID
          Property identifier of the configuration id, used while constructing a DefaultDevice.DefaultDevice(int)
static java.lang.String PROP_DEVICE_UUID
          Property identifier of the stable globally-unique identifier of device.
static java.lang.String PROP_FIRMWARE_VERSION
          Property identifier of the device data property "FirmwareVersion".
static java.lang.String PROP_FRIENDLY_NAME
          Property identifier of the device data property "FriendlyName".
static java.lang.String PROP_MANUFACTUERE_URL
          Property identifier of the model data property "ManufacturerUrl".
static java.lang.String PROP_MANUFACTURER_NAME
          Property identifier of the model data property "ManufacturerName".
static java.lang.String PROP_METADATA_VERSION
          Property identifier of the metadata version of device.
static java.lang.String PROP_MODEL_NAME
          Property identifier of the model data property "ModelName".
static java.lang.String PROP_MODEL_NUMBER
          Property identifier of the model data property "ModelNumber".
static java.lang.String PROP_MODEL_URL
          Property identifier of the model data property "ModelUrl".
static java.lang.String PROP_PRESENTATION_URL
          Property identifier of the model data property "PresentationUrl".
static java.lang.String PROP_SCOPES
          Property identifier of the list of device scopes.
static java.lang.String PROP_SEC
           
static java.lang.String PROP_SEC_PRIVATEKEY_ALIAS
           
static java.lang.String PROP_SEC_PRIVATEKEY_PASS
           
static java.lang.String PROP_SERIAL_NUMBER
          Property identifier of the device data property "SerialNumber".
static java.lang.String PROP_TYPES
          Property identifier of the device port types.
 
Constructor Summary
DeviceProperties()
           
DeviceProperties(DeviceProperties props)
          Copy Constructor. creates a clone of the passed-in instance.
 
Method Summary
 List getBindings()
           
 java.lang.Integer getConfigurationId()
           
 ThisDeviceMData getDeviceData()
           
 List getDiscoveryBindings()
           
 DiscoveryData getDiscoveryData()
           
 ThisModelMData getModelData()
           
 java.lang.String getPrivateKeyAlias()
           
 java.lang.String getPrivateKeyPass()
           
 boolean useSecurity()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_CONFIGURATION_ID

public static final java.lang.String PROP_CONFIGURATION_ID
Property identifier of the configuration id, used while constructing a DefaultDevice.DefaultDevice(int)

See Also:
Constant Field Values

PROP_DEVICE_UUID

public static final java.lang.String PROP_DEVICE_UUID
Property identifier of the stable globally-unique identifier of device. The value will be the address field within endpoint reference of the device.

See Also:
Constant Field Values

PROP_METADATA_VERSION

public static final java.lang.String PROP_METADATA_VERSION
Property identifier of the metadata version of device. If metadata is changing, version is incremented.

See Also:
Constant Field Values

PROP_TYPES

public static final java.lang.String PROP_TYPES
Property identifier of the device port types. Value is a list of QNames

See Also:
Constant Field Values

PROP_SCOPES

public static final java.lang.String PROP_SCOPES
Property identifier of the list of device scopes. Value is a list of URI

See Also:
Constant Field Values

PROP_BINDING

public static final java.lang.String PROP_BINDING
Property identifier of a binding. The value refers to a binding id of a binding property

See Also:
Constant Field Values

PROP_SEC

public static final java.lang.String PROP_SEC
See Also:
Constant Field Values

PROP_SEC_PRIVATEKEY_ALIAS

public static final java.lang.String PROP_SEC_PRIVATEKEY_ALIAS
See Also:
Constant Field Values

PROP_SEC_PRIVATEKEY_PASS

public static final java.lang.String PROP_SEC_PRIVATEKEY_PASS
See Also:
Constant Field Values

PROP_MANUFACTUERE_URL

public static final java.lang.String PROP_MANUFACTUERE_URL
Property identifier of the model data property "ManufacturerUrl".

See Also:
Constant Field Values

PROP_MANUFACTURER_NAME

public static final java.lang.String PROP_MANUFACTURER_NAME
Property identifier of the model data property "ManufacturerName".

See Also:
Constant Field Values

PROP_MODEL_NAME

public static final java.lang.String PROP_MODEL_NAME
Property identifier of the model data property "ModelName".

See Also:
Constant Field Values

PROP_MODEL_NUMBER

public static final java.lang.String PROP_MODEL_NUMBER
Property identifier of the model data property "ModelNumber".

See Also:
Constant Field Values

PROP_MODEL_URL

public static final java.lang.String PROP_MODEL_URL
Property identifier of the model data property "ModelUrl".

See Also:
Constant Field Values

PROP_PRESENTATION_URL

public static final java.lang.String PROP_PRESENTATION_URL
Property identifier of the model data property "PresentationUrl".

See Also:
Constant Field Values

PROP_FRIENDLY_NAME

public static final java.lang.String PROP_FRIENDLY_NAME
Property identifier of the device data property "FriendlyName".

See Also:
Constant Field Values

PROP_FIRMWARE_VERSION

public static final java.lang.String PROP_FIRMWARE_VERSION
Property identifier of the device data property "FirmwareVersion".

See Also:
Constant Field Values

PROP_SERIAL_NUMBER

public static final java.lang.String PROP_SERIAL_NUMBER
Property identifier of the device data property "SerialNumber".

See Also:
Constant Field Values

DEFAULT_CONFIGURATION_ID

public static final java.lang.Integer DEFAULT_CONFIGURATION_ID
Constructor Detail

DeviceProperties

public DeviceProperties()

DeviceProperties

public DeviceProperties(DeviceProperties props)
Copy Constructor. creates a clone of the passed-in instance. Bindings are not copied.

Method Detail

getConfigurationId

public java.lang.Integer getConfigurationId()
Returns:
configuration id

getBindings

public List getBindings()

getDiscoveryBindings

public List getDiscoveryBindings()

getDiscoveryData

public DiscoveryData getDiscoveryData()

getModelData

public ThisModelMData getModelData()

getDeviceData

public ThisDeviceMData getDeviceData()

useSecurity

public boolean useSecurity()

getPrivateKeyAlias

public java.lang.String getPrivateKeyAlias()

getPrivateKeyPass

public java.lang.String getPrivateKeyPass()