org.apache.felix.upnp.sample.tv
Class PowerStateVariable

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

public class PowerStateVariable
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
PowerStateVariable()
           
 
Method Summary
 String[] getAllowedValues()
           
 Boolean getCurrentPower()
           
 Object getCurrentValue()
           
 Object getDefaultValue()
           
 Class getJavaDataType()
           
 Number getMaximum()
           
 Number getMinimum()
           
 String getName()
           
 Number getStep()
           
 String getUPnPDataType()
           
 boolean sendsEvents()
           
 void setNotifier(UPnPEventNotifier notifier)
           
 void setPower(Boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerStateVariable

public PowerStateVariable()
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

getCurrentPower

public Boolean getCurrentPower()

setPower

public void setPower(Boolean value)

setNotifier

public void setNotifier(UPnPEventNotifier notifier)

getCurrentValue

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


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