DroolsQuery.class.getClassLoader() );
FieldValue field = FieldFactory.getFieldValue( "query-1" );
final Evaluator evaluator = equals.getEvaluator( ValueType.STRING_TYPE, Operator.EQUAL );
LiteralConstraint constraint = new LiteralConstraint( extractor,
evaluator,
field );
AlphaNode alphaNode = new AlphaNode( this.buildContext.getNextId(),
constraint,
queryObjectTypeNode,
buildContext );
alphaNode.attach();
final LeftInputAdapterNode liaNode = new LeftInputAdapterNode( this.buildContext.getNextId(),
alphaNode,
this.buildContext );
liaNode.attach();
final ClassObjectType cheeseObjectType = new ClassObjectType( Cheese.class );
final ObjectTypeNode cheeseObjectTypeNode = new ObjectTypeNode( this.buildContext.getNextId(),
this.entryPoint,
cheeseObjectType,
buildContext );
cheeseObjectTypeNode.attach();
extractor = store.getReader( Cheese.class,
"type",
getClass().getClassLoader() );
field = FieldFactory.getFieldValue( "stilton" );
constraint = new LiteralConstraint( extractor,
evaluator,
field );
alphaNode = new AlphaNode( this.buildContext.getNextId(),
constraint,