Class AAttributeValue<D>

    • Constructor Detail

      • AAttributeValue

        protected AAttributeValue​(IAttributeType<D> type)
        Constructor creating a new attribute value for a certain type. The value remains unset.
        Parameters:
        type - The type of the attribute value.
      • AAttributeValue

        protected AAttributeValue​(IAttributeType<D> type,
                                  D value)
        Constructor creating a new attribute value for a certain type together with a value.
        Parameters:
        type - The type of the attribute value.
        value - The value of this attribute.
    • Method Detail

      • getValue

        public D getValue()
        Specified by:
        getValue in interface IAttributeValue<D>
        Returns:
        The value of this attribute value.
      • setValue

        public void setValue​(D value)
        Specified by:
        setValue in interface IAttributeValue<D>
        Parameters:
        value - The value of this attribute value.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object