|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.Requirement.Priority
public static final class Requirement.Priority
Priority of the Requirement
| Field Summary | |
|---|---|
static Requirement.Priority[] |
ALL
All legal Priority Values |
static Requirement.Priority |
DESIRABLE
Priority of the requirement is desirable |
static Requirement.Priority |
ESSENTIAL
Priority of the requirement is essential |
static Requirement.Priority |
UNASSIGNED
Priority of the requirement is unassigned |
static Requirement.Priority |
USEFUL
Priority of the requirement is useful |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this EnumeratedValue instance with another one. |
static Requirement.Priority |
fromID(int id)
Gets the Priority value corresponding to the given ID. |
static Requirement.Priority |
fromValue(EnumeratedValue value)
Gets the Priority value corresponding to the given EnumeratedValue. |
int |
getCode()
Return the enum code for this object. |
int |
getID()
The ID of the corresponding EnumeratedValue, as defined in PriorityProperty. |
int |
hashCode()
returns a unique hash for this instance |
| Methods inherited from class com.starteam.EnumeratedValue |
|---|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayName, getDisplayNameTranslations, getInternalName, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Requirement.Priority UNASSIGNED
public static final Requirement.Priority ESSENTIAL
public static final Requirement.Priority USEFUL
public static final Requirement.Priority DESIRABLE
public static final Requirement.Priority[] ALL
| Method Detail |
|---|
public int getID()
Requirement.Type.PriorityProperty.NAMEpublic int getCode()
getCode in class EnumeratedValuepublic static Requirement.Priority fromID(int id)
id - A Priority ID.
public static Requirement.Priority fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a PriorityProperty.
public boolean equals(java.lang.Object o)
EnumeratedValue
equals in class EnumeratedValueo - The other EnumeratedValue instance
public int hashCode()
EnumeratedValue
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||