Class ParamInfoGroup

  • All Implemented Interfaces:
    ParamInfo

    public class ParamInfoGroup
    extends java.lang.Object
    implements ParamInfo
    Defines a group of constraints on a property value.
    • Constructor Detail

      • ParamInfoGroup

        public ParamInfoGroup​(ParamInfoGroup.Operator operator)
        Constructs a new ParamInfoGroup.
        Parameters:
        operator - Operator which defines relationship between a stack of ParamInfo objects
    • Method Detail

      • empty

        public boolean empty()
        Tests if this ParamInfoGroup is empty.
        Returns:
        true if and only if this ParamInfoGroup contains no ParamInfo items; false otherwise.
      • equals

        public boolean equals​(ParamInfo param)
        Specified by:
        equals in interface ParamInfo
        Returns:
        Return true if param is equal to this, else false
      • setChoice

        public void setChoice​(boolean isChoice)
        Set if this param group is defined inside a rng:choice
        Parameters:
        isChoice - boolean
      • isChoice

        public boolean isChoice()
        Gets if this param group is defined inside a rng:choice
        Returns:
        boolean
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object