public enum HoldType extends Enum<HoldType> implements AbstractEnumeration
Enum Constant and Description |
---|
ANY_COPY |
OTHER |
SPECIFIC_COPY |
SUBLOCATION_COPY |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
AbstractEnumeration |
getKey(String code) |
String |
toString() |
static HoldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HoldType OTHER
public static final HoldType ANY_COPY
public static final HoldType SPECIFIC_COPY
public static final HoldType SUBLOCATION_COPY
public static HoldType[] values()
for (HoldType c : HoldType.values()) System.out.println(c);
public static HoldType 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 toString()
toString
in interface AbstractEnumeration
toString
in class Enum<HoldType>
public final String getCode()
getCode
in interface AbstractEnumeration
public final AbstractEnumeration getKey(String code)
getKey
in interface AbstractEnumeration
Copyright © 2004–2016 Ceridwen Limited. All rights reserved.