Class TaskStatusCompletion
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.TaskStatusCompletion
Task Status Completion type enumerations are used with activities for specifying the completion
status of the activity and it's task. 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 TaskStatusCompletionstatic final TaskStatusCompletionstatic final TaskStatusCompletionstatic final TaskStatusCompletionstatic final TaskStatusCompletionstatic final TaskStatusCompletion -
Method Summary
Modifier and TypeMethodDescriptionGets the description of this TaskStatusCompletion instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationstatic TaskStatusCompletiongetTaskStatusCompletion(int iTaskStatusCompletion) Gets an instance of TaskStatusCompletion based on the integer value specified.static TaskStatusCompletiongetTaskStatusCompletion(String sTaskStatusCompletion) Gets an instance of TaskStatusCompletion based on the String value specified.getValue()Gets the internal value of this TaskStatusCompletion 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
-
TASKS_COMPLETE_ACTIVITY_NOT
-
ACTIVITY_COMPLETE_TASKS_NOT
-
BOTH_COMPLETE
-
NO_TASKS
-
-
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 TaskStatusCompletion instance -
getDescription
Gets the description of this TaskStatusCompletion instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getTaskStatusCompletion
Gets an instance of TaskStatusCompletion based on the String value specified.- Parameters:
sTaskStatusCompletion- the internal value or description- Returns:
- TaskStatusCompletion the unique TaskStatusCompletion instance
-
getTaskStatusCompletion
Gets an instance of TaskStatusCompletion based on the integer value specified.- Parameters:
iTaskStatusCompletion- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- TaskStatusCompletion the unique TaskStatusCompletion 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
-