T - the underlying data type of the valuespublic interface UpdatableValueType<T> extends ValueType<T>, Updatable
ValueType.StandardValueType| Modifier and Type | Method and Description |
|---|---|
void |
addValue(T value,
String description)
Add a value to list of allowed values.
|
void |
deleteValue(T value)
Delete a value from the list of allowed values.
|
void |
destroy()
Destroy the value type.
|
void |
setName(String name)
Set the name of the value type.
|
void |
updateValue(T value,
String description)
Update the description of the given allowed value.
|
check, edit, getExternalRepresentation, getName, getScanner, getStandardValueType, getType, getValueDescriptions, getValues, getValues, isBuiltIn, isCompatible, isRestricted, scan, toString, typeCheckgetDatabase, getId, getSurrogate, inConstruction, isValidapplyUpdatesvoid setName(String name) throws T2DBException
name - a stringT2DBExceptionvoid addValue(T value, String description) throws T2DBException
value - a valuedescription - the value's descriptionT2DBExceptionvoid updateValue(T value, String description) throws T2DBException
value - an allowed valuedescription - a stringT2DBExceptionvoid deleteValue(T value) throws T2DBException
value - the value to deleteT2DBExceptionvoid destroy()
throws T2DBException
T2DBExceptionCopyright © 2017. All rights reserved.