com.udi.insteon.client
Class SceneProfileAttributes

java.lang.Object
  extended by com.udi.insteon.client.SceneProfileAttributes

public class SceneProfileAttributes
extends java.lang.Object

The SceneProfileAttributes is a crude representation of Scene properties for a device (UDNode)

Author:
UD Architect

Field Summary
 java.lang.String controllerNode
          If this object describes the scene attributes for a controller/responder scenario, then "controllerNode" attribute is the address of the controlling node.
 java.lang.String coolSetpoint
          The cool setpoint for a Thermostat
 java.lang.String fanState
          The fan state for a Thermostat
 java.lang.String heatSetpoint
          The cool setpoint for a Thermostat
 java.lang.String node
          The UDNode's address for which we have the onLevel and rampRate defined based on a "scene" or a "controllerNode" such as KeypadLinc (when plays the role of master in the scene)
 java.lang.String onLevel
          The on level for the scene
 java.lang.String rampRate
          The ramp rate for the scene
 java.lang.String scene
          The scene to which this node belongs to.
 java.lang.String thermostatMode
          The mode for a Thermostat
 
Constructor Summary
SceneProfileAttributes()
           
 
Method Summary
static java.util.Hashtable<java.lang.String,SceneProfileAttributes> getSceneAttributes(UDProxyDevice device, java.lang.String scene_id, java.lang.String node)
          Returns a Hashtable of SceneProfileAttributes for a given scene or controller
 void setDefaults()
          Sets defaults for all values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

public java.lang.String node
The UDNode's address for which we have the onLevel and rampRate defined based on a "scene" or a "controllerNode" such as KeypadLinc (when plays the role of master in the scene)


onLevel

public java.lang.String onLevel
The on level for the scene


rampRate

public java.lang.String rampRate
The ramp rate for the scene


fanState

public java.lang.String fanState
The fan state for a Thermostat


thermostatMode

public java.lang.String thermostatMode
The mode for a Thermostat


heatSetpoint

public java.lang.String heatSetpoint
The cool setpoint for a Thermostat


coolSetpoint

public java.lang.String coolSetpoint
The cool setpoint for a Thermostat


scene

public java.lang.String scene
The scene to which this node belongs to. This attributed is never null.


controllerNode

public java.lang.String controllerNode
If this object describes the scene attributes for a controller/responder scenario, then "controllerNode" attribute is the address of the controlling node. Otherwise, this attribute is equal to the "scene" attribute.

Constructor Detail

SceneProfileAttributes

public SceneProfileAttributes()
Method Detail

setDefaults

public void setDefaults()
Sets defaults for all values


getSceneAttributes

public static java.util.Hashtable<java.lang.String,SceneProfileAttributes> getSceneAttributes(UDProxyDevice device,
                                                                                              java.lang.String scene_id,
                                                                                              java.lang.String node)
Returns a Hashtable of SceneProfileAttributes for a given scene or controller

Parameters:
device - - the UDProxyDevice to which the "node" belongs to
scene_id - - the address of the scene or controller depending on what we are after
node - - the controller (in case we are after a controller) or equals to scene_id
Returns:
- Hashtable of SceneProfileAttributes The format of the DIML/XML is as follows address
    onlevel
ramprate
...