public enum CaseStatus extends Enum<CaseStatus>
Modifier and Type | Method and Description |
---|---|
static CaseStatus |
fromId(int id) |
static List<CaseStatus> |
fromIdList(List<Integer> idList) |
static CaseStatus |
fromName(String name) |
static List<CaseStatus> |
fromNameList(List<String> nameList) |
int |
getId() |
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 int getId()
public String getName()
public static CaseStatus fromId(int id)
public static CaseStatus fromName(String name)
public static List<CaseStatus> fromIdList(List<Integer> idList)
public static List<CaseStatus> fromNameList(List<String> nameList)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.