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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
aircraft |
protected String |
company |
protected String |
flightId |
protected long |
number |
| Constructor and Description |
|---|
FlightType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAircraft()
Gets the value of the aircraft property.
|
String |
getCompany()
Gets the value of the company property.
|
String |
getFlightId()
Gets the value of the flightId property.
|
long |
getNumber()
Gets the value of the number property.
|
void |
setAircraft(String value)
Sets the value of the aircraft property.
|
void |
setCompany(String value)
Sets the value of the company property.
|
void |
setFlightId(String value)
Sets the value of the flightId property.
|
void |
setNumber(long value)
Sets the value of the number property.
|
String |
toString() |
protected String company
protected long number
protected String aircraft
protected String flightId
public String getCompany()
Stringpublic void setCompany(String value)
value - allowed object is
Stringpublic long getNumber()
public void setNumber(long value)
value - new flight number.public String getAircraft()
Stringpublic void setAircraft(String value)
value - allowed object is
Stringpublic String getFlightId()
Stringpublic void setFlightId(String value)
value - allowed object is
StringCopyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.