|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ProposalStatus> edu.nrao.sss.model.proposal.ProposalStatus
public enum ProposalStatus
Placeholder for time when we integrate proposal work. An enumeration of proposal statuses.
Enum Constant Summary | |
---|---|
ACCEPTED
Signifies that the given Proposal has been accepted. |
|
DRAFT
Signifies that the given Proposal is a draft. |
|
EVALUATE
Signifies that the given Proposal is currently being evaluated. |
|
FINISHED
Signifies that the given Proposal has been completed. |
|
REFEREE
Signifies that the given Proposal is in the hands of a referee. |
|
REJECTED
Signifies that the given Proposal has been rejected. |
|
RELEASE
Signifies that the given Proposal ??? |
|
SCHEDULE
Signifies that the given Proposal is scheduled for execution. |
|
SUBMITTED
Signifies that the given Proposal has been submitted for approval. |
|
UNKNOWN
An unknown proposal status. |
|
WITHDRAWN
Signifies that the given Proposal has been withdrawn from consideration. |
Method Summary | |
---|---|
static ProposalStatus |
fromString(String text)
Returns the proposal status represented by text . |
static ProposalStatus |
getDefault()
Returns a default proposal status. |
String |
toString()
Returns a text representation of this enumeration constant. |
static ProposalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProposalStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ProposalStatus DRAFT
Proposal
is a draft.
public static final ProposalStatus SUBMITTED
Proposal
has been submitted for approval.
public static final ProposalStatus WITHDRAWN
Proposal
has been withdrawn from consideration.
public static final ProposalStatus REFEREE
Proposal
is in the hands of a referee.
public static final ProposalStatus EVALUATE
Proposal
is currently being evaluated.
public static final ProposalStatus ACCEPTED
Proposal
has been accepted.
public static final ProposalStatus REJECTED
Proposal
has been rejected.
public static final ProposalStatus SCHEDULE
Proposal
is scheduled for execution.
public static final ProposalStatus FINISHED
Proposal
has been completed.
public static final ProposalStatus RELEASE
Proposal
???
public static final ProposalStatus UNKNOWN
Method Detail |
---|
public static ProposalStatus[] values()
for (ProposalStatus c : ProposalStatus.values()) System.out.println(c);
public static ProposalStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ProposalStatus getDefault()
public String toString()
toString
in class Enum<ProposalStatus>
public static ProposalStatus fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a proposal status.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |