javatools.util
Class ValidatorCluster

java.lang.Object
  |
  +--javatools.util.ValidatorCluster

public class ValidatorCluster
extends java.lang.Object

It is a set of validators.


Constructor Summary
ValidatorCluster()
          Creates new ValidatorCluster
 
Method Summary
 void addValidator(Validator val)
          Adds a validator to the list.
 boolean getValid()
          Makes a logical and between all the getValid results.
 void setValid(boolean valid)
          Calls all interfaced validators function setValid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorCluster

public ValidatorCluster()
Creates new ValidatorCluster

Method Detail

setValid

public void setValid(boolean valid)
Calls all interfaced validators function setValid.

Parameters:
valid - The flag to use.

getValid

public boolean getValid()
Makes a logical and between all the getValid results.

Returns:
The result.

addValidator

public void addValidator(Validator val)
Adds a validator to the list.

Parameters:
val - The validator to add.