public interface FetchGroupTracker
Purpose: The fetch group tracker interface provides a set of APIs which the domain object must implement, in order to take advantage of the TopLink fetch group performance enhancement feature.
FetchGroup
Modifier and Type | Method and Description |
---|---|
FetchGroup |
getFetchGroup()
Return the fetch group being tracked
|
boolean |
isAttributeFetched(java.lang.String attribute)
Return true if the attribute is in the fetch group being tracked.
|
void |
resetFetchGroup()
Reset all attributes of the tracked object to the unfetched state with initial default values.
|
void |
setFetchGroup(FetchGroup group)
Set a fetch group to be tracked.
|
void |
setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup)
Set true if the fecth group attributes should be refreshed
|
boolean |
shouldRefreshFetchGroup()
Return true if the fecth group attributes should be refreshed
|
FetchGroup getFetchGroup()
void setFetchGroup(FetchGroup group)
boolean isAttributeFetched(java.lang.String attribute)
void resetFetchGroup()
boolean shouldRefreshFetchGroup()
void setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup)