|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.ChangePackage.State
public static final class ChangePackage.State
The current state of the change package.
ChangePackage.Type.StateProperty,
ChangePackage.Type.PropertyCollection.STATE,
Serialized Form| Field Summary | |
|---|---|
static ChangePackage.State |
ACTIVE
An active ChangePackage. |
static ChangePackage.State[] |
ALL
|
static ChangePackage.State |
COMMITTED
A committed ChangePackage. |
static ChangePackage.State |
COMPARED
A compared ChangePackage. |
static ChangePackage.State |
NEW
A new ChangePackage. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this EnumeratedValue instance with another one. |
static ChangePackage.State |
fromID(int id)
Gets the State value corresponding to the given ID. |
static ChangePackage.State |
fromValue(EnumeratedValue value)
Gets the State 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 StateProperty. |
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 ChangePackage.State NEW
public static final ChangePackage.State COMPARED
public static final ChangePackage.State ACTIVE
public static final ChangePackage.State COMMITTED
public static final ChangePackage.State[] ALL
| Method Detail |
|---|
public int getID()
public int getCode()
getCode in class EnumeratedValuepublic static ChangePackage.State fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a StateProperty.
public static ChangePackage.State fromID(int id)
id - A State ID.
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 | ||||||||