Package org.libreplan.ws.subcontract.api

Examples of org.libreplan.ws.subcontract.api.OrderElementWithAdvanceMeasurementsOrEndDateDTO


    }

    private OrderElementWithAdvanceMeasurementsOrEndDateListDTO givenOrderElementWithAdvanceMeasurementsAndEndDateListDTO(
            String orderElementCode, Map<LocalDate, BigDecimal> values,
            ExternalCompany externalCompany) {
        OrderElementWithAdvanceMeasurementsOrEndDateDTO orderElementWithAdvanceMeasurementsOrEndDateDTO = new OrderElementWithAdvanceMeasurementsOrEndDateDTO();
        orderElementWithAdvanceMeasurementsOrEndDateDTO.code = orderElementCode;

        orderElementWithAdvanceMeasurementsOrEndDateDTO.advanceMeasurements = givenAdvanceMeasurementDTOs(values);

        orderElementWithAdvanceMeasurementsOrEndDateDTO.endDateCommunicationToCustomerDTO = givenEndDateCommunicationToCustomersDTO();
View Full Code Here


    }

    private OrderElementWithAdvanceMeasurementsOrEndDateListDTO givenOrderElementWithAdvanceMeasurementsListDTO(
            String orderElementCode, Map<LocalDate, BigDecimal> values,
            ExternalCompany externalCompany) {
        OrderElementWithAdvanceMeasurementsOrEndDateDTO orderElementWithAdvanceMeasurementsDTO = new OrderElementWithAdvanceMeasurementsOrEndDateDTO();
        orderElementWithAdvanceMeasurementsDTO.code = orderElementCode;

        orderElementWithAdvanceMeasurementsDTO.advanceMeasurements = givenAdvanceMeasurementDTOs(values);

        return new OrderElementWithAdvanceMeasurementsOrEndDateListDTO(externalCompany.getNif(),
View Full Code Here

                Arrays.asList(orderElementWithAdvanceMeasurementsDTO));
    }

    private OrderElementWithAdvanceMeasurementsOrEndDateListDTO givenOrderWithEndDateListDTO(
            String orderElementCode, ExternalCompany externalCompany) {
        OrderElementWithAdvanceMeasurementsOrEndDateDTO orderElementWithAdvanceMeasurementsOrEndDateDTO = new OrderElementWithAdvanceMeasurementsOrEndDateDTO();
        orderElementWithAdvanceMeasurementsOrEndDateDTO.code = orderElementCode;

        orderElementWithAdvanceMeasurementsOrEndDateDTO.advanceMeasurements = new HashSet<AdvanceMeasurementDTO>();

        orderElementWithAdvanceMeasurementsOrEndDateDTO.endDateCommunicationToCustomerDTO = givenEndDateCommunicationToCustomersDTO();
View Full Code Here

            }
        }

        // add the updates
        if (endDateCommunicationToCustomerDTO != null || !advanceMeasurementDTOs.isEmpty()) {
            OrderElementWithAdvanceMeasurementsOrEndDateDTO orderElementWithAdvanceMeasurementsOrEndDateDTO = new OrderElementWithAdvanceMeasurementsOrEndDateDTO(
                    order.getExternalCode(),
                    advanceMeasurementDTOs, endDateCommunicationToCustomerDTO);
            orderElementWithAdvanceMeasurementsDTOs
                    .add(orderElementWithAdvanceMeasurementsOrEndDateDTO);
        }
View Full Code Here

TOP

Related Classes of org.libreplan.ws.subcontract.api.OrderElementWithAdvanceMeasurementsOrEndDateDTO

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.