JDO Method
in javax.jdo.FetchGroup

FetchGroup setRecursionDepth(
  String memberName, 
  int recursionDepth
)


Set the recursion-depth for this member. The default is 1. A value of 0 means don't fetch the member (as if the member were omitted entirely). A value of -1 means fetch all instances reachable via this member.
Parameters:
memberName - the name of the field or property
recursionDepth - the value for the recursion-depth property
Return:
the FetchGroup
Throws:
JDOUserException - if the member does not exist
JDOUserException - if the FetchGroup is unmodifiable
Since:
JDO 2.2