org.teleal.cling.model.types
Interface Datatype<V>
- All Known Implementing Classes:
- AbstractDatatype, Base64Datatype, BinHexDatatype, BooleanDatatype, CharacterDatatype, CustomDatatype, DateTimeDatatype, DoubleDatatype, FloatDatatype, IntegerDatatype, StringDatatype, TimeDatatype, UnsignedIntegerFourBytesDatatype, UnsignedIntegerOneByteDatatype, UnsignedIntegerTwoBytesDatatype, URIDatatype
public interface Datatype<V>
getValueType
Class<V> getValueType()
setBuiltin
void setBuiltin(Datatype.Builtin builtin)
getBuiltin
Datatype.Builtin getBuiltin()
isValid
boolean isValid(V value)
getString
String getString(V value)
throws InvalidValueException
- Throws:
InvalidValueException
fromString
V fromString(String s)
throws InvalidValueException
- Throws:
InvalidValueException
getDisplayString
String getDisplayString()
getDefaultValue
V getDefaultValue()
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.