ShipmentACSReportDTO.java

package com.tradecloud.dto.shipment.actualsummarycosting;

import com.tradecloud.dto.shipment.actualunitcosting.ShipmentACUPReportShipmentContainerDTO;

import javax.xml.bind.annotation.*;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ds
 * Date: 2014/03/07
 * Time: 7:27 AM
 * To change this template use File | Settings | File Templates.
 */

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Shipment")
public class ShipmentACSReportDTO {

    @XmlAttribute(required = true)
    String shipmentNumber;

    @XmlAttribute(required = true)
    String shipmentReference;

    @XmlAttribute(required = true)
    String shipmentStatus;

    @XmlAttribute(required = true)
    double totalExclInternalProvisions;

    @XmlAttribute(required = true)
    double totalCost;

    @XmlAttribute(required = true)
    double totalCostIndirectCost;

    @XmlAttribute(required = true)
    String totalCostUnit;
    @XmlElement(name = "Order", required = true)
    List<ShipmentACSReportOrderDTO> shipmentACSReportOrderDTOList;
    @XmlAttribute(required = false)
    String shipmentReportUrl;
    @XmlElement(name = "ContainerList")
    List<ShipmentACUPReportShipmentContainerDTO> containerList;
    @XmlElement(name = "ServiceProviderList")
    List<ServiceProviderPaymentReportDTO> serviceProviderPaymentReportDTOList;
    @XmlElement(name = "CommentList")
    List<CommentReportDTO> commentList;
    @XmlElement(name = "CostGroupType", required = true)
    private List<ShipmentACSReportOrderGroupTypeDTO> shipmentACSReportOrderGroupTypeDTOList;
    @XmlAttribute
    private BigDecimal totalInvoiceValue;

    public String getShipmentNumber() {
        return shipmentNumber;
    }

    public void setShipmentNumber(String shipmentNumber) {
        this.shipmentNumber = shipmentNumber;
    }

    public String getShipmentReference() {
        return shipmentReference;
    }

    public void setShipmentReference(String shipmentReference) {
        this.shipmentReference = shipmentReference;
    }

    public List<ShipmentACSReportOrderDTO> getShipmentACSReportOrderDTOList() {
        return shipmentACSReportOrderDTOList;
    }

    public void setShipmentACSReportOrderDTOList(List<ShipmentACSReportOrderDTO> shipmentACSReportOrderDTOList) {
        this.shipmentACSReportOrderDTOList = shipmentACSReportOrderDTOList;
    }

    public String getShipmentStatus() {
        return shipmentStatus;
    }

    public void setShipmentStatus(String shipmentStatus) {
        this.shipmentStatus = shipmentStatus;
    }

    public double getTotalExclInternalProvisions() {
        return totalExclInternalProvisions;
    }

    public void setTotalExclInternalProvisions(double totalExclInternalProvisions) {
        this.totalExclInternalProvisions = totalExclInternalProvisions;
    }

    public double getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(double totalCost) {
        this.totalCost = totalCost;
    }

    public String getTotalCostUnit() {
        return totalCostUnit;
    }

    public void setTotalCostUnit(String totalCostUnit) {
        this.totalCostUnit = totalCostUnit;
    }

    public String getShipmentReportUrl() {
        return shipmentReportUrl;
    }

    public void setShipmentReportUrl(String shipmentReportUrl) {
        this.shipmentReportUrl = shipmentReportUrl;
    }

    public double getTotalCostIndirectCost() {
        return totalCostIndirectCost;
    }

    public void setTotalCostIndirectCost(double totalCostIndirectCost) {
        this.totalCostIndirectCost = totalCostIndirectCost;
    }

    public List<ShipmentACSReportOrderGroupTypeDTO> getShipmentACSReportOrderGroupTypeDTOList() {
        return shipmentACSReportOrderGroupTypeDTOList;
    }

    public void setShipmentACSReportOrderGroupTypeDTOList(List<ShipmentACSReportOrderGroupTypeDTO> shipmentACSReportOrderGroupTypeDTOList) {
        this.shipmentACSReportOrderGroupTypeDTOList = shipmentACSReportOrderGroupTypeDTOList;
    }

    public List<ServiceProviderPaymentReportDTO> getServiceProviderPaymentReportDTOList() {
        return serviceProviderPaymentReportDTOList;
    }

    public void setServiceProviderPaymentReportDTOList(List<ServiceProviderPaymentReportDTO> serviceProviderPaymentReportDTOList) {
        this.serviceProviderPaymentReportDTOList = serviceProviderPaymentReportDTOList;
    }

    public List<ShipmentACUPReportShipmentContainerDTO> getContainerList() {
        return containerList;
    }

    public void setContainerList(List<ShipmentACUPReportShipmentContainerDTO> containerList) {
        this.containerList = containerList;
    }

    public List<CommentReportDTO> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<CommentReportDTO> commentList) {
        this.commentList = commentList;
    }

    public BigDecimal getTotalInvoiceValue() {
        return totalInvoiceValue;
    }

    public void setTotalInvoiceValue(BigDecimal totalInvoiceValue) {
        this.totalInvoiceValue = totalInvoiceValue;
    }
}