public enum ContractStatusEnum extends java.lang.Enum<ContractStatusEnum>
Enum Constant and Description |
---|
Active |
Expired |
Reject |
Terminated |
Modifier and Type | Method and Description |
---|---|
static ContractStatusEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContractStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContractStatusEnum Active
public static final ContractStatusEnum Terminated
public static final ContractStatusEnum Expired
public static final ContractStatusEnum Reject
public static ContractStatusEnum[] values()
for (ContractStatusEnum c : ContractStatusEnum.values()) System.out.println(c);
public static ContractStatusEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null