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.