public class Flight extends Object implements Serializable
Java class for flight complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="flight">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="company" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="planeId" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="ratePerPerson" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="startCity" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="targetCity" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="travelDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
company |
protected int |
planeId |
protected BigDecimal |
ratePerPerson |
protected String |
startCity |
protected String |
targetCity |
protected String |
travelDate |
| Constructor and Description |
|---|
Flight() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCompany()
Gets the value of the company property.
|
int |
getPlaneId()
Gets the value of the planeId property.
|
BigDecimal |
getRatePerPerson()
Gets the value of the ratePerPerson property.
|
String |
getStartCity()
Gets the value of the startCity property.
|
String |
getTargetCity()
Gets the value of the targetCity property.
|
String |
getTravelDate()
Gets the value of the travelDate property.
|
void |
setCompany(String value)
Sets the value of the company property.
|
void |
setPlaneId(int value)
Sets the value of the planeId property.
|
void |
setRatePerPerson(BigDecimal value)
Sets the value of the ratePerPerson property.
|
void |
setStartCity(String value)
Sets the value of the startCity property.
|
void |
setTargetCity(String value)
Sets the value of the targetCity property.
|
void |
setTravelDate(String value)
Sets the value of the travelDate property.
|
protected String company
protected int planeId
protected BigDecimal ratePerPerson
protected String startCity
protected String targetCity
protected String travelDate
public String getCompany()
Stringpublic void setCompany(String value)
value - allowed object is
Stringpublic int getPlaneId()
public void setPlaneId(int value)
public BigDecimal getRatePerPerson()
BigDecimalpublic void setRatePerPerson(BigDecimal value)
value - allowed object is
BigDecimalpublic String getStartCity()
Stringpublic void setStartCity(String value)
value - allowed object is
Stringpublic String getTargetCity()
Stringpublic void setTargetCity(String value)
value - allowed object is
Stringpublic String getTravelDate()
StringCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.