org.jbind.example.meansOfTransport
Interface IFactoryData

All Superinterfaces:
IAnyTypeData, IComplexCCData, IComplexData
All Known Implementing Classes:
FactoryData

public interface IFactoryData
extends IAnyTypeData, IComplexCCData

Complex type with complex content model.

Element Summary
 IAutomobileData automobile minOccurs: 1; maxOccurs: 1; propertyName: Automobile
          
 IManufacturerData manufacturer minOccurs: 1; maxOccurs: 1; propertyName: Manufacturer
          
 ITruck truck minOccurs: 1; maxOccurs: 1; propertyName: Truck
          
 IVehicle vehicle minOccurs: 1; maxOccurs: 1; propertyName: Vehicle
          

Element Detail

automobile

type: IAutomobileData minOccurs: 1; maxOccurs: 1; propertyName: Automobile

manufacturer

type: IManufacturerData minOccurs: 1; maxOccurs: 1; propertyName: Manufacturer

truck

type: ITruck minOccurs: 1; maxOccurs: 1; propertyName: Truck

vehicle

type: IVehicle minOccurs: 1; maxOccurs: 1; propertyName: Vehicle


Method Summary
 IAutomobileData createAutomobile()
          Creates a automobile element.
 IManufacturerData createManufacturer()
          Creates a manufacturer element.
 ITruck createTruck()
          Creates a truck element.
 IVehicle createVehicle()
          Creates a vehicle element.
 boolean hasAutomobile()
          Checks if the automobile element is present.
 boolean hasManufacturer()
          Checks if the manufacturer element is present.
 boolean hasTruck()
          Checks if the truck element is present.
 boolean hasVehicle()
          Checks if the vehicle element is present.
 
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

hasAutomobile

public boolean hasAutomobile()
Checks if the automobile element is present.

Returns:
Returns true iff the element is present.

createAutomobile

public IAutomobileData createAutomobile()
                                 throws XmlException
Creates a automobile element. return (required).

Throws:
XmlException - Raised if the element could not be created.

hasManufacturer

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

Returns:
Returns true iff the element is present.

createManufacturer

public IManufacturerData createManufacturer()
                                     throws XmlException
Creates a manufacturer element. return (required).

Throws:
XmlException - Raised if the element could not be created.

hasTruck

public boolean hasTruck()
Checks if the truck element is present.

Returns:
Returns true iff the element is present.

createTruck

public ITruck createTruck()
                   throws XmlException
Creates a truck element. return (required).

Throws:
XmlException - Raised if the element could not be created.

hasVehicle

public boolean hasVehicle()
Checks if the vehicle element is present.

Returns:
Returns true iff the element is present.

createVehicle

public IVehicle createVehicle()
                       throws XmlException
Creates a vehicle element. return (required).

Throws:
XmlException - Raised if the element could not be created.