Class StatusCompletion
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.StatusCompletion
Status Completion type enumerations are used with steps for specifying the completion status of
the step. Valid values are 'Activity Not Complete, Tasks Not Complete', 'Activity Not Complete,
Tasks Complete', 'Activity Complete, Tasks Not Complete', 'Activity Complete, Tasks Complete', 'No
Tasks Assigned'. Activity Not Complete, Tasks Not Complete appears if both the activity and all of
its tasks are not complete. Activity Not Complete, Tasks Complete appears if the activity is not
complete and all of its assigned tasks are complete. Activity Complete, Tasks Not Complete appears
if the activity is complete but all of its assigned tasks are not complete. Activity Complete,
Tasks Complete appears if both the activity and all of its tasks are complete. No Tasks Assigned
appears if no tasks are assigned to the activity.
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 StatusCompletionstatic final StatusCompletionstatic final StatusCompletionstatic final StatusCompletionstatic final StatusCompletionstatic final StatusCompletion -
Method Summary
Modifier and TypeMethodDescriptionGets the description of this StatusCompletion instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationstatic StatusCompletiongetStatusCompletion(int iStatusCompletion) Gets an instance of StatusCompletion based on the integer value specified.static StatusCompletiongetStatusCompletion(String sStatusCompletion) Gets an instance of StatusCompletion based on the String value specified.getValue()Gets the internal value of this StatusCompletion instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
BOTH_NOT_COMPLETE
-
TASK_COMPLETE_ACTIVITY_NOT
-
ACTIVITY_COMPLETE_TASK_NOT
-
BOTH_COMPLETE
-
NO_ACTIVITY
-
-
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 StatusCompletion instance -
getDescription
Gets the description of this StatusCompletion instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getStatusCompletion
Gets an instance of StatusCompletion based on the String value specified.- Parameters:
sStatusCompletion- the internal value or description- Returns:
- StatusCompletion the unique StatusCompletion instance
-
getStatusCompletion
Gets an instance of StatusCompletion based on the integer value specified.- Parameters:
iStatusCompletion- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- StatusCompletion the unique StatusCompletion 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
-