61 words

addCategory(categoryName) - JDO FetchGroup's method

Method
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.
Parameters:
categoryName -
Returns:
the FetchGroup
Throws:
JDOUserException - if the FetchGroup is unmodifiable
Since:
JDO 2.2

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.