setRecursionDepth(memberName, recursionDepth) - JDO FetchGroup's method
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