private void generateConstraints( final FactPattern pattern,
final LHSGeneratorContext parentContext ) {
LHSGeneratorContext gctx = null;
for ( int constraintIndex = 0; constraintIndex < pattern.getFieldConstraints().length; constraintIndex++ ) {
FieldConstraint constr = pattern.getConstraintList().getConstraints()[ constraintIndex ];
if ( constraintIndex == 0 ) {
gctx = generatorContextFactory.newChildGeneratorContext( parentContext,
constr );
} else {