Package org.andromda.timetracker.vo

Examples of org.andromda.timetracker.vo.TimePeriodVO


        org.andromda.timetracker.vo.TimeAllocationVO targetVO)
    {
        super.toTimeAllocationVO(sourceEntity, targetVO);
        TimePeriod timePeriod = sourceEntity.getTimePeriod();
        targetVO.setTimePeriodVO(
            new TimePeriodVO(timePeriod.getStartTime(), timePeriod.getEndTime()));
        targetVO.setTaskId(sourceEntity.getTask().getId());
    }
View Full Code Here


        org.andromda.timetracker.vo.TimeAllocationVO sourceVO,
        org.andromda.timetracker.domain.TimeAllocation targetEntity,
        boolean copyIfNull)
    {
        super.timeAllocationVOToEntity(sourceVO, targetEntity, copyIfNull);
        TimePeriodVO timePeriodVO = sourceVO.getTimePeriodVO();
        targetEntity.setTimePeriod(
            TimePeriod.newInstance(timePeriodVO.getStartTime(), timePeriodVO.getEndTime()));
    }
View Full Code Here

            Date startTime = new Date(timecard.getBegDate().getTime() + i * MILLIS_IN_DAY);
            Date endTime   = new Date(timecard.getBegDate().getTime() + (i + 1) * MILLIS_IN_DAY);
            TaskVO task = tasks[(int)Math.round((Math.random()*(tasks.length - 1)))];
            allocations[i] = new TimeAllocationVO(
                null,
                new TimePeriodVO(startTime, endTime),
                task.getId());
        }

        // Create timecard
        timecard.setId(timeTrackingService.createTimecard(timecard));
View Full Code Here

            Date startTime = new Date(timecard.getBegDate().getTime() + i * MILLIS_IN_DAY);
            Date endTime   = new Date(timecard.getBegDate().getTime() + (i + 1) * MILLIS_IN_DAY);
            TaskVO task = tasks[(int)Math.round((Math.random()*(tasks.length - 1)))];
            allocations[i] = new TimeAllocationVO(
                null,
                new TimePeriodVO(startTime, endTime),
                task.getId());
        }

        // Create timecard
        timecard.setId(timeTrackingService.createTimecard(timecard));
View Full Code Here

TOP

Related Classes of org.andromda.timetracker.vo.TimePeriodVO

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.