org.compiere.vos
Enum NodeVO.Mode
java.lang.Object
java.lang.Enum<NodeVO.Mode>
org.compiere.vos.NodeVO.Mode
- All Implemented Interfaces:
- Serializable, Comparable<NodeVO.Mode>
- Enclosing class:
- NodeVO
public static enum NodeVO.Mode
- extends Enum<NodeVO.Mode>
|
Method Summary |
static NodeVO.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeVO.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
UNSPECIFIED
public static final NodeVO.Mode UNSPECIFIED
CREATE
public static final NodeVO.Mode CREATE
SINGLE
public static final NodeVO.Mode SINGLE
MULTI
public static final NodeVO.Mode MULTI
values
public static NodeVO.Mode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (NodeVO.Mode c : NodeVO.Mode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NodeVO.Mode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.