Class ValueGroupId<T>

  • Direct Known Subclasses:
    BoolId, DoubleId, LongId, RawId, StringId

    public abstract class ValueGroupId<T>
    extends GroupId
    This abstract class is used in Group instances where the identifying expression evaluated to a singe value.
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • ValueGroupId

        public ValueGroupId​(String type,
                            T value)
        Constructs a new instance of this class.
        Parameters:
        type - The type of this id's value.
        value - The identifying value.
      • ValueGroupId

        public ValueGroupId​(String type,
                            T value,
                            String valueImage)
        Constructs a new instance of this class.
        Parameters:
        type - The type of this id's value.
        value - The identifying value.
        valueImage - The String representation of the value argument.
    • Method Detail

      • getValue

        public T getValue()
        Returns the identifying value.
        Returns:
        The value.