|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.ActivityType
public class 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 | |
---|---|
static ActivityType |
FINISH_MILESTONE
|
static ActivityType |
LEVEL_OF_EFFORT
|
static ActivityType |
MILESTONE
|
static ActivityType |
NULL
|
static ActivityType |
RESOURCE_DEPENDENT
|
static ActivityType |
TASK_DEPENDENT
|
static ActivityType |
WBS_SUMMARY
|
Method Summary | |
---|---|
static ActivityType |
getActivityType(int iActivityType)
Gets an instance of ActivityType based on the integer value specified. |
static ActivityType |
getActivityType(java.lang.String sActivityType)
Gets an instance of ActivityType based on the String value specified. |
java.lang.String |
getDescription()
Gets the description of this ActivityType instance |
static java.lang.String[] |
getEnumDescriptions()
Gets an array of all descriptions for this enumeration |
static java.lang.String[] |
getEnumValues()
Gets an array of all internal values for this enumeration |
java.lang.String |
getValue()
Gets the internal value of this ActivityType instance |
java.lang.String |
toString()
Returns a string representation of the object, which is the same as the description returned by the getDescription() method |
Methods inherited from class com.primavera.integration.client.bo.enm.EnumType |
---|
equals, hashCode, intValue |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ActivityType NULL
public static final ActivityType TASK_DEPENDENT
public static final ActivityType RESOURCE_DEPENDENT
public static final ActivityType LEVEL_OF_EFFORT
public static final ActivityType MILESTONE
public static final ActivityType FINISH_MILESTONE
public static final ActivityType WBS_SUMMARY
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getValue()
getValue
in class EnumType
public java.lang.String getDescription()
getDescription
in class EnumType
public static ActivityType getActivityType(java.lang.String sActivityType)
sActivityType
- the internal value or description
public static ActivityType getActivityType(int iActivityType)
iActivityType
- an integer representing a particular value of this class. This value is also used when exporting to XML.
public static java.lang.String[] getEnumValues()
public static java.lang.String[] getEnumDescriptions()
|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |