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 response data.

Author(s):
William Collins <punkhornsw@gmail.com>
 
 @XmlRootElement(name="Response", namespace="http://sap.fusesource.org/rfc/nplServer/BOOK_FLIGHT")
 public class BookFlightResponse {
 
     @XmlAttribute(name="TRIPNUMBER")
     private String tripNumber;
 
     @XmlAttribute(name="TICKET_PRICE")
     private BigDecimal ticketPrice;
 
     @XmlAttribute(name="TICKET_TAX")
     private BigDecimal ticketTax;
 
     @XmlAttribute(name="CURRENCY")
     private String currency;
 
     @XmlAttribute(name="PASSFORM")
     private String passengerFormOfAddress;
 
     @XmlAttribute(name="PASSNAME")
     private String passengerName;
 
     @XmlAttribute(name="PASSBIRTH")
     private Date passengerDateOfBirth;
 
     @XmlElement(name="FLTINFO")
     private FlightInfo flightInfo;
 
     @XmlElement(name="CONNINFO")
 
     public String getTripNumber() {
         return ;
     }
     public void setTripNumber(String tripNumber) {
         this. = tripNumber;
     }
     public BigDecimal getTicketPrice() {
         return ;
     }
     public void setTicketPrice(BigDecimal ticketPrice) {
         this. = ticketPrice;
     }
     public BigDecimal getTicketTax() {
         return ;
     }
     public void setTicketTax(BigDecimal ticketTax) {
         this. = ticketTax;
     }
     public String getCurrency() {
         return ;
     }
     public void setCurrency(String currency) {
         this. = currency;
     }
     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 FlightInfo getFlightInfo() {
        return ;
    }
    public void setFlightInfo(FlightInfo flightInfo) {
        this. = flightInfo;
    }
    public void setConnectionInfo(ConnectionInfoTable connectionInfo) {
        this. = connectionInfo;
    }
        return ;
    }
    @Override
    public String toString() {
        return "BookFlightResponse [ticketPrice=" +  + ", ticketTax=" +  + ", currency=" +  + ", passengerFormOfAddress="
                +  + ", passengerName=" +  + ", passengerDateOfBirth=" +  + ", flightInfo=" + 
                + ", connectionInfo=" +  + "]";
    }
New to GrepCode? Check out our FAQ X