public enum EntityStatus extends Enum<EntityStatus>
Modifier and Type | Method and Description |
---|---|
char |
getInitial() |
String |
getMessageKey() |
static EntityStatus |
valueOf(char initial) |
static EntityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityStatus ACTIVE
public static final EntityStatus READONLY
public static final EntityStatus OBSOLETE
public static EntityStatus[] values()
for (EntityStatus c : EntityStatus.values()) System.out.println(c);
public static EntityStatus 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 static EntityStatus valueOf(char initial)
public String getMessageKey()
public char getInitial()
Copyright © 2013 Zanata Project. All Rights Reserved.