public class ExportableItemMappingModel extends ExportableItemMapping<AdditionalInfoModel,ExportableItemMappingFieldModel> implements ICatalogObject, XMLMarshallable, ITagNameProvider
ExportableItemMapping adding XML marshalling.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="exportableItemMapping">
<xs:complexType>
<xs:sequence>
<xs:element ref="additionalInformation" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="exportableItemMappingField" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="externalSystemCode" type="xs:string" use="required" />
<xs:attribute name="citcCode" type="xs:string" use="required" />
<xs:attribute name="refillRecordClassCode" type="xs:string" />
<xs:attribute name="chargeableItemClassCode" type="xs:string" />
<xs:attribute name="code" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODEL_NAME |
| Constructor and Description |
|---|
ExportableItemMappingModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
ExportableItemMappingModel |
duplicate() |
java.lang.String |
getOwner()
Returns the catalog owner of the object.
|
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
addAdditionalInfo, addExportableItemMappingField, getAdditionalInfoByName, getAdditionalInfos, getAdditionalInfoValueByName, getChargeableItemClassCode, getCitcCode, getCode, getExportableItemMappingFieldFromCitcFieldName, getExportableItemMappingFieldFromName, getExportableItemMappingFields, getExternalSystemCode, getNameToCitcNameFieldMapping, getReference, getRefillRecordClassCode, getUniqueReference, setAdditionalInfos, setChargeableItemClassCode, setCitcCode, setCode, setExportableItemMappingFields, setExternalSystemCode, setReference, setRefillRecordClassCodepublic static final java.lang.String MODEL_NAME
public java.lang.String getOwner()
ICatalogObjectgetOwner in interface ICatalogObjectpublic java.lang.String getTagName()
ITagNameProvidergetTagName in interface ITagNameProviderpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic ExportableItemMappingModel duplicate()