|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Complex type with complex content model.
Attribute Summary | |
double |
consumptionInLitres use: optional; propertyName: Consumption
|
|
fuelType use: required; propertyName: FuelType
|
|
manufacturer use: optional; propertyName: Manufacturer
|
int |
numberOfWheels use: optional; propertyName: NumberOfWheels
This attribute is set by a hook method that is manually implemented in the Vehicle class. |
Attribute Detail |
double (IDoubleData
)
use: optional; propertyName: Consumption
String
(IStringData
)
use: required; propertyName: FuelType
String
(IIDREFData
)
use: optional; propertyName: Manufacturer
int (IIntData
)
use: optional; propertyName: NumberOfWheels
Vehicle
class.
Element Summary | |
|
engine minOccurs: 1; maxOccurs: 1; propertyName: Engine
|
Element Detail |
IAnyTypeData
minOccurs: 1; maxOccurs: 1; propertyName: Engine
Method Summary | |
double |
getConsumption()
Gets the consumptionInLitres attribute. |
IAnyTypeData |
getEngine()
Gets the engine element. |
java.lang.String |
getFuelType()
Gets the fuelType attribute. |
boolean |
hasConsumption()
Checks if the consumptionInLitres attribute is present. |
boolean |
hasEngine()
Checks if the engine element is present. |
void |
setConsumption(double aValue)
Sets the consumptionInLitres attribute. |
void |
setFuelType(java.lang.String aValue)
Sets the fuelType attribute. |
Methods inherited from interface org.jbind.example.meansOfTransport.IVehicleData |
getNumberOfWheels, hasNumberOfWheels, removeNumberOfWheels, setNumberOfWheels |
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_ |
Method Detail |
public IAnyTypeData getEngine()
public boolean hasEngine()
true
iff the element is present.public double getConsumption()
public void setConsumption(double aValue) throws XmlException
aValue
- The new value.
XmlException
- Raised if the value could not be set.public boolean hasConsumption()
true
iff the attribute is present.public java.lang.String getFuelType()
public void setFuelType(java.lang.String aValue) throws XmlException
aValue
- (optional).
XmlException
- Raised if the value could not be set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |