public enum HoldMode extends Enum<HoldMode> implements AbstractEnumeration
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
AbstractEnumeration |
getKey(String code) |
String |
toString() |
static HoldMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoldMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HoldMode CHANGE
public static final HoldMode ADD
public static final HoldMode DELETE
public static HoldMode[] values()
for (HoldMode c : HoldMode.values()) System.out.println(c);
public static HoldMode 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<HoldMode>
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.