Class ChargePlanClassIdModel

java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.contract.hci.ChargePlanClassIdModel
All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMarshallable

public class ChargePlanClassIdModel extends HCIModelAdapter
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 Details

    • TAG_NAME

      public static final String TAG_NAME
      The XML tag name of the Charge Plan Class Identifier XML representation
      See Also:
  • Constructor Details

    • ChargePlanClassIdModel

      public ChargePlanClassIdModel()
  • Method Details

    • getId

      public String getId()
      Gets the identifier of the ChargePlanClassModel inside the ChargingContractItemRevisionModel.
      Returns:
      the identifier of the ChargePlanClassModel inside the ChargingContractItemRevisionModel
    • setId

      public void setId(String id)
      Sets the identifier of the ChargePlanClassModel inside the ChargingContractItemRevisionModel.
      Parameters:
      id - the identifier of the ChargePlanClassModel inside the ChargingContractItemRevisionModel
    • marshalAttributes

      public void marshalAttributes(XMLOutputter output)
      Description copied from interface: IXMLMarshallable
      Gives an XML representation of the attributes of an object.
      Parameters:
      output - The XML output to marshal the object attributes into
    • marshalChildren

      public void marshalChildren(XMLOutputter output)
      Description copied from interface: IXMLMarshallable
      Gives an XML representation of the child objects of an object.
      Parameters:
      output - The XML output to marshal the child objects into
    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      Parameters:
      atts - The XML attributes of the current element
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Parameters:
      cData - The character data to be added
    • getTagName

      public String getTagName()
      Description copied from interface: ITagNameProvider
      Gets the XML tag name of the HCI model.
      Returns:
      The XML tag name