org.jbind.example.meansOfTransport
Class Vehicle

java.lang.Object
  extended byorg.jbind.xml.instance.data.AbstractData
      extended byorg.jbind.xml.instance.data.AnyTypeData
          extended byorg.jbind.example.meansOfTransport.MeansOfTransport
              extended byorg.jbind.example.meansOfTransport.Vehicle
All Implemented Interfaces:
IAnyTypeData, IComplexCCData, IComplexData, IMeansOfTransport, IMeansOfTransportData, IVehicle, IVehicleData
Direct Known Subclasses:
AutomobileData, Truck, VehicleData

public abstract class Vehicle
extends MeansOfTransport
implements IVehicle


Constructor Summary
Vehicle()
           
 
Method Summary
protected abstract  void doSetNumberOfWheels(int anInt)
          Declaration of the hook method.
 void setNumberOfWheels(int anInt)
          Implementation of the setter using the hook method.
 
Methods inherited from class org.jbind.xml.instance.data.AnyTypeData
acceptImpl_, doAcceptEnds_, doAcceptStarts_
 
Methods inherited from class org.jbind.xml.instance.data.AbstractData
accept_, addReferencedData_, createElement_, createElement_, createUncheckedAttributeData_, equals, fetchByXPath_, getAttribute_, getDataDesc_, getFixed_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, iterReferencedData_, newElementData_, numberByXPath_, removeAttributeData_, selectByXPath_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_, stringByXPath_, testByXPath_
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbind.example.meansOfTransport.IVehicleData
getNumberOfWheels, hasNumberOfWheels, removeNumberOfWheels
 
Methods inherited from interface org.jbind.example.meansOfTransport.IMeansOfTransportData
getManufacturer, hasManufacturer, refManufacturer, setManufacturer
 
Methods inherited from interface org.jbind.xml.core.data.IAnyTypeData
accept_, acceptImpl_, addReferencedData_, createElement_, createElement_, equals, getAttribute_, getDataDesc_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_
 

Constructor Detail

Vehicle

public Vehicle()
Method Detail

setNumberOfWheels

public void setNumberOfWheels(int anInt)
                       throws XmlException
Implementation of the setter using the hook method.

Specified by:
setNumberOfWheels in interface IVehicleData
Parameters:
anInt - The new value.
Throws:
XmlException - Raised if the value could not be set.

doSetNumberOfWheels

protected abstract void doSetNumberOfWheels(int anInt)
                                     throws XmlException
Declaration of the hook method. The hook method is implemented by the generated data class.

Throws:
XmlException