Class ValidationIterator
java.lang.Object
com.aquima.interactions.rule.validation.ValidationIterator
- All Implemented Interfaces:
Iterator<IValidationRule>
This iterator class traverses the attribute nodes in the rule graph and returns the validation rules that are
applicable.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the iterator for the specified attribute node. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ValidationIterator
Constructs the iterator for the specified attribute node.- Parameters:
node
- The attribute node that should be used as starting point.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<IValidationRule>
-
next
- Specified by:
next
in interfaceIterator<IValidationRule>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<IValidationRule>
-