Class ActivityType
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.ActivityType
Activity type enumerations are used with activities. They are also used with projects and baseline
projects for specifying the activity default activity type. The type can be 'Task Dependent',
'Resource Dependent', 'Level of Effort', 'Milestone', or 'WBS Summary'. A 'Task Dependent'
activity is scheduled using the activity's calendar rather than the calendars of the assigned
resources. A 'Resource Dependent' activity is scheduled using the calendars of the assigned
resources. This type is used when several resources are assigned to the activity, but they may
work separately. A 'Milestone' is a zero-duration activity without resources, marking a
significant project event. A 'Level of Effort' activity has a duration that is determined by its
dependent activities. Administration-type activities are typically 'Level of Effort'. A 'WBS
Summary' activity provides rollup for a group of activities that share a common WBS level
(determined by the WBS code). The duration of the activity is determined by the earliest start of
all the activities within the group and latest finish of all the activities in the group. These
dates are not live rollups, they are calculated during schedule time. Constraints and expected
finish dates are not allowed on WBS Summary activities.
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 ActivityTypestatic final ActivityTypestatic final ActivityTypestatic final ActivityTypestatic final ActivityTypestatic final ActivityTypestatic final ActivityType -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivityTypegetActivityType(int iActivityType) Gets an instance of ActivityType based on the integer value specified.static ActivityTypegetActivityType(String sActivityType) Gets an instance of ActivityType based on the String value specified.Gets the description of this ActivityType 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 ActivityType instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
TASK_DEPENDENT
-
RESOURCE_DEPENDENT
-
LEVEL_OF_EFFORT
-
MILESTONE
-
FINISH_MILESTONE
-
WBS_SUMMARY
-
-
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 ActivityType instance -
getDescription
Gets the description of this ActivityType instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getActivityType
Gets an instance of ActivityType based on the String value specified.- Parameters:
sActivityType- the internal value or description- Returns:
- ActivityType the unique ActivityType instance
-
getActivityType
Gets an instance of ActivityType based on the integer value specified.- Parameters:
iActivityType- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- ActivityType the unique ActivityType 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
-