use of com.sun.jdo.api.persistence.model.Model in project Payara by payara.
the class ModelValidator method shouldBeRelationship.
private boolean shouldBeRelationship(PersistenceFieldElement field) {
Model model = getModel();
String fieldType = model.getFieldType(getClassName(), field.getName());
return (isPersistent(fieldType) || model.isCollection(fieldType));
}
Aggregations