Behavior[] behaviors = createBehaviorArray( context );
// then attach the NOT node. It will work both as a simple not node
// or as subnetwork join node as the context was set appropriatelly
// in each case
NotNode node = null;
if( GroupElement.FORALL_NOT.equals( not.getType() ) ) {
node = new ForallNotNode( context.getNextId(),
context.getTupleSource(),
context.getObjectSource(),
betaConstraints,
behaviors,
context,
not.getForallBaseObjectType() );
} else {
node = new NotNode( context.getNextId(),
context.getTupleSource(),
context.getObjectSource(),
betaConstraints,
behaviors,
context );