final GuidedDecisionTree model = new GuidedDecisionTree();
model.setTreeName( "test" );
final TypeNode type = new TypeNodeImpl( "Person" );
final ConstraintNode c1 = new ConstraintNodeImpl( "shortField",
"==",
new ShortValue( new Short( "1000" ) ) );
model.setRoot( type );
type.getChildren().add( c1 );