public enum ChildrenPropertyMode extends java.lang.Enum<ChildrenPropertyMode> implements ValueEnum
Enum Constant and Description |
---|
ANY
assume the first object or array value we find is the children property
|
ARRAY
assume the first array we find is the children property, no matter the contents
|
OBJECT
assume the first object or array of objects we find is the children property (don't allow arrays that don't have
objects)
|
OBJECTARRAY
accept only an array of objects as the children property
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ChildrenPropertyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChildrenPropertyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChildrenPropertyMode ANY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "any".
public static final ChildrenPropertyMode ARRAY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "array".
public static final ChildrenPropertyMode OBJECT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "object".
public static final ChildrenPropertyMode OBJECTARRAY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "objectArray".
public static ChildrenPropertyMode[] values()
for (ChildrenPropertyMode c : ChildrenPropertyMode.values()) System.out.println(c);
public static ChildrenPropertyMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null