Examples of HoursWorkedPerWorkerInAMonthDTO


Examples of org.libreplan.business.reports.dtos.HoursWorkedPerWorkerInAMonthDTO

            Object[] columns = (Object[]) row;
            Resource resource = (Resource) findExistingEntity((Long) columns[0]);
            EffortDuration effort = EffortDuration.seconds(((Long) columns[1])
                    .intValue());

            HoursWorkedPerWorkerInAMonthDTO dto = new HoursWorkedPerWorkerInAMonthDTO(
                    resource, effort);
            result.add(dto);
        }
        return result;
    }
View Full Code Here

Examples of org.libreplan.business.reports.dtos.HoursWorkedPerWorkerInAMonthDTO

    @Override
    public void afterDetailEval() throws JRScriptletException {
        EffortDuration current = (EffortDuration) this
                .getFieldValue("numHours");
        HoursWorkedPerWorkerInAMonthDTO dto = (HoursWorkedPerWorkerInAMonthDTO) this
                .getFieldValue("self");
        if (!dtos.contains(dto)) {
            if (current != null) {
                EffortDuration effort = EffortDuration.sum(EffortDuration
                        .parseFromFormattedString((String) this
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.