org.apache.avalon.excalibur.source.validity
Class AggregatedValidity

java.lang.Object
  |
  +--org.apache.avalon.excalibur.source.validity.AggregatedValidity
All Implemented Interfaces:
java.io.Serializable, SourceValidity

public final class AggregatedValidity
extends java.lang.Object
implements SourceValidity

A validation object using a List.

Version:
CVS $Revision: 1.1 $ $Date: 2001/12/17 13:55:03 $
Author:
Davanum Srinivas
See Also:
Serialized Form

Constructor Summary
AggregatedValidity()
           
 
Method Summary
 void add(SourceValidity validity)
           
 boolean isValid()
          Check if the component is still valid.
 boolean isValid(SourceValidity validity)
          Check if the component is still valid.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregatedValidity

public AggregatedValidity()
Method Detail

add

public void add(SourceValidity validity)

isValid

public boolean isValid()
Description copied from interface: SourceValidity
Check if the component is still valid. If false is returned the isValid(SourceValidity) must be called afterwards!
Specified by:
isValid in interface SourceValidity

isValid

public boolean isValid(SourceValidity validity)
Description copied from interface: SourceValidity
Check if the component is still valid. This is only true, if the incoming Validity is of the same type and has the same values. The invocation order is that the isValid method of the old Validity object is called with the new one as a parameter
Specified by:
isValid in interface SourceValidity

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2001 Apache Jakarta Project. All Rights Reserved.