}
public void execute(InternalWorkingMemory workingMemory) {
NamedEntryPoint nep = (NamedEntryPoint) handle.getEntryPoint() ;
BeliefSet bs = handle.getEqualityKey().getBeliefSet();
bs.setWorkingMemoryAction( null );
if ( update ) {
if ( !bs.isEmpty() ) {
// We need the isEmpty check, in case the BeliefSet was made empty (due to retract) after this was scheduled
((NamedEntryPoint) handle.getEntryPoint() ).update( handle, true, handle.getObject(), allSetButTraitBitMask(), Object.class, null );
}
} else {
if ( fullyRetract ) {