CCEConsignmentDTO.java
package com.tradecloud.dto.consignment;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* Created by ds on 2014/05/12.
*/
@XmlRootElement(name = "Consignment")
@XmlAccessorType(XmlAccessType.FIELD)
public class CCEConsignmentDTO {
@XmlAttribute(required = true)
private String consignmentLatestShipmentDate;
@XmlAttribute(required = true)
private String costedDate;
@XmlAttribute(required = true)
private String finalisedDate;
@XmlAttribute(required = true)
private String freightForwarder;
@XmlAttribute(required = true)
private String incoTerm;
@XmlAttribute(required = true)
private String number;
@XmlAttribute(required = true)
private String placeOfDischarge;
@XmlAttribute(required = true)
private String placeOfLoading;
@XmlAttribute(required = true)
private String reference;
@XmlAttribute(required = true)
private String state;
@XmlElement(name = "Comment")
private String comment;
@XmlElement(name = "TotalCost")
private String totalCost;
@XmlElement(name = "TotalSuppliersInvoiceCost")
private String totalSuppliersInvoiceCost;
@XmlElement(name = "TotalSuppliersInvoiceCurrency")
private String totalSuppliersInvoiceCurrency;
@XmlElementWrapper(name = "OrderList")
@XmlElement(name = "Order")
private List<CCEOrderDTO> orderList;
@XmlElementWrapper(name = "ContainerList")
@XmlElement(name = "Container")
private List<CCEContainerDTO> containerDTOList;
@XmlAttribute(required = true)
private String consignmentReportUrl;
public String getLatestShipmentDate() {
return consignmentLatestShipmentDate;
}
public void setLatestShipmentDate(String consignmentLatestShipmentDate) {
this.consignmentLatestShipmentDate = consignmentLatestShipmentDate;
}
public String getCostedDate() {
return costedDate;
}
public void setCostedDate(String costedDate) {
this.costedDate = costedDate;
}
public String getFinalisedDate() {
return finalisedDate;
}
public void setFinalisedDate(String finalisedDate) {
this.finalisedDate = finalisedDate;
}
public String getFreightForwarder() {
return freightForwarder;
}
public void setFreightForwarder(String freightForwarder) {
this.freightForwarder = freightForwarder;
}
public String getIncoTerm() {
return incoTerm;
}
public void setIncoTerm(String incoTerm) {
this.incoTerm = incoTerm;
}
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public String getPlaceOfDischarge() {
return placeOfDischarge;
}
public void setPlaceOfDischarge(String placeOfDischarge) {
this.placeOfDischarge = placeOfDischarge;
}
public String getPlaceOfLoading() {
return placeOfLoading;
}
public void setPlaceOfLoading(String placeOfLoading) {
this.placeOfLoading = placeOfLoading;
}
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public String getTotalCost() {
return totalCost;
}
public void setTotalCost(String totalCost) {
this.totalCost = totalCost;
}
public String getTotalSuppliersInvoiceCost() {
return totalSuppliersInvoiceCost;
}
public void setTotalSuppliersInvoiceCost(String totalSuppliersInvoiceCost) {
this.totalSuppliersInvoiceCost = totalSuppliersInvoiceCost;
}
public String getTotalSuppliersInvoiceCurrency() {
return totalSuppliersInvoiceCurrency;
}
public void setTotalSuppliersInvoiceCurrency(String totalSuppliersInvoiceCurrency) {
this.totalSuppliersInvoiceCurrency = totalSuppliersInvoiceCurrency;
}
public List<CCEOrderDTO> getOrderList() {
return orderList;
}
public void setOrderList(List<CCEOrderDTO> orderList) {
this.orderList = orderList;
}
public List<CCEContainerDTO> getContainerDTOList() {
return containerDTOList;
}
public void setContainerDTOList(List<CCEContainerDTO> containerDTOList) {
this.containerDTOList = containerDTOList;
}
public String getConsignmentReportUrl() {
return consignmentReportUrl;
}
public void setConsignmentReportUrl(String consignmentReportUrl) {
this.consignmentReportUrl = consignmentReportUrl;
}
}