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-06-06T11:29:24-04:00") public abstract class Car extends ObjectJava 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 StringgetMake()Gets the value of the make property.StringgetModel()Gets the value of the model property.StringgetYear()Gets the value of the year property.voidsetMake(String value)Sets the value of the make property.voidsetModel(String value)Sets the value of the model property.voidsetYear(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-06-06T11:29:24-04:00") protected String make
-
model
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.5", date="2023-06-06T11:29:24-04:00") protected String model
-
year
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.5", date="2023-06-06T11:29:24-04:00") protected String year
-
-
Method Detail
-
getMake
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.5", date="2023-06-06T11:29:24-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-06-06T11:29:24-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-06-06T11:29:24-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-06-06T11:29:24-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-06-06T11:29:24-04:00") public String getYear()Gets the value of the year property.- Returns:
- possible object is
String
-
-