org.objectweb.speedo.mim.jdo.lib
Class JDOFetchPlan

java.lang.Object
  extended by org.objectweb.speedo.mim.lib.SpeedoFetchPlan
      extended by org.objectweb.speedo.mim.jdo.lib.JDOFetchPlan
All Implemented Interfaces:
FetchPlan, FetchPlanItf

public class JDOFetchPlan
extends SpeedoFetchPlan
implements FetchPlan

Author:
Y.Bersihand

Field Summary
 
Fields inherited from interface javax.jdo.FetchPlan
ALL, DEFAULT, DETACH_LOAD_FIELDS, DETACH_UNLOAD_FIELDS, FETCH_SIZE_GREEDY, FETCH_SIZE_OPTIMAL
 
Fields inherited from interface org.objectweb.speedo.mim.api.FetchPlanItf
ALL, DEFAULT, FETCH_SIZE_GREEDY, FETCH_SIZE_OPTIMAL, NONE, VALUES
 
Constructor Summary
JDOFetchPlan()
           
JDOFetchPlan(java.lang.String fgName)
           
 
Method Summary
 FetchPlan addGroup(java.lang.String fetchGroupName)
          Add a group into the fetch plan.
 FetchPlan clearGroups()
           
 int getDetachmentOptions()
           
 java.lang.Class[] getDetachmentRootClasses()
           
 java.util.Collection getDetachmentRoots()
           
 int getFetchSize()
           
 java.util.Collection getGroups()
           
 int getMaxFetchDepth()
           
 FetchPlan removeGroup(java.lang.String fetchGroupName)
          Remove a group from the fetch plan.
 FetchPlan setDetachmentOptions(int arg0)
           
 FetchPlan setDetachmentRootClasses(java.lang.Class[] arg0)
           
 FetchPlan setDetachmentRoots(java.util.Collection arg0)
           
 FetchPlan setFetchSize(int fetchSize)
           
 FetchPlan setGroup(java.lang.String fetchGroupName)
           
 FetchPlan setGroups(java.util.Collection fetchGroupNames)
           
 FetchPlan setGroups(java.lang.String[] fetchGroupNames)
           
 FetchPlan setMaxFetchDepth(int arg0)
           
 
Methods inherited from class org.objectweb.speedo.mim.lib.SpeedoFetchPlan
speedoAddGroup, speedoClearGroups, speedoGetFetchSize, speedoGetGroups, speedoRemoveGroup, speedoSetFetchSize, speedoSetGroup, speedoSetGroups, speedoSetGroups
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOFetchPlan

public JDOFetchPlan()

JDOFetchPlan

public JDOFetchPlan(java.lang.String fgName)
Method Detail

addGroup

public FetchPlan addGroup(java.lang.String fetchGroupName)
Add a group into the fetch plan.

Specified by:
addGroup in interface FetchPlan

removeGroup

public FetchPlan removeGroup(java.lang.String fetchGroupName)
Remove a group from the fetch plan.

Specified by:
removeGroup in interface FetchPlan

getGroups

public java.util.Collection getGroups()
Specified by:
getGroups in interface FetchPlan

setGroups

public FetchPlan setGroups(java.util.Collection fetchGroupNames)
Specified by:
setGroups in interface FetchPlan

clearGroups

public FetchPlan clearGroups()
Specified by:
clearGroups in interface FetchPlan

setGroup

public FetchPlan setGroup(java.lang.String fetchGroupName)
Specified by:
setGroup in interface FetchPlan

setGroups

public FetchPlan setGroups(java.lang.String[] fetchGroupNames)
Specified by:
setGroups in interface FetchPlan

setFetchSize

public FetchPlan setFetchSize(int fetchSize)
Specified by:
setFetchSize in interface FetchPlan

getFetchSize

public int getFetchSize()
Specified by:
getFetchSize in interface FetchPlan

getDetachmentOptions

public int getDetachmentOptions()
Specified by:
getDetachmentOptions in interface FetchPlan

setDetachmentOptions

public FetchPlan setDetachmentOptions(int arg0)
Specified by:
setDetachmentOptions in interface FetchPlan

getDetachmentRootClasses

public java.lang.Class[] getDetachmentRootClasses()
Specified by:
getDetachmentRootClasses in interface FetchPlan

setDetachmentRootClasses

public FetchPlan setDetachmentRootClasses(java.lang.Class[] arg0)
Specified by:
setDetachmentRootClasses in interface FetchPlan

getDetachmentRoots

public java.util.Collection getDetachmentRoots()
Specified by:
getDetachmentRoots in interface FetchPlan

setDetachmentRoots

public FetchPlan setDetachmentRoots(java.util.Collection arg0)
Specified by:
setDetachmentRoots in interface FetchPlan

getMaxFetchDepth

public int getMaxFetchDepth()
Specified by:
getMaxFetchDepth in interface FetchPlan

setMaxFetchDepth

public FetchPlan setMaxFetchDepth(int arg0)
Specified by:
setMaxFetchDepth in interface FetchPlan