use of org.kie.workbench.common.services.datamodel.model.PackageDataModelOracleIncrementalPayload in project kie-wb-common by kiegroup.
the class AsyncPackageDataModelOracleImplTest method createPersonPayload.
private PackageDataModelOracleIncrementalPayload createPersonPayload() {
PackageDataModelOracleIncrementalPayload payload = new PackageDataModelOracleIncrementalPayload();
HashMap<String, ModelField[]> personModelFields = new HashMap<String, ModelField[]>();
personModelFields.put("org.test.Person", new ModelField[] { new ModelField("this", "org.test.Person", ModelField.FIELD_CLASS_TYPE.REGULAR_CLASS, ModelField.FIELD_ORIGIN.SELF, FieldAccessorsAndMutators.ACCESSOR, "this"), new ModelField("address", "org.Address", ModelField.FIELD_CLASS_TYPE.REGULAR_CLASS, ModelField.FIELD_ORIGIN.DECLARED, FieldAccessorsAndMutators.BOTH, "Address") });
payload.setModelFields(personModelFields);
return payload;
}
Aggregations