Package com.projity.pm.assignment.functor

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


  public static void calcDataBetween(AssignmentFieldFunctor dataFunctor, SelectFrom clause, HasStartAndEnd generator, CalculatedValues values) {
    if (generator != null)
      clause.whereInRange(generator.getStart(),generator.getEnd()); // automatically also adds a generator to limit range

    CalculatedValuesFunctor visitor = CalculatedValuesFunctor.getInstance(dataFunctor,values, (TimeIteratorGenerator)generator);

    Query query = Query.getInstance();
    query.selectFrom(clause);
    if (generator != null && generator instanceof TimeIteratorGenerator) {
      query.groupBy((TimeIteratorGenerator)generator)
View Full Code Here

TOP

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

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.