Class StatusCompletion

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

public class StatusCompletion extends EnumType
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 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 StatusCompletion instance
      Specified by:
      getValue in class EnumType
      Returns:
      String the internal value
    • getDescription

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

      public static StatusCompletion getStatusCompletion(String sStatusCompletion)
      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

      public static StatusCompletion getStatusCompletion(int iStatusCompletion)
      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

      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