OrderAwaitingStateSearchResult.java

package com.tradecloud.dto.order;

import java.math.BigDecimal;
import java.util.Date;

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.place.FinalDestination;
import com.tradecloud.domain.place.PlaceOfLoading;

import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 *
 *
 */
@XmlRootElement(name = "OrderAwaitingStateSearchResult")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderAwaitingStateSearchResult extends OrderSearchResult {

    //@XmlAttribute
    @XmlJavaTypeAdapter(value=XmlAdapterDate.class,type=java.util.Date.class)
    private Date orderCreatedDate;

    @XmlElement(name = "FinalDestination")
    private FinalDestination finalDestination;

    @XmlElement(name = "PlaceOfLoading")
    private PlaceOfLoading placeOfLoading;

    @XmlAttribute
    private int businessDaysAwaitingState;

    @XmlAttribute
    private String orderComments;

    @XmlAttribute
    private String consignmentComments;

    @XmlAttribute
    private String orderUnsignoffReason;

    @XmlAttribute
    private BigDecimal teuCount;

    @XmlAttribute
    private BigDecimal totalSuppliersInvoice;

    @XmlAttribute
    private String totalSuppliersInvoiceCurrency;

    @XmlAttribute
    private String orderStateName;

    @XmlAttribute
    private String consignmentState;

    @XmlAttribute
    private String shipmentType;

    @XmlAttribute
    private long shipmentId;

    @XmlAttribute
    private String shipmentNumber;

    @XmlAttribute
    private String shipmentReference;

    @XmlAttribute
    private String itemDescription;

    //@XmlAttribute
    @XmlJavaTypeAdapter(value=XmlAdapterDate.class,type=java.util.Date.class)
    private Date shipmentCreatedDate;

    @XmlAttribute
    String freightForwarder;

    @XmlAttribute
    private Date proformaReceivedDate;

    @XmlAttribute
    private String styleReference;

    @XmlAttribute
    private String styleDescription;

    @XmlAttribute
    private String itemStyleReference;

    @XmlAttribute
    private String buyerFullName;

    @XmlAttribute
    private String supplierName;

    @XmlAttribute
    private String orgUnitName;

    @XmlAttribute
    private String itemStyleDescription;

    @XmlAttribute
    private String materialComposition;

    @XmlAttribute
    private String itemMaterialComposition;

    @XmlAttribute
    private String confirmed;

    public FinalDestination getFinalDestination() {
        return finalDestination;
    }

    public void setFinalDestination(FinalDestination finalDestination) {
        this.finalDestination = finalDestination;
    }

    public int getBusinessDaysAwaitingState() {
        return businessDaysAwaitingState;
    }

    public void setBusinessDaysAwaitingState(int businessDaysAwaitingState) {
        this.businessDaysAwaitingState = businessDaysAwaitingState;
    }

    public String getOrderComments() {
        return orderComments;
    }

    public void setOrderComments(String orderComments) {
        this.orderComments = orderComments;
    }

    public String getConsignmentComments() {
        return consignmentComments;
    }

    public void setConsignmentComments(String consignmentComments) {
        this.consignmentComments = consignmentComments;
    }

    public Date getOrderCreatedDate() {
        return orderCreatedDate;
    }

    public void setOrderCreatedDate(Date orderCreatedDate) {
        this.orderCreatedDate = orderCreatedDate;
    }

    public String getOrderUnsignoffReason() {
        return orderUnsignoffReason;
    }

    public void setOrderUnsignoffReason(String orderUnsignoffReason) {
        this.orderUnsignoffReason = orderUnsignoffReason;
    }

    public BigDecimal getTeuCount() {
        return teuCount;
    }

    public void setTeuCount(BigDecimal teuCount) {
        this.teuCount = teuCount;
    }

    public BigDecimal getTotalSuppliersInvoice() {
        return totalSuppliersInvoice;
    }

    public void setTotalSuppliersInvoice(BigDecimal totalSuppliersInvoice) {
        this.totalSuppliersInvoice = totalSuppliersInvoice;
    }

    public String getTotalSuppliersInvoiceCurrency() {
        return totalSuppliersInvoiceCurrency;
    }

    public void setTotalSuppliersInvoiceCurrency(String totalSuppliersInvoiceCurrency) {
        this.totalSuppliersInvoiceCurrency = totalSuppliersInvoiceCurrency;
    }

    public String getOrderStateName() {
        return orderStateName;
    }

    public void setOrderStateName(String orderStateName) {
        this.orderStateName = orderStateName;
    }

    public String getConsignmentState() {
        return consignmentState;
    }

    public void setConsignmentState(String consignmentState) {
        this.consignmentState = consignmentState;
    }

    public String getShipmentType() {
        return shipmentType;
    }

    public void setShipmentType(String shipmentType) {
        this.shipmentType = shipmentType;
    }

    public long getShipmentId() {
        return shipmentId;
    }

    public void setShipmentId(long shipmentId) {
        this.shipmentId = shipmentId;
    }

    public String getShipmentNumber() {
        return shipmentNumber;
    }

    public String getBuyerFullName() {
        return buyerFullName;
    }

    public void setBuyerFullName(String buyerFullName) {
        this.buyerFullName = buyerFullName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getOrgUnitName() {
        return orgUnitName;
    }

    public void setOrgUnitName(String orgUnitName) {
        this.orgUnitName = orgUnitName;
    }

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

    public String getShipmentReference() {
        return shipmentReference;
    }

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

    public Date getShipmentCreatedDate() {
        return shipmentCreatedDate;
    }

    public void setShipmentCreatedDate(Date shipmentCreatedDate) {
        this.shipmentCreatedDate = shipmentCreatedDate;
    }

    public String getFreightForwarder() {
        return freightForwarder;
    }

    public void setFreightForwarder(String freightForwarder) {
        this.freightForwarder = freightForwarder;
    }

    public Date getProformaReceivedDate() {
        return proformaReceivedDate;
    }

    public void setProformaReceivedDate(Date proformaReceivedDate) {
        this.proformaReceivedDate = proformaReceivedDate;
    }

    public String getStyleDescription() {
        return styleDescription;
    }

    public void setStyleDescription(String styleDescription) {
        this.styleDescription = styleDescription;
    }

    public String getStyleReference() {
        return styleReference;
    }

    public void setStyleReference(String styleReference) {
        this.styleReference = styleReference;
    }

    public String getMaterialComposition() {
        return materialComposition;
    }

    public void setMaterialComposition(String materialComposition) {
        this.materialComposition = materialComposition;
    }

    public String getItemStyleDescription() {
        return itemStyleDescription;
    }

    public void setItemStyleDescription(String itemStyleDescription) {
        this.itemStyleDescription = itemStyleDescription;
    }

    public String getItemStyleReference() {
        return itemStyleReference;
    }

    public void setItemStyleReference(String itemStyleReference) {
        this.itemStyleReference = itemStyleReference;
    }

    public String getItemMaterialComposition() {
        return itemMaterialComposition;
    }

    public void setItemMaterialComposition(String itemMaterialComposition) {
        this.itemMaterialComposition = itemMaterialComposition;
    }

    public String getConfirmed () {
        return confirmed;
    }

    public void setConfirmed (String confirmed) {
        this.confirmed = confirmed;
    }

    public PlaceOfLoading getPlaceOfLoading() {
        return placeOfLoading;
    }

    public void setPlaceOfLoading(PlaceOfLoading placeOfLoading) {
        this.placeOfLoading = placeOfLoading;
    }

    public String getItemDescription() {
        return itemDescription;
    }

    public void setItemDescription(String itemDescription) {
        this.itemDescription = itemDescription;
    }
}