Package com.projity.pm.assignment.functor

Examples of com.projity.pm.assignment.functor.CostFunctor


      if (all || prorated) {
        ContourBucketIntervalGenerator workContour = contourGeneratorInstance(WORK);
        CollectionIntervalGenerator costRate = CollectionIntervalGenerator.getInstance(detail.getResource().getCostRateTable(detail.getCostRateIndex()).getList());
        clause.from(costRate).from(workContour);
        // Note that the getStart() parameter implies cost per use is applied at start
        CostFunctor costF = CostFunctor.getInstance(this, getEffectiveWorkCalendar(), workContour, detail.calcOvertimeUnits(), costRate, getStart(),prorated);
        clause.select(costF);
        return costF;
      } else { // accrue start or end
        long triggerDate = (detail.getResource().getAccrueAt() == Accrual.START) ? getStart() : getFinish();// use start or end
        AssignmentFieldFunctor constantCost = ValueAtInstant.getInstance(triggerDate, calcAll(COST));
View Full Code Here

TOP

Related Classes of com.projity.pm.assignment.functor.CostFunctor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.