org.teleal.cling.model
Class VariableValue<S extends Service>

java.lang.Object
  extended by org.teleal.cling.model.VariableValue<S>
Direct Known Subclasses:
ActionArgumentValue, StateVariableValue

public class VariableValue<S extends Service>
extends java.lang.Object

Author:
Christian Bauer

Constructor Summary
  VariableValue(Datatype datatype, java.lang.Object value)
           
protected VariableValue(Datatype datatype, java.lang.String value)
           
 
Method Summary
 java.util.Date getCreatedOn()
           
 Datatype getDatatype()
           
 java.lang.Object getValue()
           
protected  boolean isValid()
           
protected  boolean isValidXMLString(java.lang.String s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableValue

public VariableValue(Datatype datatype,
                     java.lang.Object value)
              throws InvalidValueException
Throws:
InvalidValueException

VariableValue

protected VariableValue(Datatype datatype,
                        java.lang.String value)
Method Detail

getDatatype

public Datatype getDatatype()

getValue

public java.lang.Object getValue()

getCreatedOn

public java.util.Date getCreatedOn()

isValid

protected boolean isValid()

isValidXMLString

protected boolean isValidXMLString(java.lang.String s)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.