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 Connection Information data from a SAP BOOK_FLIGHT response.

Author(s):
William Collins <punkhornsw@gmail.com>
 
 @XmlRootElement(name="CONNINFO", namespace="http://sap.fusesource.org/rfc/nplServer/BOOK_FLIGHT")
 public class ConnectionInfo {
 
     @XmlAttribute(name="CONNID")
 
     @XmlAttribute(name="AIRLINE")
     String airline;
 
     @XmlAttribute(name="PLANETYPE")
     String planeType;
 
     @XmlAttribute(name="CITYFROM")
     String cityFrom;
 
     @XmlAttribute(name="DEPDATE")
     Date departureDate;
 
     @XmlAttribute(name="DEPTIME")
     Date departureTime;
 
     @XmlAttribute(name="CITYTO")
     String cityTo;
 
     @XmlAttribute(name="ARRDATE")
     Date arrivalDate;
 
     @XmlAttribute(name="ARRTIME")
     Date arrivalTime;
 
     public String getConnectionId() {
         return ;
     }
 
     public void setConnectionId(String connectionId) {
         this. = connectionId;
     }
 
     public String getAirline() {
         return ;
     }
 
     public void setAirline(String airline) {
         this. = airline;
     }
 
     public String getPlaneType() {
         return ;
     }
 
     public void setPlaneType(String planeType) {
         this. = planeType;
     }
 
     public String getCityFrom() {
         return ;
     }
 
     public void setCityFrom(String cityFrom) {
         this. = cityFrom;
     }
    public Date getDepartureDate() {
        return ;
    }
    public void setDepartureDate(Date departureDate) {
        this. = departureDate;
    }
    public Date getDepartureTime() {
        return ;
    }
    public void setDepartureTime(Date departureTime) {
        this. = departureTime;
    }
    public String getCityTo() {
        return ;
    }
    public void setCityTo(String cityTo) {
        this. = cityTo;
    }
    public Date getArrivalDate() {
        return ;
    }
    public void setArrivalDate(Date arrivalDate) {
        this. = arrivalDate;
    }
    public Date getArrivalTime() {
        return ;
    }
    public void setArrivalTime(Date arrivalTime) {
        this. = arrivalTime;
    }
    @Override
    public String toString() {
        return "ConnectionInfo [connectionId=" +  + ", airline=" +  + ", planeType=" +  + ", cityFrom=" + 
                + ", departureDate=" +  + ", departureTime=" +  + ", cityTo=" +  + ", arrivalDate=" + 
                + ", arrivalTime=" +  + "]";
    }
New to GrepCode? Check out our FAQ X