|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.LicenseType
public class LicenseType
License type enumerations are used with user licenses for allowing users to access specific products. Valid values are 'Project Management', 'Timesheets', 'Team Member', 'Web Portfolios', 'Web Projects', 'Web Resources', 'Integration API' and 'Web Services'. 'Portfolio Analysis' is deprecated and no longer supported.
To use an enumeration in a where clause, make sure you use the internal database value. This can be retrieved from a particular enum instance by calling getValue().
Field Summary | |
---|---|
static LicenseType |
INTEGRATION_API
|
static LicenseType |
MYPRIMAVERA_PORTFOLIOS
|
static LicenseType |
MYPRIMAVERA_PROJECTS
|
static LicenseType |
MYPRIMAVERA_RESOURCES
|
static LicenseType |
NULL
|
static LicenseType |
PORTFOLIO_ANALYSIS
|
static LicenseType |
PROJECT_MANAGEMENT
|
static LicenseType |
TEAM_MEMBER
|
static LicenseType |
TIMESHEETS
|
static LicenseType |
WEB_SERVICES
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Gets the description of this LicenseType instance |
static java.lang.String[] |
getEnumDescriptions()
Gets an array of all descriptions for this enumeration |
static java.lang.String[] |
getEnumValues()
Gets an array of all internal values for this enumeration |
static LicenseType |
getLicenseType(int iLicenseType)
Gets an instance of LicenseType based on the integer value specified. |
static LicenseType |
getLicenseType(java.lang.String sLicenseType)
Gets an instance of LicenseType based on the String value specified. |
java.lang.String |
getValue()
Gets the internal value of this LicenseType instance |
java.lang.String |
toString()
Returns a string representation of the object, which is the same as the description returned by the getDescription() method |
Methods inherited from class com.primavera.integration.client.bo.enm.EnumType |
---|
equals, hashCode, intValue |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LicenseType NULL
public static final LicenseType PROJECT_MANAGEMENT
public static final LicenseType PORTFOLIO_ANALYSIS
public static final LicenseType TEAM_MEMBER
public static final LicenseType MYPRIMAVERA_PORTFOLIOS
public static final LicenseType MYPRIMAVERA_PROJECTS
public static final LicenseType MYPRIMAVERA_RESOURCES
public static final LicenseType INTEGRATION_API
public static final LicenseType TIMESHEETS
public static final LicenseType WEB_SERVICES
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getValue()
getValue
in class EnumType
public java.lang.String getDescription()
getDescription
in class EnumType
public static LicenseType getLicenseType(java.lang.String sLicenseType)
sLicenseType
- the internal value or description
public static LicenseType getLicenseType(int iLicenseType)
iLicenseType
- an integer representing a particular value of this class. This value is also used when exporting to XML.
public static java.lang.String[] getEnumValues()
public static java.lang.String[] getEnumDescriptions()
|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |