15181519152015211522152315241525152615271528
final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "integerField", "==", new IntegerValue( 1000000 ) ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
15781579158015811582158315841585158615871588
final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "longField", "==", new LongValue( 1000000L ) ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
16381639164016411642164316441645164616471648
final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "shortField", "==", new ShortValue( new Short( "1000" ) ) ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
16981699170017011702170317041705170617071708
final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "stringField", "==", new StringValue( "Michael" ) ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
17981799180018011802180318041805180618071808
final TypeNode type = new TypeNodeImpl( "Person" ); final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "name" ); c1.setBinding( "$n" ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
18591860186118621863186418651866186718681869
final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "name", "==", new EnumValue( "Names.FRED" ) ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
19251926192719281929193019311932193319341935
final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "name", "!= null", null ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
19841985198619871988198919901991199219931994
final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "name", "== null", null ); expected.setRoot( type ); type.addChild( c1 ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
20432044204520462047204820492050205120522053
final TypeNode type = new TypeNodeImpl( "Person" ); type.setBinding( "$p" ); expected.setRoot( type ); final ActionRetractNode action = new ActionRetractNodeImpl( type ); type.addChild( action ); addModelField( "Person", "this", "Person", DataType.TYPE_THIS );
21002101210221032104210521062107210821092110
type.setBinding( "$p" ); final ConstraintNode c1 = new ConstraintNodeImpl( "Person", "name" ); c1.setBinding( "$n" ); expected.setRoot( type ); type.addChild( c1 ); final ActionRetractNode action = new ActionRetractNodeImpl( type ); c1.addChild( action ); addModelField( "Person",