|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.User.License
public static final class User.License
The current license .
| Field Summary | |
|---|---|
static User.License[] |
ALL
All legal licenses |
static User.License |
LICENSE_SERVER
Borland License Server (BLS and BLS licenses are provided through Embarcadero Software) |
static User.License |
STARTEAM
StarTeam |
static User.License |
UNASSIGNED
License Unassigned |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this object with another License for equality |
static User.License |
fromID(int id)
Gets the LicenseType 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 License. |
int |
getID()
The ID of the corresponding License |
java.lang.String |
getName()
A friendly name for this license |
int |
hashCode()
Returns a hashCode for this License |
| 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.License STARTEAM
public static final User.License LICENSE_SERVER
public static final User.License UNASSIGNED
public static final User.License[] ALL
| Method Detail |
|---|
public int getCode()
getCode in class EnumeratedValuepublic java.lang.String getName()
public java.lang.String getDisplayName()
getDisplayName in class EnumeratedValuepublic int getID()
public static User.License fromID(int id)
id - A LicenseType ID.
public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the Object to compare
public int hashCode()
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||