/** * Propagate an indirect object change to this node. * @param object The changed object. */ public void modifyIndirectObject(Object object, OAVAttributeType type, Object oldvalue, Object newvalue, IOAVState state, ReteMemory mem, AbstractAgenda agenda) { // Recheck all tuples Collection input = getTupleSource().getNodeMemory(mem); if(input!=null) { for(Iterator it=input.iterator(); it.hasNext(); ) { modifyTuple((Tuple)it.next(), -1, null, null, null, state, mem, agenda); } } }
/** * Propagate an indirect object change to this node. * @param object The changed object. */ public void modifyIndirectObject(Object object, OAVAttributeType type, Object oldvalue, Object newvalue, IOAVState state, ReteMemory mem, AbstractAgenda agenda) { // Recheck all tuples Collection input = getTupleSource().getNodeMemory(mem); if(input!=null) { for(Iterator it=input.iterator(); it.hasNext(); ) { modifyTuple((Tuple)it.next(), -1, null, null, null, state, mem, agenda); } } }