org.zeroexchange.model.collaboration
Enum ContractStatus
java.lang.Object
java.lang.Enum<ContractStatus>
org.zeroexchange.model.collaboration.ContractStatus
- All Implemented Interfaces:
- Serializable, Comparable<ContractStatus>
public enum ContractStatus
- extends Enum<ContractStatus>
Possible contract statuses.
- Author:
- black
Method Summary |
static ContractStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ContractStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
UNCOMPLETED
public static final ContractStatus UNCOMPLETED
READY
public static final ContractStatus READY
ACCEPTED
public static final ContractStatus ACCEPTED
EXECUTED
public static final ContractStatus EXECUTED
COMPLETED
public static final ContractStatus COMPLETED
values
public static ContractStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ContractStatus c : ContractStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ContractStatus valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013. All Rights Reserved.