org.apache.type_substitution
Class Car

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

public abstract class Car
extends java.lang.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 Summary
protected  java.lang.String make
           
protected  java.lang.String model
           
protected  java.lang.String year
           
 
Constructor Summary
Car()
           
 
Method Summary
 java.lang.String getMake()
          Gets the value of the make property.
 java.lang.String getModel()
          Gets the value of the model property.
 java.lang.String getYear()
          Gets the value of the year property.
 void setMake(java.lang.String value)
          Sets the value of the make property.
 void setModel(java.lang.String value)
          Sets the value of the model property.
 void setYear(java.lang.String value)
          Sets the value of the year property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

make

protected java.lang.String make

model

protected java.lang.String model

year

protected java.lang.String year
Constructor Detail

Car

public Car()
Method Detail

getMake

public java.lang.String getMake()
Gets the value of the make property.

Returns:
possible object is String

setMake

public void setMake(java.lang.String value)
Sets the value of the make property.

Parameters:
value - allowed object is String

getModel

public java.lang.String getModel()
Gets the value of the model property.

Returns:
possible object is String

setModel

public void setModel(java.lang.String value)
Sets the value of the model property.

Parameters:
value - allowed object is String

getYear

public java.lang.String getYear()
Gets the value of the year property.

Returns:
possible object is String

setYear

public void setYear(java.lang.String value)
Sets the value of the year property.

Parameters:
value - allowed object is String


Apache CXF