Class PrimaveraTaskProperties


  • public final class PrimaveraTaskProperties
    extends Object

    Represents Primavera-specific properties for a task read from Primavera files (XER of P6XML).

    • Method Detail

      • getActivityId

        public final String getActivityId()

        Gets an activity id field - a task's unique identifier used by Primavera.


        Applicable only to activities (non-summary tasks).

        Returns:
        an activity id field - a task's unique identifier used by Primavera.
      • getActivityType

        public final int getActivityType()

        Gets the value of 'Activity Type' field.


        Applicable only to activities (non-summary tasks).

        Returns:
        the value of 'Activity Type' field.
      • getActualExpenseCost

        public final BigDecimal getActualExpenseCost()

        Gets the value of actual expense cost.

        Returns:
        the value of actual expense cost.
      • getActualLaborCost

        public final BigDecimal getActualLaborCost()

        Gets the value of actual labor cost .

        Returns:
        the value of actual labor cost .
      • getActualLaborUnits

        public final double getActualLaborUnits()

        Gets the value of actual labor units.

        Returns:
        the value of actual labor units.
      • getActualMaterialCost

        public final BigDecimal getActualMaterialCost()

        Gets the value of actual material cost.

        Returns:
        the value of actual material cost.
      • getActualNonLaborUnits

        public final double getActualNonLaborUnits()

        Gets the value of actual non labor units.

        Returns:
        the value of actual non labor units.
      • getActualNonlaborCost

        public final BigDecimal getActualNonlaborCost()

        Gets the value of actual non labor cost .

        Returns:
        the value of actual non labor cost .
      • getActualTotalCost

        public final BigDecimal getActualTotalCost()

        Gets the total value of actual costs.

        Returns:
        the total value of actual costs.
      • getBudgetedExpenseCost

        public final BigDecimal getBudgetedExpenseCost()

        Gets the value of budgeted (or planned) expense cost.

        Returns:
        the value of budgeted (or planned) expense cost.
      • getBudgetedLaborCost

        public final BigDecimal getBudgetedLaborCost()

        Gets the value of budgeted (or planned) labor cost .

        Returns:
        the value of budgeted (or planned) labor cost .
      • getBudgetedMaterialCost

        public final BigDecimal getBudgetedMaterialCost()

        Gets the value of of budgeted (or planned) material cost.

        Returns:
        the value of of budgeted (or planned) material cost.
      • getBudgetedNonlaborCost

        public final BigDecimal getBudgetedNonlaborCost()

        Gets the value of budgeted (or planned) non labor cost .

        Returns:
        the value of budgeted (or planned) non labor cost .
      • getBudgetedTotalCost

        public final BigDecimal getBudgetedTotalCost()

        Gets the total value of budgeted (or planned) costs.

        Returns:
        the total value of budgeted (or planned) costs.
      • getDurationPercentComplete

        public final double getDurationPercentComplete()

        Gets the value of duration percent complete.

        Returns:
        the value of duration percent complete.
      • getDurationType

        public final int getDurationType()

        Gets the value of 'Duration Type' field of the activity.


        Applicable only to activities (non-summary tasks).

        Returns:
        the value of 'Duration Type' field of the activity.
      • getPercentCompleteType

        public final int getPercentCompleteType()

        Gets the value of '% Complete Type' field of the activity.


        Applicable only to activities (non-summary tasks).

        Returns:
        the value of '% Complete Type' field of the activity.
      • getPhysicalPercentComplete

        public final double getPhysicalPercentComplete()

        Gets the value of Physical Percent Complete.


        Applicable only to activities (non-summary tasks).

        Returns:
        the value of Physical Percent Complete.
      • getPrimaryConstraintDate

        public final Date getPrimaryConstraintDate()

        Gets the date of primary constraint.

        Returns:
        the date of primary constraint.
      • getPrimaryConstraintType

        public final int getPrimaryConstraintType()

        Gets a type of primary constraint.

        Returns:
        a type of primary constraint.
      • getRawActivityType

        public final String getRawActivityType()

        Gets raw text representation (as in source file) of 'Activity Type' field of the activity.


        Applicable only to activities (non-summary tasks).

        Returns:
        raw text representation (as in source file) of 'Activity Type' field of the activity.
      • getRawCompletePercentType

        public final String getRawCompletePercentType()

        Gets raw text representation (as in source file) of '% Complete Type' field of the activity.


        Applicable only to activities (non-summary tasks).

        Returns:
        raw text representation (as in source file) of '% Complete Type' field of the activity.
      • getRawDurationType

        public final String getRawDurationType()

        Gets raw text representation (as in source file) of 'Duration Type' field of the activity.


        Applicable only to activities (non-summary tasks).

        Returns:
        raw text representation (as in source file) of 'Duration Type' field of the activity.
      • getRawStatus

        public final String getRawStatus()

        Gets raw text representation (as in source file) of 'Status' field of the activity.


        Applicable only to activities (non-summary tasks).

        Returns:
        raw text representation (as in source file) of 'Status' field of the activity.
      • getRemainingEarlyFinish

        public final Date getRemainingEarlyFinish()

        Gets remaining early finish date - the date when the remaining work for the activity is scheduled to be finished.

        Returns:
        remaining early finish date - the date when the remaining work for the activity is scheduled to be finished.
      • getRemainingEarlyStart

        public final Date getRemainingEarlyStart()

        Gets remaining early start date - the date when the remaining work for the activity is scheduled to begin.

        Returns:
        remaining early start date - the date when the remaining work for the activity is scheduled to begin.
      • getRemainingExpenseCost

        public final BigDecimal getRemainingExpenseCost()

        Gets the value of remaining expense cost.

        Returns:
        the value of remaining expense cost.
      • getRemainingLaborUnits

        public final double getRemainingLaborUnits()

        Gets the value of remaining labor units.

        Returns:
        the value of remaining labor units.
      • getRemainingLateFinish

        public final Date getRemainingLateFinish()

        Gets remaining late finish date.

        Returns:
        remaining late finish date.
      • getRemainingLateStart

        public final Date getRemainingLateStart()

        Gets remaining late start date.

        Returns:
        remaining late start date.
      • getRemainingNonLaborUnits

        public final double getRemainingNonLaborUnits()

        Gets the value of remaining non labor units.

        Returns:
        the value of remaining non labor units.
      • getSecondaryConstraintDate

        public final Date getSecondaryConstraintDate()

        Gets the date of secondary constraint.

        Returns:
        the date of secondary constraint.
      • getSecondaryConstraintType

        public final int getSecondaryConstraintType()

        Gets a type of secondary constraint.

        Returns:
        a type of secondary constraint.
      • getSequenceNumber

        public final int getSequenceNumber()

        Gets the sequence number of the WBS item (summary tasks). It is used to sort summary tasks in Primavera.


        Applicable to WBS items (summary tasks).

        Returns:
        the sequence number of the WBS item (summary tasks).
      • getUnitsPercentComplete

        public final double getUnitsPercentComplete()

        Gets the value of units percent complete.

        Returns:
        the value of units percent complete.