Class TaskStatusCompletion

java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.TaskStatusCompletion

public class TaskStatusCompletion extends EnumType
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 Details

  • Method Details

    • toString

      public 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 Object
      Returns:
      String a string representation of the object
    • getValue

      public String getValue()
      Gets the internal value of this TaskStatusCompletion instance
      Specified by:
      getValue in class EnumType
      Returns:
      String the internal value
    • getDescription

      public String getDescription()
      Gets the description of this TaskStatusCompletion instance
      Specified by:
      getDescription in class EnumType
      Returns:
      String the description
    • getTaskStatusCompletion

      public static TaskStatusCompletion getTaskStatusCompletion(String sTaskStatusCompletion)
      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

      public static TaskStatusCompletion getTaskStatusCompletion(int iTaskStatusCompletion)
      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

      public static String[] getEnumValues()
      Gets an array of all internal values for this enumeration
      Returns:
      String[] an array of all internal values
    • getEnumDescriptions

      public static String[] getEnumDescriptions()
      Gets an array of all descriptions for this enumeration
      Returns:
      String[] an array of all descriptions