Package com.highdeal.contract.hci
Class ChargePlanClassIdModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.contract.hci.ChargePlanClassIdModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMarshallable
This class represents the identifier of the
ChargePlanClassModel inside the ChargingContractItemRevisionModel.XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargePlanClassId">
<xs:complexType>
<xs:attribute name="id" type="xs:string"/>
</xs:complexType>
</xs:element>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.getId()Gets the identifier of theChargePlanClassModelinside theChargingContractItemRevisionModel.Gets the XML tag name of the HCI model.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets the identifier of theChargePlanClassModelinside theChargingContractItemRevisionModel.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
TAG_NAME
The XML tag name of the Charge Plan Class Identifier XML representation- See Also:
-
-
Constructor Details
-
ChargePlanClassIdModel
public ChargePlanClassIdModel()
-
-
Method Details
-
getId
Gets the identifier of theChargePlanClassModelinside theChargingContractItemRevisionModel.- Returns:
- the identifier of the
ChargePlanClassModelinside theChargingContractItemRevisionModel
-
setId
Sets the identifier of theChargePlanClassModelinside theChargingContractItemRevisionModel.- Parameters:
id- the identifier of theChargePlanClassModelinside theChargingContractItemRevisionModel
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Parameters:
output- TheXML outputto marshal the object attributes into
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Parameters:
output- TheXML outputto marshal the child objects into
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Parameters:
cData- The character data to be added
-
getTagName
Description copied from interface:ITagNameProviderGets the XML tag name of the HCI model.- Returns:
- The XML tag name
-