A
SourceValidity
object contains all information to check if a Source object is still valid.
There are two possibilities:
- The validity object has all information to check by itself if it is valid (e.g. given an expires date).
- The validity object possibility needs another (newer) validity object to compare against (e.g. to test a last modification date).
To avoid testing what the actual implementation of the validity object supports, the invocation order is to first call {@link #isValid()} and only if this resultis
0
(i.e. "don't know"), then to call {@link #isValid(SourceValidity)}.
Remember to call {@link #isValid(SourceValidity)} when {@link #isValid()} returned0
!
@author Avalon Development Team
@version CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:26 $