Class ConstraintIterator

  • All Implemented Interfaces:
    Iterator<IConstraint>

    public class ConstraintIterator
    extends Object
    implements Iterator<IConstraint>
    This iterator is used to determine which constraints are applicable for a specific attribute.
    Since:
    5.0
    Author:
    O. Kerpershoek
    • Constructor Detail

      • ConstraintIterator

        public ConstraintIterator​(IAttributeNode node)
        Constructs the iterator for the specific attribute node from the rule graph.
        Parameters:
        node - The attribute node from the rule graph for which the iterator should be constructed.
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        This method returns a boolean indicating if the iterator does not have any constraints to iterate over.
        Returns:
        a boolean indicating if the iterator does not have any constraints to iterate over.