public static enum HasParentChildAttribute.ParentChildEnum extends java.lang.Enum<HasParentChildAttribute.ParentChildEnum>
Enum Constant and Description |
---|
CHILDREN_FIRST
The children first.
|
PARENT_FIRST
The parent first.
|
UNDEFINED
The undefined.
|
Modifier and Type | Method and Description |
---|---|
static HasParentChildAttribute.ParentChildEnum |
parse(java.lang.String value)
if the value is "parent-first" the PARENT_FIRST enumeration constant is returned
if the value is "children-first" the CHILDREN_FIRST enumeration constant is returned
in any other case, including the null value, the UNDEFINED constant is returned.
|
java.lang.String |
toString()
To string.
|
static HasParentChildAttribute.ParentChildEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HasParentChildAttribute.ParentChildEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HasParentChildAttribute.ParentChildEnum UNDEFINED
public static final HasParentChildAttribute.ParentChildEnum PARENT_FIRST
public static final HasParentChildAttribute.ParentChildEnum CHILDREN_FIRST
public static HasParentChildAttribute.ParentChildEnum[] values()
for (HasParentChildAttribute.ParentChildEnum c : HasParentChildAttribute.ParentChildEnum.values()) System.out.println(c);
public static HasParentChildAttribute.ParentChildEnum 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 nullpublic static HasParentChildAttribute.ParentChildEnum parse(java.lang.String value)
value
- the valuepublic java.lang.String toString()
toString
in class java.lang.Enum<HasParentChildAttribute.ParentChildEnum>
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa