org.jbind.example.meansOfTransport
Class ManufacturerData

java.lang.Object
  extended byorg.jbind.xml.instance.data.AbstractData
      extended byorg.jbind.xml.instance.data.AnyTypeData
          extended byorg.jbind.example.meansOfTransport.ManufacturerData
All Implemented Interfaces:
IAnyTypeData, IComplexCCData, IComplexData, IManufacturerData

public class ManufacturerData
extends AnyTypeData
implements IManufacturerData


Nested Class Summary
static class ManufacturerData.DataCreator_
           
 
Constructor Summary
ManufacturerData()
           
 
Method Summary
protected  void doAcceptEnds_(IDataVisitor aVisitor)
           
protected  void doAcceptStarts_(IDataVisitor aVisitor)
           
 java.lang.String getId()
          Gets the id attribute.
 java.lang.String getName()
          Gets the name attribute.
 boolean hasId()
          Checks if the id attribute is present.
 boolean hasName()
          Checks if the name attribute is present.
 void setId(java.lang.String aValue)
          Sets the id attribute.
 void setName(java.lang.String aValue)
          Sets the name attribute.
 
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.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

ManufacturerData

public ManufacturerData()
Method Detail

doAcceptStarts_

protected void doAcceptStarts_(IDataVisitor aVisitor)

doAcceptEnds_

protected void doAcceptEnds_(IDataVisitor aVisitor)

getId

public java.lang.String getId()
Description copied from interface: IManufacturerData
Gets the id attribute.

Specified by:
getId in interface IManufacturerData
Returns:
(optional) The value.

setId

public void setId(java.lang.String aValue)
           throws XmlException
Description copied from interface: IManufacturerData
Sets the id attribute.

Specified by:
setId in interface IManufacturerData
Parameters:
aValue - (optional).
Throws:
XmlException - Raised if the value could not be set.

hasId

public boolean hasId()
Description copied from interface: IManufacturerData
Checks if the id attribute is present.

Specified by:
hasId in interface IManufacturerData
Returns:
Returns true iff the attribute is present.

getName

public java.lang.String getName()
Description copied from interface: IManufacturerData
Gets the name attribute.

Specified by:
getName in interface IManufacturerData
Returns:
(optional) The value.

setName

public void setName(java.lang.String aValue)
             throws XmlException
Description copied from interface: IManufacturerData
Sets the name attribute.

Specified by:
setName in interface IManufacturerData
Parameters:
aValue - (optional).
Throws:
XmlException - Raised if the value could not be set.

hasName

public boolean hasName()
Description copied from interface: IManufacturerData
Checks if the name attribute is present.

Specified by:
hasName in interface IManufacturerData
Returns:
Returns true iff the attribute is present.