70 words

setRecursionDepth(memberName, recursionDepth) - JDO FetchGroup's method

Method
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
Returns:
the FetchGroup
Throws:
JDOUserException - if the member does not exist
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.