Primavera Integration API 7.0

com.primavera.integration.client.bo.enm
Class LicenseType

java.lang.Object
  extended by com.primavera.integration.client.bo.enm.EnumType
      extended by com.primavera.integration.client.bo.enm.LicenseType

public class LicenseType
extends EnumType

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

NULL

public static final LicenseType NULL

PROJECT_MANAGEMENT

public static final LicenseType PROJECT_MANAGEMENT

PORTFOLIO_ANALYSIS

public static final LicenseType PORTFOLIO_ANALYSIS

TEAM_MEMBER

public static final LicenseType TEAM_MEMBER

MYPRIMAVERA_PORTFOLIOS

public static final LicenseType MYPRIMAVERA_PORTFOLIOS

MYPRIMAVERA_PROJECTS

public static final LicenseType MYPRIMAVERA_PROJECTS

MYPRIMAVERA_RESOURCES

public static final LicenseType MYPRIMAVERA_RESOURCES

INTEGRATION_API

public static final LicenseType INTEGRATION_API

TIMESHEETS

public static final LicenseType TIMESHEETS

WEB_SERVICES

public static final LicenseType WEB_SERVICES
Method Detail

toString

public java.lang.String toString()
Returns a string representation of the object, which is the same as the description returned by the getDescription() method

Overrides:
toString in class java.lang.Object
Returns:
String a string representation of the object

getValue

public java.lang.String getValue()
Gets the internal value of this LicenseType instance

Specified by:
getValue in class EnumType
Returns:
String the internal value

getDescription

public java.lang.String getDescription()
Gets the description of this LicenseType instance

Specified by:
getDescription in class EnumType
Returns:
String the description

getLicenseType

public static LicenseType getLicenseType(java.lang.String sLicenseType)
Gets an instance of LicenseType based on the String value specified.

Parameters:
sLicenseType - the internal value or description
Returns:
LicenseType the unique LicenseType instance

getLicenseType

public static LicenseType getLicenseType(int iLicenseType)
Gets an instance of LicenseType based on the integer value specified.

Parameters:
iLicenseType - an integer representing a particular value of this class. This value is also used when exporting to XML.
Returns:
LicenseType the unique LicenseType instance

getEnumValues

public static java.lang.String[] getEnumValues()
Gets an array of all internal values for this enumeration

Returns:
String[] an array of all internal values

getEnumDescriptions

public static java.lang.String[] getEnumDescriptions()
Gets an array of all descriptions for this enumeration

Returns:
String[] an array of all descriptions

Primavera Integration API 7.0

Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.