public static enum NamedObject.NameType extends java.lang.Enum<NamedObject.NameType>
Enum Constant and Description |
---|
CALCULATED_NAME |
USER_DEFINED_NAME |
Modifier and Type | Method and Description |
---|---|
static NamedObject.NameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NamedObject.NameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamedObject.NameType CALCULATED_NAME
public static final NamedObject.NameType USER_DEFINED_NAME
public static NamedObject.NameType[] values()
for (NamedObject.NameType c : NamedObject.NameType.values()) System.out.println(c);
public static NamedObject.NameType 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 nullCopyright © 1998-2014 CA, Inc. All Rights Reserved.