Class Car

java.lang.Object
org.apache.type_substitution.Car
Direct Known Subclasses:
Porsche

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-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 Details

    • make

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") protected String make
    • model

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") protected String model
    • year

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") protected String year
  • Constructor Details

    • Car

      public Car()
  • Method Details

    • getMake

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-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 v3.0.2", date="2023-09-13T13:18:15-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 v3.0.2", date="2023-09-13T13:18:15-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 v3.0.2", date="2023-09-13T13:18:15-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 v3.0.2", date="2023-09-13T13:18:15-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 v3.0.2", date="2023-09-13T13:18:15-04:00") public void setYear(String value)
      Sets the value of the year property.
      Parameters:
      value - allowed object is String