public interface IAttributeType<D>
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
IAttributeValue<D> |
buildAttributeValue(java.lang.Object value)
Casts the value to the respective type and returns an attribute value with the creating attribute type as the referenced type.
|
IAttributeValue<D> |
buildAttributeValue(java.lang.String stringDescription)
Builds an attribute value object from a string description.
|
boolean |
isValidValue(D value)
Validates whether a value conforms to this type.
|
boolean isValidValue(D value)
value - The value to validated.IAttributeValue<D> buildAttributeValue(java.lang.Object value)
value - The value of the attribute.IAttributeValue<D> buildAttributeValue(java.lang.String stringDescription)
stringDescription - A String-format description of the attribute's value.