org.glassfish.jersey.examples.jsonjaxb
Class FlightType

java.lang.Object
  extended by org.glassfish.jersey.examples.jsonjaxb.FlightType

public class FlightType
extends java.lang.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 Summary
protected  java.lang.String aircraft
           
protected  java.lang.String company
           
protected  java.lang.String flightId
           
protected  long number
           
 
Constructor Summary
FlightType()
           
 
Method Summary
 java.lang.String getAircraft()
          Gets the value of the aircraft property.
 java.lang.String getCompany()
          Gets the value of the company property.
 java.lang.String getFlightId()
          Gets the value of the flightId property.
 long getNumber()
          Gets the value of the number property.
 void setAircraft(java.lang.String value)
          Sets the value of the aircraft property.
 void setCompany(java.lang.String value)
          Sets the value of the company property.
 void setFlightId(java.lang.String value)
          Sets the value of the flightId property.
 void setNumber(long value)
          Sets the value of the number property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

company

protected java.lang.String company

number

protected long number

aircraft

protected java.lang.String aircraft

flightId

protected java.lang.String flightId
Constructor Detail

FlightType

public FlightType()
Method Detail

getCompany

public java.lang.String getCompany()
Gets the value of the company property.

Returns:
possible object is String

setCompany

public void setCompany(java.lang.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 java.lang.String getAircraft()
Gets the value of the aircraft property.

Returns:
possible object is String

setAircraft

public void setAircraft(java.lang.String value)
Sets the value of the aircraft property.

Parameters:
value - allowed object is String

getFlightId

public java.lang.String getFlightId()
Gets the value of the flightId property.

Returns:
possible object is String

setFlightId

public void setFlightId(java.lang.String value)
Sets the value of the flightId property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.