Interface Entity<ValueType>
- Type Parameters:
ValueType- The type of the entity value.
public interface Entity<ValueType>
Interface of an entity that has a specific
EntityType and a value.-
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns the String representation of the entity value.type()Returns theEntityTypeof this value.value()Returns the actual value of this entity.
-
Method Details
-
type
EntityType<ValueType> type()Returns theEntityTypeof this value.- Returns:
- A
EntityType.
-
value
ValueType value()Returns the actual value of this entity.- Returns:
- The value.
-
toString
String toString()Returns the String representation of the entity value.
-