org.apache.felix.upnp.sample.clock
Class TimeStateVariable

java.lang.Object
  extended by org.apache.felix.upnp.sample.clock.TimeStateVariable
All Implemented Interfaces:
UPnPLocalStateVariable, UPnPStateVariable

public class TimeStateVariable
extends Object
implements UPnPLocalStateVariable


Field Summary
 
Fields inherited from interface org.osgi.service.upnp.UPnPStateVariable
TYPE_BIN_BASE64, TYPE_BIN_HEX, TYPE_BOOLEAN, TYPE_CHAR, TYPE_DATE, TYPE_DATETIME, TYPE_DATETIME_TZ, TYPE_FIXED_14_4, TYPE_FLOAT, TYPE_I1, TYPE_I2, TYPE_I4, TYPE_INT, TYPE_NUMBER, TYPE_R4, TYPE_R8, TYPE_STRING, TYPE_TIME, TYPE_TIME_TZ, TYPE_UI1, TYPE_UI2, TYPE_UI4, TYPE_URI, TYPE_UUID
 
Constructor Summary
TimeStateVariable()
           
 
Method Summary
 String[] getAllowedValues()
           
 String getCurrentTime()
           
 Object getCurrentValue()
           
 Object getDefaultValue()
           
 Class getJavaDataType()
           
 Number getMaximum()
           
 Number getMinimum()
           
 String getName()
           
 Number getStep()
           
 String getUPnPDataType()
           
 boolean sendsEvents()
           
 void setCurrentTime(long milliseconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeStateVariable

public TimeStateVariable()
Method Detail

getName

public String getName()
Specified by:
getName in interface UPnPStateVariable

getJavaDataType

public Class getJavaDataType()
Specified by:
getJavaDataType in interface UPnPStateVariable

getUPnPDataType

public String getUPnPDataType()
Specified by:
getUPnPDataType in interface UPnPStateVariable

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in interface UPnPStateVariable

getAllowedValues

public String[] getAllowedValues()
Specified by:
getAllowedValues in interface UPnPStateVariable

getMinimum

public Number getMinimum()
Specified by:
getMinimum in interface UPnPStateVariable

getMaximum

public Number getMaximum()
Specified by:
getMaximum in interface UPnPStateVariable

getStep

public Number getStep()
Specified by:
getStep in interface UPnPStateVariable

sendsEvents

public boolean sendsEvents()
Specified by:
sendsEvents in interface UPnPStateVariable

getCurrentTime

public String getCurrentTime()

setCurrentTime

public void setCurrentTime(long milliseconds)

getCurrentValue

public Object getCurrentValue()
Specified by:
getCurrentValue in interface UPnPLocalStateVariable


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.