org.jbind.example.meansOfTransport
Interface IManufacturerData

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

public interface IManufacturerData
extends IAnyTypeData, IComplexCCData

Complex type with empty content model.

Attribute Summary
 String
 (IIDData)
id use: optional; propertyName: Id
          
 String
 (IStringData)
name use: optional; propertyName: Name
          

Attribute Detail

id

type: String (IIDData) use: optional; propertyName: Id

name

type: String (IStringData) use: optional; propertyName: Name


Method Summary
 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 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

getId

public java.lang.String getId()
Gets the id attribute.

Returns:
(optional) The value.

setId

public void setId(java.lang.String aValue)
           throws XmlException
Sets the id attribute.

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

hasId

public boolean hasId()
Checks if the id attribute is present.

Returns:
Returns true iff the attribute is present.

getName

public java.lang.String getName()
Gets the name attribute.

Returns:
(optional) The value.

setName

public void setName(java.lang.String aValue)
             throws XmlException
Sets the name attribute.

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

hasName

public boolean hasName()
Checks if the name attribute is present.

Returns:
Returns true iff the attribute is present.