org.jbind.example.meansOfTransport
Interface IMeansOfTransportData

All Superinterfaces:
IAnyTypeData, IComplexCCData, IComplexData
All Known Subinterfaces:
IAutomobileData, IMeansOfTransport, ITruck, ITruckData, IVehicle, IVehicleData
All Known Implementing Classes:
AutomobileData, MeansOfTransport, Truck, Vehicle

public interface IMeansOfTransportData
extends IAnyTypeData, IComplexCCData

Base class for all kinds of means of transport.

Complex type with empty content model.

Attribute Summary
 String
 (IIDREFData)
manufacturer use: optional; propertyName: Manufacturer
          

Attribute Detail

manufacturer

type: String (IIDREFData) use: optional; propertyName: Manufacturer


Method Summary
 java.lang.String getManufacturer()
          Gets the manufacturer attribute.
 boolean hasManufacturer()
          Checks if the manufacturer attribute is present.
 IManufacturerData refManufacturer()
          Gets the data object referenced by the "IDREF(manufacturer)" reference constraint.
 void setManufacturer(java.lang.String aValue)
          Sets the manufacturer attribute.
 
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

getManufacturer

public java.lang.String getManufacturer()
Gets the manufacturer attribute.

Returns:
(optional) The value.

setManufacturer

public void setManufacturer(java.lang.String aValue)
                     throws XmlException
Sets the manufacturer attribute.

Parameters:
aValue - (optional).
Throws:
XmlException - Raised if the value could not be set.

hasManufacturer

public boolean hasManufacturer()
Checks if the manufacturer attribute is present.

Returns:
Returns true iff the attribute is present.

refManufacturer

public IManufacturerData refManufacturer()
Gets the data object referenced by the "IDREF(manufacturer)" reference constraint.

Returns:
The referenced data object.