217218219220221222223224225
if ( objectHandle instanceof FactHandle ) { this.session.update( (FactHandle) objectHandle, newObject ); } else { throw new InvalidHandleException( "invalid handle" ); } }
241242243244245246247248
checkRuleSessionValidity(); if ( handleObject instanceof FactHandle ) { this.session.retract( (FactHandle) handleObject ); } else { throw new InvalidHandleException( "invalid handle" ); } }
269270271272273274275276
checkRuleSessionValidity(); if ( handle instanceof FactHandle ) { return this.session.getObject( (FactHandle) handle ); } else { throw new InvalidHandleException( "invalid handle" ); } }