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, typeCheck
getDatabase, getId, getSurrogate, inConstruction, isValid
applyUpdates
void setName(String name) throws T2DBException
name
- a stringT2DBException
void addValue(T value, String description) throws T2DBException
value
- a valuedescription
- the value's descriptionT2DBException
void updateValue(T value, String description) throws T2DBException
value
- an allowed valuedescription
- a stringT2DBException
void deleteValue(T value) throws T2DBException
value
- the value to deleteT2DBException
void destroy() throws T2DBException
T2DBException
Copyright © 2017. All rights reserved.