|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NodeExpandInfo
This interface describes the applicable links and expand method for a given node during traversal. The links are specified by returning a Vector of RoleExpandInfo objects. The expand method is specified by returning an Expander object .
A class implementing this interface could use either a static or dynamic approach. For example, a static approach could use a hash table to return the RoleExpandInfo. The hash table with the appropriate RoleExpandInfo objects for each type of node. An example of a dynamic implementation could be done using introspection to return all of the association links at runtime and convert them to RoleExpandInfo objects.
| Method Summary | |
|---|---|
Expander |
getExpander(Persistable obj)
Return an Expander for the specified node. |
Vector |
getRoleExpandInfos(Persistable obj)
Return a Vector of RoleExpandInfo objects for the specified node. |
| Method Detail |
|---|
Vector getRoleExpandInfos(Persistable obj)
throws WTException
obj -
WTException
Expander getExpander(Persistable obj)
throws WTException
obj -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||