Class Car

  • Direct Known Subclasses:
    Porsche

    @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v2.3.5",
               date="2023-05-02T15:12:32-04:00")
    public abstract class Car
    extends Object

    Java class for car complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="car">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="make" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="model" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="year" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • make

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        protected String make
      • model

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        protected String model
      • year

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        protected String year
    • Constructor Detail

      • Car

        public Car()
    • Method Detail

      • getMake

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        public String getMake()
        Gets the value of the make property.
        Returns:
        possible object is String
      • setMake

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        public void setMake​(String value)
        Sets the value of the make property.
        Parameters:
        value - allowed object is String
      • getModel

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        public String getModel()
        Gets the value of the model property.
        Returns:
        possible object is String
      • setModel

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        public void setModel​(String value)
        Sets the value of the model property.
        Parameters:
        value - allowed object is String
      • getYear

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        public String getYear()
        Gets the value of the year property.
        Returns:
        possible object is String
      • setYear

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2023-05-02T15:12:32-04:00")
        public void setYear​(String value)
        Sets the value of the year property.
        Parameters:
        value - allowed object is String