use of org.datanucleus.state.RelationshipManagerImpl in project datanucleus-core by datanucleus.
the class ManagedRelationsHandler method getRelationshipManagerForObjectProvider.
/**
* Method to return the RelationshipManager for the specified ObjectProvider.
* If none is currently present will create one
* @param op ObjectProvider
* @return The RelationshipManager for this object
*/
public RelationshipManager getRelationshipManagerForObjectProvider(ObjectProvider op) {
RelationshipManager relMgr = managedRelationDetails.get(op);
if (relMgr == null) {
relMgr = new RelationshipManagerImpl(op);
managedRelationDetails.put(op, relMgr);
}
return relMgr;
}
Aggregations