Package org.datanucleus
Class ManagedRelationsHandler
- java.lang.Object
-
- org.datanucleus.ManagedRelationsHandler
-
public class ManagedRelationsHandler extends Object
Handler to process "managed relations".
-
-
Constructor Summary
Constructors Constructor Description ManagedRelationsHandler(boolean performChecks)
Constructor for a "managed relations" handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRelationshipManagerForStateManager(DNStateManager sm, RelationshipManager relMgr)
void
clear()
void
execute()
RelationshipManager
getRelationshipManagerForStateManager(DNStateManager sm)
Method to return the RelationshipManager for the specified StateManager.boolean
isExecuting()
void
setPerformChecks(boolean checks)
-
-
-
Method Detail
-
setPerformChecks
public void setPerformChecks(boolean checks)
-
getRelationshipManagerForStateManager
public RelationshipManager getRelationshipManagerForStateManager(DNStateManager sm)
Method to return the RelationshipManager for the specified StateManager. If none is currently present will create one- Parameters:
sm
- StateManager- Returns:
- The RelationshipManager for this object
-
clear
public void clear()
-
isExecuting
public boolean isExecuting()
-
addRelationshipManagerForStateManager
public void addRelationshipManagerForStateManager(DNStateManager sm, RelationshipManager relMgr)
-
execute
public void execute()
-
-