Package com.jboss.soap.service.acmedemo
Class Flight
- java.lang.Object
-
- com.jboss.soap.service.acmedemo.Flight
-
- All Implemented Interfaces:
Serializable
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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcompanyprotected intplaneIdprotected BigDecimalratePerPersonprotected StringstartCityprotected StringtargetCityprotected StringtravelDate
-
Constructor Summary
Constructors Constructor Description Flight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompany()Gets the value of the company property.intgetPlaneId()Gets the value of the planeId property.BigDecimalgetRatePerPerson()Gets the value of the ratePerPerson property.StringgetStartCity()Gets the value of the startCity property.StringgetTargetCity()Gets the value of the targetCity property.StringgetTravelDate()Gets the value of the travelDate property.voidsetCompany(String value)Sets the value of the company property.voidsetPlaneId(int value)Sets the value of the planeId property.voidsetRatePerPerson(BigDecimal value)Sets the value of the ratePerPerson property.voidsetStartCity(String value)Sets the value of the startCity property.voidsetTargetCity(String value)Sets the value of the targetCity property.voidsetTravelDate(String value)Sets the value of the travelDate property.
-
-
-
Field Detail
-
company
protected String company
-
planeId
protected int planeId
-
ratePerPerson
protected BigDecimal ratePerPerson
-
startCity
protected String startCity
-
targetCity
protected String targetCity
-
travelDate
protected String travelDate
-
-
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
-
getPlaneId
public int getPlaneId()
Gets the value of the planeId property.
-
setPlaneId
public void setPlaneId(int value)
Sets the value of the planeId property.
-
getRatePerPerson
public BigDecimal getRatePerPerson()
Gets the value of the ratePerPerson property.- Returns:
- possible object is
BigDecimal
-
setRatePerPerson
public void setRatePerPerson(BigDecimal value)
Sets the value of the ratePerPerson property.- Parameters:
value- allowed object isBigDecimal
-
getStartCity
public String getStartCity()
Gets the value of the startCity property.- Returns:
- possible object is
String
-
setStartCity
public void setStartCity(String value)
Sets the value of the startCity property.- Parameters:
value- allowed object isString
-
getTargetCity
public String getTargetCity()
Gets the value of the targetCity property.- Returns:
- possible object is
String
-
setTargetCity
public void setTargetCity(String value)
Sets the value of the targetCity property.- Parameters:
value- allowed object isString
-
getTravelDate
public String getTravelDate()
Gets the value of the travelDate property.- Returns:
- possible object is
String
-
-