ValueType - The type of the entity value.public interface EntityType<ValueType>
Entity. That is, it binds a type name to a value type.| Modifier and Type | Method and Description |
|---|---|
Entity<ValueType> |
entity(ValueType value)
Factory method to create
Entitys of this EntityType from a value. |
Entity<ValueType> |
entityFromString(java.lang.String valueString)
Factory method to create
Entitys of this type from the given String representation. |
java.lang.String |
name()
Returns the name of the type.
|
ValueType |
valueFromString(java.lang.String valueString)
Convert a string to a value of type <ValueType>
|
java.lang.String |
valueString(ValueType value)
Returns the string representation of the given entity value as defined for this
EntityType. |
java.lang.String name()
null.Entity<ValueType> entityFromString(java.lang.String valueString)
Entitys of this type from the given String representation.valueString - The String representation of the entity value.Entity instance.ValueType valueFromString(java.lang.String valueString)
valueString - The String representation of the entity value.Entity<ValueType> entity(ValueType value)
Entitys of this EntityType from a value.value - The entity value, must not be nullEntity instance.java.lang.String valueString(ValueType value)
EntityType.value - The value to convert.