Class ChargingContractItemPooledCounterModel

All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMarshallable

public class ChargingContractItemPooledCounterModel extends ChargingContractItemSharedCounterModel
The ChargingContractItemPooledCounterModel enables to flag a counter that comes from the associated ChargePlanModel as pooled. It means that the counter will be grouped with other shared or pooled counters from different ChargingContractItemModel. Counters are grouped according to the concatenation of their "namespace + name" (namespace could be empty). The real pooled counter that represent all counters within the same groups in the Charging Contract Item is named:
  • namespace + "." + name (if namespace is not empty)
  • name (if namespace is empty)

It is composed of:

  • A name which identifies the counter inside the associated Charge Plan Model.
  • A namespace which is a string and enables to group counters with the same name in different contexts.

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:complexType name="ChargingContractItemPooledCounterType">
   <xs:attribute name="name" type="xs:string" use="required" />
   <xs:attribute name="namespace" type="xs:string" />
 </xs:complexType>