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>
-
-
Constructor Summary
Constructors Constructor Description FlightType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAircraft()Gets the value of the aircraft property.StringgetCompany()Gets the value of the company property.StringgetFlightId()Gets the value of the flightId property.longgetNumber()Gets the value of the number property.voidsetAircraft(String value)Sets the value of the aircraft property.voidsetCompany(String value)Sets the value of the company property.voidsetFlightId(String value)Sets the value of the flightId property.voidsetNumber(long value)Sets the value of the number property.StringtoString()
-
-
-
Method Detail
-
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 isString
-
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 isString
-
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 isString
-
-