public enum ObjectLocationSpecificationMethod extends Enum<ObjectLocationSpecificationMethod>
Enum Constant and Description |
---|
FILENAME |
REPOSITORY_BY_NAME |
REPOSITORY_BY_REFERENCE |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDescription() |
String[] |
getDescriptions() |
static ObjectLocationSpecificationMethod |
getSpecificationMethodByCode(String code) |
static ObjectLocationSpecificationMethod |
getSpecificationMethodByDescription(String description) |
static ObjectLocationSpecificationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectLocationSpecificationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectLocationSpecificationMethod FILENAME
public static final ObjectLocationSpecificationMethod REPOSITORY_BY_NAME
public static final ObjectLocationSpecificationMethod REPOSITORY_BY_REFERENCE
public static ObjectLocationSpecificationMethod[] values()
for (ObjectLocationSpecificationMethod c : ObjectLocationSpecificationMethod.values()) System.out.println(c);
public static ObjectLocationSpecificationMethod 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 String getCode()
public String getDescription()
public String[] getDescriptions()
public static ObjectLocationSpecificationMethod getSpecificationMethodByCode(String code)
public static ObjectLocationSpecificationMethod getSpecificationMethodByDescription(String description)