Class MaxValueCountElem

    • Constructor Detail

      • MaxValueCountElem

        public MaxValueCountElem​(AttributeType attributeType,
                                 int maxCount)
        Creates a new instance.
        Parameters:
        attributeType - the attribute ID to limit the maximum count
        maxCount - the maximum count of the attribute allowed
    • Method Detail

      • getAttributeType

        public AttributeType getAttributeType()
        Gets the attribute to limit the maximum count.
        Returns:
        the attribute type
      • getMaxCount

        public int getMaxCount()
        Gets the maximum count of the attribute allowed.
        Returns:
        the maximum count of the attribute allowed
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object