@Override
protected ProjectDataModelOracle getProjectDataModelOracle( final Path path ) {
final ProjectDataModelOracle dmo = new ProjectDataModelOracleImpl();
dmo.addProjectModelFields( new HashMap<String, ModelField[]>() {{
put( "org.drools.workbench.screens.guided.rule.backend.server.indexing.classes.Applicant",
new ModelField[]{ new ModelField( "age",
"java.lang.Integer",
ModelField.FIELD_CLASS_TYPE.REGULAR_CLASS,
ModelField.FIELD_ORIGIN.DECLARED,
FieldAccessorsAndMutators.ACCESSOR,
DataType.TYPE_NUMERIC_INTEGER ) } );
put( "org.drools.workbench.screens.guided.rule.backend.server.indexing.classes.Mortgage",
new ModelField[]{ new ModelField( "amount",
"java.lang.Integer",
ModelField.FIELD_CLASS_TYPE.REGULAR_CLASS,
ModelField.FIELD_ORIGIN.DECLARED,
FieldAccessorsAndMutators.ACCESSOR,
DataType.TYPE_NUMERIC_INTEGER ) } );
put( "org.drools.workbench.screens.guided.rule.backend.server.indexing.classes.Mortgage",
new ModelField[]{ new ModelField( "applicant",
"org.drools.workbench.screens.guided.rule.backend.server.indexing.classes.Applicant",
ModelField.FIELD_CLASS_TYPE.REGULAR_CLASS,
ModelField.FIELD_ORIGIN.DECLARED,
FieldAccessorsAndMutators.ACCESSOR,
"org.drools.workbench.screens.guided.rule.backend.server.indexing.classes.Applicant" ) } );