Package org.apache.type_substitution
Class Car
- java.lang.Object
-
- org.apache.type_substitution.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>
-
-
Constructor Summary
Constructors Constructor Description Car()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMake()
Gets the value of the make property.String
getModel()
Gets the value of the model property.String
getYear()
Gets the value of the year property.void
setMake(String value)
Sets the value of the make property.void
setModel(String value)
Sets the value of the model property.void
setYear(String value)
Sets the value of the year property.
-
-
-
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
-
-
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 isString
-
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 isString
-
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
-
-