Class FlightType
java.lang.Object
org.glassfish.jersey.examples.jettison.FlightType
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the aircraft property.Gets the value of the company property.Gets the value of the flightId property.longGets 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.toString()
-
Field Details
-
company
-
number
protected long number -
aircraft
-
flightId
-
-
Constructor Details
-
FlightType
public FlightType()
-
-
Method Details
-
getCompany
Gets the value of the company property.- Returns:
- possible object is
String
-
setCompany
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
Gets the value of the aircraft property.- Returns:
- possible object is
String
-
setAircraft
Sets the value of the aircraft property.- Parameters:
value- allowed object isString
-
getFlightId
Gets the value of the flightId property.- Returns:
- possible object is
String
-
setFlightId
Sets the value of the flightId property.- Parameters:
value- allowed object isString
-
toString
-