public final class DeferredAggregatedValidity extends AbstractAggregatedValidity implements SourceValidity
AggregatedValidity
object, but the contained validity objects are only fetched when
required.m_listINVALID, UNKNOWN, UNKNWON, VALID| Constructor and Description |
|---|
DeferredAggregatedValidity() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DeferredValidity validity) |
(package private) SourceValidity |
getValidity(int index) |
int |
isValid()
Check if the component is still valid.
|
int |
isValid(SourceValidity validity)
Check if the component is still valid.
|
java.lang.String |
toString() |
private void |
writeObject(java.io.ObjectOutputStream out) |
add, getValiditiespublic void add(DeferredValidity validity)
public int isValid()
0 is returned the isValid(SourceValidity) must be
called afterwards!
If -1 is returned, the component is not valid anymore and if +1
is returnd, the component is valid.isValid in interface SourceValiditypublic int isValid(SourceValidity validity)
SourceValidityThe invocation order is that the isValid method of the old Validity object is called with the new one as a parameter.
isValid in interface SourceValiditypublic java.lang.String toString()
toString in class AbstractAggregatedValiditySourceValidity getValidity(int index)
getValidity in class AbstractAggregatedValidityprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOException