Primavera Integration API Release 8

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

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

public class ImpactLevel
extends EnumType

The level of the cost/schedule/user-defined impacts.

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 ImpactLevel EIGHT
           
static ImpactLevel FIVE
           
static ImpactLevel FOUR
           
static ImpactLevel NINE
           
static ImpactLevel NULL
           
static ImpactLevel SEVEN
           
static ImpactLevel SIX
           
static ImpactLevel THREE
           
static ImpactLevel TWO
           
 
Method Summary
 String getDescription()
          Gets the description of this ImpactLevel instance
static String[] getEnumDescriptions()
          Gets an array of all descriptions for this enumeration
static String[] getEnumValues()
          Gets an array of all internal values for this enumeration
static ImpactLevel getImpactLevel(int iImpactLevel)
          Gets an instance of ImpactLevel based on the integer value specified.
static ImpactLevel getImpactLevel(String sImpactLevel)
          Gets an instance of ImpactLevel based on the String value specified.
 String getValue()
          Gets the internal value of this ImpactLevel instance
 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 ImpactLevel NULL

TWO

public static final ImpactLevel TWO

THREE

public static final ImpactLevel THREE

FOUR

public static final ImpactLevel FOUR

FIVE

public static final ImpactLevel FIVE

SIX

public static final ImpactLevel SIX

SEVEN

public static final ImpactLevel SEVEN

EIGHT

public static final ImpactLevel EIGHT

NINE

public static final ImpactLevel NINE
Method Detail

toString

public 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 Object
Returns:
String a string representation of the object

getValue

public String getValue()
Gets the internal value of this ImpactLevel instance

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

getDescription

public String getDescription()
Gets the description of this ImpactLevel instance

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

getImpactLevel

public static ImpactLevel getImpactLevel(String sImpactLevel)
Gets an instance of ImpactLevel based on the String value specified.

Parameters:
sImpactLevel - the internal value or description
Returns:
ImpactLevel the unique ImpactLevel instance

getImpactLevel

public static ImpactLevel getImpactLevel(int iImpactLevel)
Gets an instance of ImpactLevel based on the integer value specified.

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

getEnumValues

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

Returns:
String[] an array of all internal values

getEnumDescriptions

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

Returns:
String[] an array of all descriptions

Primavera Integration API Release 8

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