use of org.eclipse.persistence.mappings.ManyToOneMapping in project eclipselink by eclipse-ee4j.
the class ManyToOneAccessor method process.
/**
* INTERNAL:
* Process a many to one setting into an EclipseLink OneToOneMapping.
*/
@Override
public void process() {
super.process();
// Initialize our mapping now with what we found.
ObjectReferenceMapping mapping = initManyToOneMapping();
if (mapping instanceof ManyToOneMapping) {
// Process the owning keys for this mapping.
processOwningMappingKeys((ManyToOneMapping) mapping);
} else {
processForeignKeyRelationship(mapping);
}
}
Aggregations