@ SuppressWarnings ( "unlikely-arg-type" ) protected final void setPrimitiveValidity ( BusPrimitiveInvalidity invalidityReason ) { if ( ( invalidityReason == null && this . invalidityReason != null ) || ( invalidityReason != null && ! invalidityReason . equals ( BusPrimitiveInvalidityType . VALIDITY_NOT_CHECKED ) && ! invalidityReason . equals ( this . invalidityReason ) ) ) { final BusPrimitiveInvalidity old = this . invalidityReason ; this . invalidityReason = invalidityReason ; fireValidityChanged ( old , this . invalidityReason ) ; } }
Set if this component has invalid or not .