|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.fopps.model.ProjectStatus
ProjectStatus represents all possible states of a project.
| Field Summary | |
static int |
_BLOCKED
|
static int |
_FINISHED
|
static int |
_IN_PROGRESS_25
|
static int |
_IN_PROGRESS_50
|
static int |
_IN_PROGRESS_75
|
static int |
_NOT_STARTED
|
static ProjectStatus |
Blocked
|
static ProjectStatus |
Finished
|
static ProjectStatus |
InProgress25
|
static ProjectStatus |
InProgress50
|
static ProjectStatus |
InProgress75
|
static ProjectStatus[] |
INSTANCES
|
static int |
MAX_VALUE
|
static ProjectStatus |
NotStarted
|
static java.lang.String[] |
VERBOSE
|
| Method Summary | |
static ProjectStatus |
byString(java.lang.String pType)
Return the instance to a given string value. |
java.lang.Object |
getDefault()
Returns the default value of the enumeration |
java.lang.Object[] |
getInstances()
Returns all possible instances of this enumeration |
int |
getValue()
Returns the numeric representation of the enumeration |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int _NOT_STARTED
public static final int _IN_PROGRESS_25
public static final int _IN_PROGRESS_50
public static final int _IN_PROGRESS_75
public static final int _FINISHED
public static final int _BLOCKED
public static final int MAX_VALUE
public static final ProjectStatus NotStarted
public static final ProjectStatus InProgress25
public static final ProjectStatus InProgress50
public static final ProjectStatus InProgress75
public static final ProjectStatus Finished
public static final ProjectStatus Blocked
public static final java.lang.String[] VERBOSE
public static final ProjectStatus[] INSTANCES
| Method Detail |
public static ProjectStatus byString(java.lang.String pType)
public int getValue()
getValue in interface Enumpublic java.lang.Object[] getInstances()
getInstances in interface Enumpublic java.lang.Object getDefault()
getDefault in interface Enumpublic java.lang.String toString()
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||