Class DependentSetCriteria

    • Constructor Detail

      • DependentSetCriteria

        public DependentSetCriteria​(Expression expr,
                                    String id)
        Construct with the left expression
    • Method Detail

      • hasMultipleAttributes

        public boolean hasMultipleAttributes()
      • getMaxNdv

        public float getMaxNdv()
      • setMaxNdv

        public void setMaxNdv​(float maxNdv)
      • getNdv

        public float getNdv()
      • setNdv

        public void setNdv​(float ndv)
      • getValueExpression

        public Expression getValueExpression()
        Get the independent value expression
        Returns:
        Returns the valueExpression.
      • setValueExpression

        public void setValueExpression​(Expression valueExpression)
        Set the independent value expression
        Parameters:
        valueExpression - The valueExpression to set.
      • acceptVisitor

        public void acceptVisitor​(LanguageVisitor visitor)
        Description copied from interface: LanguageObject
        Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.
        Specified by:
        acceptVisitor in interface LanguageObject
        Parameters:
        visitor - Visitor being used
      • hashCode

        public int hashCode()
        Get hash code. WARNING: The hash code is based on data in the criteria. If data values are changed, the hash code will change - don't hash this object and change values.
        Overrides:
        hashCode in class Object
        Returns:
        Hash code
      • equals

        public boolean equals​(Object obj)
        Override equals() method.
        Overrides:
        equals in class Object
        Parameters:
        obj - Other object
        Returns:
        True if equal
      • clone

        public DependentSetCriteria clone()
        Deep copy of object. The values iterator source of this object will not be cloned - it will be passed over as is and shared with the original object, just like Reference.
        Specified by:
        clone in interface LanguageObject
        Specified by:
        clone in class AbstractSetCriteria
        Returns:
        Deep copy of object
      • setNegated

        public void setNegated​(boolean negationFlag)
        Description copied from class: AbstractSetCriteria
        Sets the negation flag for this criteria.
        Overrides:
        setNegated in class AbstractSetCriteria
        Parameters:
        negationFlag - true if this criteria contains a NOT; false otherwise
      • setDependentValueSource

        public void setDependentValueSource​(DependentValueSource dependentValueSource)
      • setMakeDepOptions

        public void setMakeDepOptions​(Option.MakeDep makeDep)