Package com.projity.pm.assignment.functor

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


    return functor;
  }

  private AssignmentFieldFunctor availability(SelectFrom clause) {
    //TODO this is untested, as histogram is currently broken 8/12/04 hk
    ResourceAvailabilityFunctor functor = ResourceAvailabilityFunctor.getInstance(this);
    CollectionIntervalGenerator availability = CollectionIntervalGenerator.getInstance(((ResourceImpl)detail.getResource()).getAvailabilityTable().getList());
    clause.select(functor)
        .from(availability); //use range?
    return functor;
  }
View Full Code Here


   * @param resource
   * @return
   */
  private static AssignmentFieldFunctor resourceAvailability(SelectFrom clause, Resource resource) {
    //TODO this is untested, as histogram is currently broken 8/12/04 hk
    ResourceAvailabilityFunctor functor = ResourceAvailabilityFunctor.getInstance(resource);
    CollectionIntervalGenerator availability = CollectionIntervalGenerator.getInstance(resource.getAvailabilityTable().getList());
    clause.select(functor)
        .from(availability); //use range?
    return functor;
  }
View Full Code Here

TOP

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

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.