public class PrepaidTransactionMappingModel extends Object implements XMLMarshallable
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="prepaidTransactionMapping">
<xs:complexType>
<xs:sequence>
<xs:element ref="fieldMapping" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
PrepaidTransactionMappingModel()
Builds a new empty prepaid transaction mapping.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String data)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
List<PrepaidTransactionFieldMappingModel> |
getDetailMappings()
Gets the list of detail mappings.
|
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.
|
public PrepaidTransactionMappingModel()
public List<PrepaidTransactionFieldMappingModel> getDetailMappings()
public void addCharacterData(String data)
addCharacterData in interface XMLMarshallabledata - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
child 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 marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void setAttributes(XMLAttributes atts)
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element