com.ibm.websphere.appprofile.accessintent
Interface ReadAheadItem
- public interface ReadAheadItem
To cause a Department's employees to be read ahead along with each Department, you need an instance of this class with a path expression of "employees". To read-ahead only employees' addresses, you instead need an instance of this class with a path expression of "employees.address". To read both employees and their addressses, you need both these instances. A path expression must always begin with a CMR name defined in the bean type returned by the finder being executed. Each subsequent CMR name must be defined in the bean type of the preceeding relationship.
ReadAheadItems are collected in a ReadAheadHint, which describes the complete set of beans to be read ahead when a given finder is executed.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getLastRoleName()
Return the last role name within our path.
|
|
getNextRoleName()
|
getParentItem()
Return a ReadAheadItem which is the same as this one but with the final role name removed.
|
|
|
resetCursor()
Reset the cursor on our path expression.
|
Method Detail
getNextRoleName
- java.lang.String getNextRoleName( )
resetCursor
- void resetCursor()
getLastRoleName
- java.lang.String getLastRoleName( )
getParentItem
- ReadAheadItem getParentItem()