public enum DepthValues extends Enum<DepthValues>
Enum Constant and Description |
---|
children
Loads / Fetches / Enriches the first level element(s) and its (their) children.
|
max
Loads / Fetches / Enriches the first level element(s), its (their) children, and the grandchildren.
|
root
Loads / Fetches / Enriches the first level element(s).
|
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Gets the corresponding depth value.
|
static DepthValues |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DepthValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DepthValues root
public static final DepthValues children
public static final DepthValues max
public static DepthValues[] values()
for (DepthValues c : DepthValues.values()) System.out.println(c);
public static DepthValues valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getDepth()
Copyright © 2015 Nuxeo SA. All rights reserved.