|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FetchPlanMetadata
Represents a fetch plan for a class.
Method Summary | |
---|---|
FetchGroupMetadata[] |
getFetchGroups()
Accessor for all fetch groups defined for this fetch plan. |
int |
getFetchSize()
Accessor for the max fetch depth. |
int |
getMaxFetchDepth()
Accessor for the max fetch depth. |
java.lang.String |
getName()
Accessor for the fetch plan name (set on construction). |
int |
getNumberOfFetchGroups()
Accessor for the number of fetch groups defined for this fetch plan. |
FetchGroupMetadata |
newFetchGroupMetadata(java.lang.String name)
Add a new fetch group for this fetch plan. |
FetchPlanMetadata |
setFetchSize(int size)
Method to set the fetch size. |
FetchPlanMetadata |
setMaxFetchDepth(int depth)
Method to set the max fetch depth for this plan. |
Methods inherited from interface javax.jdo.metadata.Metadata |
---|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata |
Method Detail |
---|
java.lang.String getName()
FetchPlanMetadata setMaxFetchDepth(int depth)
depth
- The max fetch depthint getMaxFetchDepth()
FetchPlanMetadata setFetchSize(int size)
size
- The fetch sizeint getFetchSize()
FetchGroupMetadata[] getFetchGroups()
FetchGroupMetadata newFetchGroupMetadata(java.lang.String name)
name
- Name of fetch group.
int getNumberOfFetchGroups()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |