public boolean isCompatible ( ) { boolean compatible ; Iterator < VarBindingDef > bindings ; VarBindingDef binding = null ; for ( compatible = true , bindings = getBindings ( ) ; compatible && bindings . hasNext ( ) ; compatible = ( binding = bindings . next ( ) ) . getEffectiveCondition ( ) . compatible ( properties_ ) ) ; if ( ! compatible && size ( ) == 1 ) { throw new IllegalStateException ( "Invalid " + binding + ", value condition=" + binding . getValueDef ( ) . getCondition ( ) + " is incompatible its own properties=" + binding . getValueDef ( ) . getProperties ( ) ) ; } return compatible ; }
Returns true if this tuple contains compatible variable bindings .