Interface Entity<ValueType>

Type Parameters:
ValueType - The type of the entity value.
All Known Subinterfaces:
Header<ValueType>, Parameter<ValueType>

public interface Entity<ValueType>
Interface of an entity that has a specific EntityType and a value.
  • Method Details

    • type

      Returns the EntityType of 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.
      Overrides:
      toString in class Object
      Returns:
      The properly encoded value string.