Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2013 Red Hat, Inc. Red Hat licenses this file to you under the Apache License, version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 package org.switchyard.quickstarts.camel.sap.binding.jaxb;
 
 import java.util.Date;
 
JAXB Bean containing SAP BOOK_FLIGHT request data.

Author(s):
William Collins <punkhornsw@gmail.com>
 
 @XmlRootElement(name="Request", namespace="http://sap.fusesource.org/rfc/nplServer/BOOK_FLIGHT")
 public class BookFlightRequest {
 
     @XmlAttribute(name="CUSTNAME")
     private String customerName;
 
     @XmlAttribute(name="FLIGHTDATE")
     private Date flightDate;
 
     @XmlAttribute(name="TRAVELAGENCYNUMBER")
     private String travelAgencyNumber;
 
     @XmlAttribute(name="DESTINATION_FROM")
     private String startAirportCode;
 
     @XmlAttribute(name="DESTINATION_TO")
     private String endAirportCode;
 
     @XmlAttribute(name="PASSFORM")
     private String passengerFormOfAddress;
 
     @XmlAttribute(name="PASSNAME")
     private String passengerName;
 
     @XmlAttribute(name="PASSBIRTH")
     private Date passengerDateOfBirth;
 
     @XmlAttribute(name="CLASS")
     private String flightClass;
 
     public Date getFlightDate() {
         return ;
     }
     public void setFlightDate(Date flightDate) {
         this. = flightDate;
     }
     public String getTravelAgencyNumber() {
         return ;
     }
     public void setTravelAgencyNumber(String travelAgencyNumber) {
         this. = travelAgencyNumber;
     }
 
     public String getStartAirportCode() {
         return ;
     }
     public void setStartAirportCode(String startAirportCode) {
         this. = startAirportCode;
     }
     public String getEndAirportCode() {
         return ;
     }
     public void setEndAirportCode(String endAirportCode) {
         this. = endAirportCode;
     }
     public String getCustomerName() {
         return ;
     }
     public void setCustomerName(String customerName) {
         this. = customerName;
     }
     public String getPassengerFormOfAddress() {
         return ;
    }
    public void setPassengerFormOfAddress(String passengerFormOfAddress) {
        this. = passengerFormOfAddress;
    }
    public String getPassengerName() {
        return ;
    }
    public void setPassengerName(String passengerName) {
        this. = passengerName;
    }
    public Date getPassengerDateOfBirth() {
        return ;
    }
    public void setPassengerDateOfBirth(Date passengerDateOfBirth) {
        this. = passengerDateOfBirth;
    }
    public String getFlightClass() {
        return ;
    }
    public void setFlightClass(String flightClass) {
        this. = flightClass;
    }
    @Override
    public String toString() {
        return "BookFlightRequest [customerName=" +  + ", flightDate=" +  + ", travelAgencyNumber=" + 
                + ", startAirportCode=" +  + ", endAirportCode=" +  + ", passengerFormOfAddress=" + 
                + ", passengerName=" +  + ", passengerDateOfBirth=" +  + ", flightClass=" +  + "]";
    }
New to GrepCode? Check out our FAQ X