|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.clm.pages.clm.ClmClientAccessLicense
public class ClmClientAccessLicense
Manage the CLM Client Access License.
Basically defined by its type (or name), a CAL also belongs to an application.
Constructor Summary | |
---|---|
ClmClientAccessLicense(java.lang.String name)
|
|
ClmClientAccessLicense(java.lang.String name,
int productAccess)
|
|
ClmClientAccessLicense(java.lang.String name,
java.lang.String key,
int productAccess)
|
Method Summary | |
---|---|
int |
compareTo(ClmClientAccessLicense o)
|
boolean |
equals(java.lang.Object obj)
|
int |
getAssigned()
|
java.util.Date |
getExpires()
|
java.lang.String |
getProductName()
|
boolean |
getStatus()
|
int |
getTotal()
|
java.lang.String |
getType()
|
java.lang.String |
getVariant()
|
double |
getVersion()
|
int |
hashCode()
|
boolean |
hasQmReadAccess()
Tells whether the current license gives QM read access. |
boolean |
hasQmWriteAccess()
Tells whether the current license gives QM write access. |
boolean |
hasRmReadAccess()
Tells whether the current license gives RM read access. |
boolean |
hasRmWriteAccess()
Tells whether the current license gives RM write access. |
boolean |
hasRtcReadAccess(ClmLicensingConstants.RtcLicenseArea area)
Tells whether the current license gives RTC read access. |
boolean |
hasRtcWriteAccess(ClmLicensingConstants.RtcLicenseArea area)
Tells whether the current license gives RTC write access. |
java.lang.String |
key()
Returns the license key. |
void |
setAssigned(int assigned)
|
void |
setExpires(java.util.Date expires)
|
void |
setStatus(boolean status)
|
void |
setTotal(int total)
|
void |
setVariant(java.lang.String variant)
|
void |
setVersion(double version)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClmClientAccessLicense(java.lang.String name)
public ClmClientAccessLicense(java.lang.String name, int productAccess)
public ClmClientAccessLicense(java.lang.String name, java.lang.String key, int productAccess)
Method Detail |
---|
public int compareTo(ClmClientAccessLicense o)
compareTo
in interface java.lang.Comparable<ClmClientAccessLicense>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int getAssigned()
public java.util.Date getExpires()
public java.lang.String getProductName()
public boolean getStatus()
public int getTotal()
public java.lang.String getType()
public java.lang.String getVariant()
public double getVersion()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String key()
The key is based on the name using the following algorithm:
There's one exception for "Rational Team Concert - Developer for IBM Enterprise Platforms" license which key is "rtcDeveIEP".
public boolean hasQmReadAccess()
true
if it does give access to read QM resources,
false
otherwise.public boolean hasQmWriteAccess()
true
if it does give access to create or modify QM
resources, false
otherwise.public boolean hasRmReadAccess()
true
if it does give access to read RM resources,
false
otherwise.public boolean hasRmWriteAccess()
true
if it does give access to create or modify RM
resources, false
otherwise.public boolean hasRtcReadAccess(ClmLicensingConstants.RtcLicenseArea area)
true
if it does give access to read RTC resources,
false
otherwise.public boolean hasRtcWriteAccess(ClmLicensingConstants.RtcLicenseArea area)
true
if it does give access to create or modify RTC
resources, false
otherwise.public void setAssigned(int assigned)
public void setExpires(java.util.Date expires)
public void setStatus(boolean status)
public void setTotal(int total)
public void setVariant(java.lang.String variant)
public void setVersion(double version)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |