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 Summary

      Constructors 
      Constructor Description
      ValueGroupId​(java.lang.String type, T value)
      Constructs a new instance of this class.
      ValueGroupId​(java.lang.String type, T value, java.lang.String valueImage)
      Constructs a new instance of this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getValue()
      Returns the identifying value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ValueGroupId

        public ValueGroupId​(java.lang.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​(java.lang.String type,
                            T value,
                            java.lang.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.