Class ApprovalStatus
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.ApprovalStatus
Approval Status enumerations are used with activity updates, assignment updates and step updates.
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
FieldsModifier and TypeFieldDescriptionstatic final ApprovalStatusstatic final ApprovalStatusstatic final ApprovalStatusstatic final ApprovalStatusstatic final ApprovalStatusstatic final ApprovalStatusstatic final ApprovalStatus -
Method Summary
Modifier and TypeMethodDescriptionstatic ApprovalStatusgetApprovalStatus(int iApprovalStatus) Gets an instance of ApprovalStatus based on the integer value specified.static ApprovalStatusgetApprovalStatus(String sApprovalStatus) Gets an instance of ApprovalStatus based on the String value specified.Gets the description of this ApprovalStatus instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationgetValue()Gets the internal value of this ApprovalStatus instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
PENDING
-
HELD
-
APPROVED
-
REJECTED
-
PARTIALLY_APPROVED
-
WITHDRAWN
-
-
Method Details
-
toString
Returns a string representation of the object, which is the same as the description returned by the getDescription() method -
getValue
Gets the internal value of this ApprovalStatus instance -
getDescription
Gets the description of this ApprovalStatus instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getApprovalStatus
Gets an instance of ApprovalStatus based on the String value specified.- Parameters:
sApprovalStatus- the internal value or description- Returns:
- ApprovalStatus the unique ApprovalStatus instance
-
getApprovalStatus
Gets an instance of ApprovalStatus based on the integer value specified.- Parameters:
iApprovalStatus- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- ApprovalStatus the unique ApprovalStatus instance
-
getEnumValues
Gets an array of all internal values for this enumeration- Returns:
- String[] an array of all internal values
-
getEnumDescriptions
Gets an array of all descriptions for this enumeration- Returns:
- String[] an array of all descriptions
-