Primavera Integration API 7.0

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

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

public class EarnedValueComputeType
extends EnumType

Earned value compute type enumerations are used with projects and WBS to specify the technique used for computing earned-value percent complete for activities within the WBS. Valid values are 'Activity Percent Complete', '0 / 100', '50 / 50', 'Custom Percent Complete', 'WBS Milestones Percent Complete', and 'Activity Percent Complete Using Resource Curves'.

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 EarnedValueComputeType ACTIVITY_PERCENT_COMPLETE
           
static EarnedValueComputeType ACTIVITY_PERCENT_COMPLETE_USING_RESOURCE_CURVE
           
static EarnedValueComputeType CUSTOM_PERCENT_COMPLETE
           
static EarnedValueComputeType FIFTY_FIFTY
           
static EarnedValueComputeType NULL
           
static EarnedValueComputeType WBS_MILESTONES_PERCENT_COMPLETE
           
static EarnedValueComputeType ZERO_HUNDRED
           
 
Method Summary
 java.lang.String getDescription()
          Gets the description of this EarnedValueComputeType instance
static EarnedValueComputeType getEarnedValueComputeType(int iEarnedValueComputeType)
          Gets an instance of EarnedValueComputeType based on the integer value specified.
static EarnedValueComputeType getEarnedValueComputeType(java.lang.String sEarnedValueComputeType)
          Gets an instance of EarnedValueComputeType based on the String value specified.
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
 java.lang.String getValue()
          Gets the internal value of this EarnedValueComputeType 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 EarnedValueComputeType NULL

ACTIVITY_PERCENT_COMPLETE

public static final EarnedValueComputeType ACTIVITY_PERCENT_COMPLETE

ZERO_HUNDRED

public static final EarnedValueComputeType ZERO_HUNDRED

FIFTY_FIFTY

public static final EarnedValueComputeType FIFTY_FIFTY

CUSTOM_PERCENT_COMPLETE

public static final EarnedValueComputeType CUSTOM_PERCENT_COMPLETE

WBS_MILESTONES_PERCENT_COMPLETE

public static final EarnedValueComputeType WBS_MILESTONES_PERCENT_COMPLETE

ACTIVITY_PERCENT_COMPLETE_USING_RESOURCE_CURVE

public static final EarnedValueComputeType ACTIVITY_PERCENT_COMPLETE_USING_RESOURCE_CURVE
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 EarnedValueComputeType instance

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

getDescription

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

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

getEarnedValueComputeType

public static EarnedValueComputeType getEarnedValueComputeType(java.lang.String sEarnedValueComputeType)
Gets an instance of EarnedValueComputeType based on the String value specified.

Parameters:
sEarnedValueComputeType - the internal value or description
Returns:
EarnedValueComputeType the unique EarnedValueComputeType instance

getEarnedValueComputeType

public static EarnedValueComputeType getEarnedValueComputeType(int iEarnedValueComputeType)
Gets an instance of EarnedValueComputeType based on the integer value specified.

Parameters:
iEarnedValueComputeType - an integer representing a particular value of this class. This value is also used when exporting to XML.
Returns:
EarnedValueComputeType the unique EarnedValueComputeType 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.