Class ActivityStatus
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.ActivityStatus
Activity status enumerations are used with activities. The current status of the activity can be
'Not Started', 'In Progress', or 'Completed'.
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 ActivityStatusstatic final ActivityStatusstatic final ActivityStatusstatic final ActivityStatus -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivityStatusgetActivityStatus(int iActivityStatus) Gets an instance of ActivityStatus based on the integer value specified.static ActivityStatusgetActivityStatus(String sActivityStatus) Gets an instance of ActivityStatus based on the String value specified.Gets the description of this ActivityStatus 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 ActivityStatus instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
NOT_STARTED
-
IN_PROGRESS
-
COMPLETED
-
-
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 ActivityStatus instance -
getDescription
Gets the description of this ActivityStatus instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getActivityStatus
Gets an instance of ActivityStatus based on the String value specified.- Parameters:
sActivityStatus- the internal value or description- Returns:
- ActivityStatus the unique ActivityStatus instance
-
getActivityStatus
Gets an instance of ActivityStatus based on the integer value specified.- Parameters:
iActivityStatus- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- ActivityStatus the unique ActivityStatus 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
-