org.teleal.cling.model.meta
Class StateVariableAllowedValueRange
java.lang.Object
org.teleal.cling.model.meta.StateVariableAllowedValueRange
- All Implemented Interfaces:
- Validatable
public class StateVariableAllowedValueRange
- extends Object
- implements Validatable
TODO: The question here is: Are they crazy enough to use this for !integer (e.g. floating point) numbers?
StateVariableAllowedValueRange
public StateVariableAllowedValueRange(long minimum,
long maximum)
StateVariableAllowedValueRange
public StateVariableAllowedValueRange(long minimum,
long maximum,
long step)
getMinimum
public long getMinimum()
getMaximum
public long getMaximum()
getStep
public long getStep()
isInRange
public boolean isInRange(long value)
validate
public List<ValidationError> validate()
- Specified by:
validate
in interface Validatable
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.