|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.User.GeographicTerritory
public static final class User.GeographicTerritory
The accessible territory for the logged in User Account.
| Field Summary | |
|---|---|
static User.GeographicTerritory[] |
ALL
All valid geographic territories |
static User.GeographicTerritory |
AMERICAS
Americas |
static User.GeographicTerritory |
ASIA
Asia |
static User.GeographicTerritory |
EUROPE
Europe |
static User.GeographicTerritory |
UNASSIGNED
Territory has not yet been assigned |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares two Geographic Territories for equality |
static User.GeographicTerritory |
fromID(int id)
Gets the GeographicTerritory value corresponding to the given ID. |
int |
getCode()
Return the enum code for this object. |
java.lang.String |
getDisplayName()
Returns the display name of the Geographic Territory. |
int |
getID()
The ID of the corresponding Territory |
java.lang.String |
getName()
The name of this Territory |
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, 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 User.GeographicTerritory UNASSIGNED
public static final User.GeographicTerritory AMERICAS
public static final User.GeographicTerritory EUROPE
public static final User.GeographicTerritory ASIA
public static final User.GeographicTerritory[] ALL
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getDisplayName()
getDisplayName in class EnumeratedValuepublic int getID()
public int getCode()
getCode in class EnumeratedValuepublic static User.GeographicTerritory fromID(int id)
id - A GeographicTerritory ID.
public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the object to compare
public int hashCode()
EnumeratedValue
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||