JDO Method
in javax.jdo.FetchGroup

FetchGroup addCategory(
  String categoryName
)


Add the members (fields or properties) of the named category to the set of members in this FetchGroup. This method first resolves the category name to a set of members and then adds the members as if addMembers was called. After this method executes, the category is not remembered.
Return:
the FetchGroup
Throws:
JDOUserException - if the FetchGroup is unmodifiable
Since:
JDO 2.2