|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.Task.Origin
public static final class Task.Origin
Task Origin
| Field Summary | |
|---|---|
static Task.Origin[] |
ALL
All possible Task Origins |
static Task.Origin |
MSPROJECT
Task was created in the application or exported to the application from Microsoft Project. |
static Task.Origin |
STARTEAM
Task created in StarTeam |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this Task Origins with the Object o |
static Task.Origin |
fromID(int id)
Gets the Origin value corresponding to the given ID. |
static Task.Origin |
fromValue(EnumeratedValue value)
Gets the Origin 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 OriginProperty. |
int |
hashCode()
Returns hashcode of the task origin |
| 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 Task.Origin STARTEAM
public static final Task.Origin MSPROJECT
public static final Task.Origin[] ALL
| Method Detail |
|---|
public int getID()
Task.Type.OriginProperty.NAMEpublic int getCode()
getCode in class EnumeratedValuepublic static Task.Origin fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a OriginProperty.
public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the Object to compare too for equality
public static Task.Origin fromID(int id)
id - An Origin ID.
public int hashCode()
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||