Class 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 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
    • Constructor Detail

      • Flight

        public Flight()
    • 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 is String
      • 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 is BigDecimal
      • 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 is String
      • 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 is String
      • getTravelDate

        public String getTravelDate()
        Gets the value of the travelDate property.
        Returns:
        possible object is String
      • setTravelDate

        public void setTravelDate​(String value)
        Sets the value of the travelDate property.
        Parameters:
        value - allowed object is String