createValidity

isValid

public int isValid()

Deprecated.

Check if the component is still valid.
If 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

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