FieldName.java

package com.tradecloud.domain.model.useraudit;

import javax.xml.bind.annotation.XmlEnum;

@XmlEnum
public enum FieldName {
    INVOICE_REFERENCE("Invoice Reference"),
    INVOICE_DATE("Invoice Date"),
    INVOICE_VALUE("Invoice Value"),
    INVOICE_ITEM_QUANTITY("Item quantity"),
    INVOICE_ITEM_PRICE("Item price"),
    INVOICE_ITEM_TARIFF_HEADING("Item tariff heading"),
    SHIPMENT_REFERENCE("Shipment Reference"),
    VOYAGE_NUMBER("Voyage Number"),
    AIRLINE_NAME("Airline name"),
    FLIGHT_NUMBER("Flight Number"),
    SHIPMENT_CARRIER("Shipment Carrier"),
    SHIPPING_VESSEL("Shipping Vessel"),
    SHIPPING_VESSEL_CALL_SIGN("Shipping Vessel call sign"),
    AIRLINE("Airline"),
    BILL_OF_LADING_REFERENCE("Bill Of Lading Reference"),
    SHIPMENT_MASTER_BILL_OF_LADING_REFERENCE("Master Bill Of Lading Reference"),
    SHIPMENT_BILL_OF_LADING_DATE("Bill Of Lading Date"),
    SHIPMENT_MASTER_BILL_OF_LADING_DATE("Master Bill Of Lading Date"),
    FCR_HOUSE_BILL_REFERENCE("FCR House Bill Reference"),
    FEEDER_VOYAGE_NUMBER("Feeder Voyage Number"),
    TRANSHIPMENT_CARRIER("Transshipment Carrier"),
    TRANSHIPMENT("Transshipment"),
    FEEDER_VESSEL_NAME("Feeder Vessel Name"),
    PLACE_OF_DEPARTURE("Place Of Departure"),
    PLACE_OF_ARRIVAL("Place Of Arrival"),
    PLACE_OF_ISSUE("Place Of Issue"),
    COUNTRY_OF_EXPORT("Country of Export"),
    ESTIMATE_DEPARTURE_DATE("Estimate Departure Date"),
    TRANSSHIPMENT_ACTUAL_DEPARTURE_DATE("Transshipment Actual Departure Date"),
    SHIPPED_ON_BOARD_DATE("Shipped On Board Date"),
    ESTIMATE_ARRIVAL_DATE_AT_TRANSSHIPMENT_PORT("Estimate Arrival Date At Transshipment Port"),
    ACTUAL_ARRIVAL_DATE_AT_TRANSSHIPMENT_PORT("Actual Arrival Date At Transshipment Port"),
    ESTIMATE_DEPARTURE_DATE_FROM_TRANSSHIPMENT_PORT("Estimate Departure Date From Transshipment Port"),
    ACTUAL_DEPARTURE_DATE_FROM_TRANSSHIPMENT_PORT("Actual Departure Date From Transshipment Port"),
    SHIPMENT_PLACE_OF_LOADING("Shipment Place of Loading"),
    SHIPMENT_PLACE_OF_DISCHARGE("Shipment Place Of Discharge"),
    SCHEDULED_DEPARTURE_DATE("Scheduled Departure Date"),
    ESTIMATE_ARRIVAL_AT_POD_DATE("Estimate Arrival At POD Date"),
    CONSIGNMENT_REFERENCE("Consignment Reference"),
    CONTAINER_REFERENCE("Container Reference"),
    CONTAINER_TYPE("Container Reference"),
    CONTAINER_FINAL_DESTINATION("Container Final Destination"),
    GROSS_WEIGHT("Gross Weight"),
    NET_WEIGHT("Net Weight"),
    GROSS_VOLUME("Gross Volume"),
    SEAL_REFERENCE("Seal Reference"),
    CARTONS_PER_CONTAINER("Cartons Per Container"),
    SHIPMENT_ACTUAL_DEPARTURE_DATE("Shipment Actual Departure Date"),
    NAME("Name"),
    ADDRESS1("Address Line 1"),
    ADDRESS2("Address Line 2"),
    ADDRESS3("Address Line 3"),
    ADDRESS_CODE("Address code"),
    ADDRESS_CITY("Address city"),
    ADDRESS_COUNTRY("Address country"),
    VAT_NUMBER("VAT Number"),
    CUSTOMS_CODE("Customs Code");

    private final String description;

    FieldName(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return description;
    }

    public String getDescription() {
        return description;
    }

}