OrderNotConsignedSearchResult.java
package com.tradecloud.dto.order;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.tradecloud.domain.common.Incoterm;
import com.tradecloud.domain.model.payment.PaymentTerm;
import com.tradecloud.domain.model.shipment.ShippingMode;
import com.tradecloud.domain.party.ServiceProvider;
import com.tradecloud.domain.place.FinalDestination;
import com.tradecloud.domain.place.PlaceOfDischarge;
import com.tradecloud.domain.place.PlaceOfLoading;
@XmlRootElement(name = "OrderNotConsignedSearchResult")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderNotConsignedSearchResult extends OrderSearchResult {
@XmlElement(name = "FreightForwarder")
private ServiceProvider freightForwarder;
@XmlElement(name = "ClearingAgent")
private ServiceProvider clearingAgent;
@XmlElement(name = "Transporter")
private ServiceProvider transporter;
@XmlAttribute
private ShippingMode shippingMode;
@XmlElement(name = "IncoTerm")
private Incoterm incoTerm;
@XmlElement(name = "PaymentTerm")
private PaymentTerm paymentTerm;
@XmlElement(name = "PlaceOfLoading")
private PlaceOfLoading placeOfLoading;
@XmlElement(name = "PlaceOfDischarge")
private PlaceOfDischarge placeOfDischarge;
@XmlElement(name = "FinalDestination")
private FinalDestination finalDestination;
@XmlAttribute
private BigDecimal totalWeight;
@XmlAttribute
private BigDecimal totalVolume;
@XmlAttribute
private int businessDaysNotConsigned;
@XmlAttribute
private String comments;
@XmlAttribute
private String consignKey;
@XmlAttribute
private boolean selectable;
/*@XmlAttribute
private boolean selected;*/
public ServiceProvider getFreightForwarder() {
return freightForwarder;
}
public void setFreightForwarder(ServiceProvider freightForwarder) {
this.freightForwarder = freightForwarder;
}
/*public String getLatestShipmentDate() {
return latestShipmentDate;
}
public void setLatestShipmentDate(String latestShipmentDate) {
this.latestShipmentDate = latestShipmentDate;
}*/
public ShippingMode getShippingMode() {
return shippingMode;
}
public void setShippingMode(ShippingMode shippingMode) {
this.shippingMode = shippingMode;
}
public Incoterm getIncoTerm() {
return incoTerm;
}
public void setIncoTerm(Incoterm incoTerm) {
this.incoTerm = incoTerm;
}
public PaymentTerm getPaymentTerm() {
return paymentTerm;
}
public void setPaymentTerm(PaymentTerm paymentTerm) {
this.paymentTerm = paymentTerm;
}
public PlaceOfLoading getPlaceOfLoading() {
return placeOfLoading;
}
public void setPlaceOfLoading(PlaceOfLoading placeOfLoading) {
this.placeOfLoading = placeOfLoading;
}
public PlaceOfDischarge getPlaceOfDischarge() {
return placeOfDischarge;
}
public void setPlaceOfDischarge(PlaceOfDischarge placeOfDischarge) {
this.placeOfDischarge = placeOfDischarge;
}
public BigDecimal getTotalWeight() {
return totalWeight;
}
public void setTotalWeight(BigDecimal totalWeight) {
this.totalWeight = totalWeight;
}
public BigDecimal getTotalVolume() {
return totalVolume;
}
public void setTotalVolume(BigDecimal totalVolume) {
this.totalVolume = totalVolume;
}
public ServiceProvider getClearingAgent() {
return clearingAgent;
}
public void setClearingAgent(ServiceProvider clearingAgent) {
this.clearingAgent = clearingAgent;
}
public ServiceProvider getTransporter() {
return transporter;
}
public void setTransporter(ServiceProvider transporter) {
this.transporter = transporter;
}
public FinalDestination getFinalDestination() {
return finalDestination;
}
public void setFinalDestination(FinalDestination finalDestination) {
this.finalDestination = finalDestination;
}
public int getBusinessDaysNotConsigned() {
return businessDaysNotConsigned;
}
public void setBusinessDaysNotConsigned(int businessDaysNotConsigned) {
this.businessDaysNotConsigned = businessDaysNotConsigned;
}
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
public String getConsignKey() {
return consignKey;
}
public void setConsignKey(String consignKey) {
this.consignKey = consignKey;
}
public boolean isSelectable() {
return selectable;
}
public void setSelectable(boolean selectable) {
this.selectable = selectable;
}
/*public boolean isSelected() {
return selected;
}
public void setSelected(boolean selected) {
this.selected = selected;
}*/
}