|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbind.xml.instance.data.AbstractData
org.jbind.xml.instance.data.AnyTypeData
org.jbind.example.meansOfTransport.MeansOfTransport
org.jbind.example.meansOfTransport.Vehicle
org.jbind.example.meansOfTransport.AutomobileData
| Nested Class Summary | |
static class |
AutomobileData.DataCreator_
|
| Constructor Summary | |
AutomobileData()
|
|
| Method Summary | |
protected void |
doAcceptEnds_(IDataVisitor aVisitor)
|
protected void |
doAcceptStarts_(IDataVisitor aVisitor)
|
protected void |
doSetNumberOfWheels(int aValue)
Declaration of the hook method. |
double |
getConsumption()
Gets the consumptionInLitres attribute. |
IAnyTypeData |
getEngine()
Gets the engine element. |
java.lang.String |
getFuelType()
Gets the fuelType attribute. |
java.lang.String |
getManufacturer()
Gets the manufacturer attribute. |
int |
getNumberOfWheels()
Gets the numberOfWheels attribute. |
boolean |
hasConsumption()
Checks if the consumptionInLitres attribute is present. |
boolean |
hasEngine()
Checks if the engine element is present. |
boolean |
hasManufacturer()
Checks if the manufacturer attribute is present. |
boolean |
hasNumberOfWheels()
Checks if the numberOfWheels attribute is present. |
IManufacturerData |
refManufacturer()
Gets the data object referenced by the "IDREF(manufacturer)" reference constraint. |
void |
removeNumberOfWheels()
Removes the numberOfWheels attribute. |
void |
setConsumption(double aValue)
Sets the consumptionInLitres attribute. |
void |
setFuelType(java.lang.String aValue)
Sets the fuelType attribute. |
void |
setManufacturer(java.lang.String aValue)
Sets the manufacturer attribute. |
| Methods inherited from class org.jbind.example.meansOfTransport.Vehicle |
setNumberOfWheels |
| Methods inherited from class org.jbind.xml.instance.data.AnyTypeData |
acceptImpl_ |
| 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 |
setNumberOfWheels |
| 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 |
public AutomobileData()
| Method Detail |
protected void doAcceptStarts_(IDataVisitor aVisitor)
protected void doAcceptEnds_(IDataVisitor aVisitor)
public IAnyTypeData getEngine()
IAutomobileData
getEngine in interface IAutomobileDatapublic boolean hasEngine()
IAutomobileData
hasEngine in interface IAutomobileDatatrue iff the element is present.public double getConsumption()
IAutomobileData
getConsumption in interface IAutomobileData
public void setConsumption(double aValue)
throws XmlException
IAutomobileData
setConsumption in interface IAutomobileDataaValue - The new value.
XmlException - Raised if the value could not be set.public boolean hasConsumption()
IAutomobileData
hasConsumption in interface IAutomobileDatatrue iff the attribute is present.public java.lang.String getFuelType()
IAutomobileData
getFuelType in interface IAutomobileData
public void setFuelType(java.lang.String aValue)
throws XmlException
IAutomobileData
setFuelType in interface IAutomobileDataaValue - (optional).
XmlException - Raised if the value could not be set.public java.lang.String getManufacturer()
IMeansOfTransportData
getManufacturer in interface IMeansOfTransportData
public void setManufacturer(java.lang.String aValue)
throws XmlException
IMeansOfTransportData
setManufacturer in interface IMeansOfTransportDataaValue - (optional).
XmlException - Raised if the value could not be set.public boolean hasManufacturer()
IMeansOfTransportData
hasManufacturer in interface IMeansOfTransportDatatrue iff the attribute is present.public int getNumberOfWheels()
IVehicleData
getNumberOfWheels in interface IVehicleData
protected void doSetNumberOfWheels(int aValue)
throws XmlException
Vehicle
doSetNumberOfWheels in class VehicleXmlExceptionpublic boolean hasNumberOfWheels()
IVehicleData
hasNumberOfWheels in interface IVehicleDatatrue iff the attribute is present.
public void removeNumberOfWheels()
throws XmlException
IVehicleData
removeNumberOfWheels in interface IVehicleDataXmlException - Raised if it is tried to remove a required attribute.public IManufacturerData refManufacturer()
IMeansOfTransportData
refManufacturer in interface IMeansOfTransportData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||