org.objectweb.speedo.mim.lib
Class SpeedoFetchPlan

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

public class SpeedoFetchPlan
extends java.lang.Object
implements 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
 FetchPlan addGroup(java.lang.String fetchGroupName)
          Add a group into the fetch plan.
 FetchPlan clearGroups()
           
 int getFetchSize()
           
 java.util.Collection getGroups()
           
 FetchPlan removeGroup(java.lang.String fetchGroupName)
          Remove a group from the fetch plan.
 FetchPlan setFetchSize(int fetchSize)
           
 FetchPlan setGroup(java.lang.String fetchGroupName)
           
 FetchPlan setGroups(java.util.Collection fetchGroupNames)
           
 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 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