Class FlightType

java.lang.Object
org.glassfish.jersey.examples.jettison.FlightType

public class FlightType extends Object

Java class for flightType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="flightType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="company" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="number" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="aircraft" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="flightId" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • company

      protected String company
    • number

      protected long number
    • aircraft

      protected String aircraft
    • flightId

      protected String flightId
  • Constructor Details

    • FlightType

      public FlightType()
  • Method Details

    • getCompany

      public String getCompany()
      Gets the value of the company property.
      Returns:
      possible object is String
    • setCompany

      public void setCompany(String value)
      Sets the value of the company property.
      Parameters:
      value - allowed object is String
    • getNumber

      public long getNumber()
      Gets the value of the number property.
      Returns:
      flight number.
    • setNumber

      public void setNumber(long value)
      Sets the value of the number property.
      Parameters:
      value - new flight number.
    • getAircraft

      public String getAircraft()
      Gets the value of the aircraft property.
      Returns:
      possible object is String
    • setAircraft

      public void setAircraft(String value)
      Sets the value of the aircraft property.
      Parameters:
      value - allowed object is String
    • getFlightId

      public String getFlightId()
      Gets the value of the flightId property.
      Returns:
      possible object is String
    • setFlightId

      public void setFlightId(String value)
      Sets the value of the flightId property.
      Parameters:
      value - allowed object is String
    • toString

      public String toString()
      Overrides:
      toString in class Object