hibergui.verify
Class AndConstraint

java.lang.Object
  extended by hibergui.verify.AndConstraint
All Implemented Interfaces:
Constraint

public class AndConstraint
extends java.lang.Object
implements Constraint


Field Summary
(package private)  Constraint[] subconstraints
           
 
Constructor Summary
AndConstraint(Constraint... constraints)
           
AndConstraint(Constraint c1, Constraint c2)
           
 
Method Summary
 boolean check(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subconstraints

Constraint[] subconstraints
Constructor Detail

AndConstraint

public AndConstraint(Constraint c1,
                     Constraint c2)

AndConstraint

public AndConstraint(Constraint... constraints)
Method Detail

check

public boolean check(java.lang.Object o)
Specified by:
check in interface Constraint
Returns:
true if the object satisfies the constraint, false otherwise