Class RestrictedByElem

    • Constructor Detail

      • RestrictedByElem

        public RestrictedByElem​(AttributeType attributeType,
                                AttributeType valuesIn)
        Creates a new instance.
        Parameters:
        attributeType - the attribute type to restrict
        valuesIn - the attribute type only whose values are allowed in attributeType.
    • Method Detail

      • getAttributeType

        public AttributeType getAttributeType()
        Gets the attribute type to restrict.
        Returns:
        the attribute type
      • getValuesIn

        public AttributeType getValuesIn()
        Gets the attribute type only whose values are allowed in attributeType.
        Returns:
        the list of allowed AttributeType values
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object