org.objectweb.speedo.mim.lib
Class SpeedoFetchPlan

java.lang.Object
  extended byorg.objectweb.speedo.mim.lib.SpeedoFetchPlan
All Implemented Interfaces:
javax.jdo.FetchPlan

public class SpeedoFetchPlan
extends java.lang.Object
implements javax.jdo.FetchPlan

Author:
Y.Bersihand

Field Summary
 
Fields inherited from interface javax.jdo.FetchPlan
ALL, DEFAULT, FETCH_SIZE_GREEDY, FETCH_SIZE_OPTIMAL, NONE, VALUES
 
Constructor Summary
SpeedoFetchPlan()
           
SpeedoFetchPlan(java.lang.String fgName)
           
 
Method Summary
 javax.jdo.FetchPlan addGroup(java.lang.String fetchGroupName)
          Add a group into the fetch plan.
 javax.jdo.FetchPlan clearGroups()
           
 int getFetchSize()
           
 java.util.Collection getGroups()
           
 javax.jdo.FetchPlan removeGroup(java.lang.String fetchGroupName)
          Remove a group from the fetch plan.
 javax.jdo.FetchPlan setFetchSize(int fetchSize)
           
 javax.jdo.FetchPlan setGroup(java.lang.String fetchGroupName)
           
 javax.jdo.FetchPlan setGroups(java.util.Collection fetchGroupNames)
           
 javax.jdo.FetchPlan setGroups(java.lang.String[] fetchGroupNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpeedoFetchPlan

public SpeedoFetchPlan()

SpeedoFetchPlan

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

addGroup

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

Specified by:
addGroup in interface javax.jdo.FetchPlan

removeGroup

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

Specified by:
removeGroup in interface javax.jdo.FetchPlan

getGroups

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

setGroups

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

clearGroups

public javax.jdo.FetchPlan clearGroups()
Specified by:
clearGroups in interface javax.jdo.FetchPlan

setGroup

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

setGroups

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

setFetchSize

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

getFetchSize

public int getFetchSize()
Specified by:
getFetchSize in interface javax.jdo.FetchPlan