public enum CaseStatus extends Enum<CaseStatus>
Modifier and Type | Method and Description |
---|---|
static CaseStatus |
fromId(Integer id) |
static CaseStatus |
fromName(String name) |
Integer |
getId() |
String |
getLabel() |
String |
getName() |
static CaseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaseStatus OPEN
public static final CaseStatus CLOSED
public static final CaseStatus CANCELLED
public static CaseStatus[] values()
for (CaseStatus c : CaseStatus.values()) System.out.println(c);
public static CaseStatus 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 CaseStatus fromName(String name)
public static CaseStatus fromId(Integer id)
public String getLabel()
public String getName()
public Integer getId()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.