model.setRoot( type );
final ActionUpdateNode action1 = new ActionUpdateNodeImpl( type );
action1.setModify( true );
action1.getFieldValues().add( new ActionFieldValueImpl( "age",
new IntegerValue( 25 ) ) );
type.addChild( action1 );
final ActionRetractNode action2 = new ActionRetractNodeImpl( type );
action1.addChild( action2 );