public class StateVariable extends NodeData
Constructor and Description |
---|
StateVariable() |
StateVariable(Node serviceNode,
Node stateVarNode) |
public static final String ELEM_NAME
public Node getServiceNode()
void setServiceNode(Node n)
public Service getService()
public Node getStateVariableNode()
public static boolean isStateVariableNode(Node node)
public void setName(String value)
public String getName()
public void setDataType(String value)
public String getDataType()
public void setSendEvents(boolean state)
public boolean isSendEvents()
public void set(StateVariable stateVar)
public StateVariableData getStateVariableData()
public void setValue(String value)
public void setValue(int value)
public void setValue(long value)
public String getValue()
public AllowedValueList getAllowedValueList()
public void setAllowedValueList(AllowedValueList avl)
avl
- The new AllowedValueListpublic boolean hasAllowedValueList()
public AllowedValueRange getAllowedValueRange()
public void setAllowedValueRange(AllowedValueRange avr)
avr
- The new AllowedValueRangepublic boolean hasAllowedValueRange()
public QueryListener getQueryListener()
public void setQueryListener(QueryListener listener)
public boolean performQueryListener(QueryRequest queryReq)
public QueryResponse getQueryResponse()
public UPnPStatus getQueryStatus()
public boolean postQuerylAction()
public void setStatus(int code, String descr)
public void setStatus(int code)
public UPnPStatus getStatus()
public String getDefaultValue()
public void setDefaultValue(String value)
value
- The new String valuepublic void setUserData(Object data)
public Object getUserData()