com.universaldevices.device.model
Class UDAction

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

public class UDAction
extends java.lang.Object

This class represents the permissible operations which could be performed on a control UDControl

Author:
UD Architect
See Also:
UDControl

Field Summary
 java.lang.String desc
          The description if any
 java.lang.String label
          The label to be used if desired
 java.lang.String name
          The name/code of the action
 boolean readOnly
          Whether or not this is a read only action
 
Constructor Summary
UDAction(java.lang.String name, java.lang.String label, java.lang.String description)
          Constructor
UDAction(XMLElement action)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name/code of the action


desc

public java.lang.String desc
The description if any


label

public java.lang.String label
The label to be used if desired


readOnly

public boolean readOnly
Whether or not this is a read only action

Constructor Detail

UDAction

public UDAction(XMLElement action)
Constructor

The constructor is called internally based on the configuration (XML) retrieved from the device (ISY). This class should not be used independently of the underlying UD Network and Services Layers

Parameters:
action -

UDAction

public UDAction(java.lang.String name,
                java.lang.String label,
                java.lang.String description)
Constructor

The constructor is called internally based on the configuration (XML) retrieved from the device (ISY). This class should not be used independently of the underlying UD Network and Services Layers

Parameters:
name - - the name of the action
label - - the label
description - - the description