public class ChargingContractItemPooledCounterModel extends ChargingContractItemSharedCounterModel
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:
It is composed of:
name which identifies the counter inside the associated Charge Plan Model.namespace which is a string and enables to group counters with the same name in different contexts.
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>
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME
The value of that constant is the XML tag name of the Charging Contract Item Pooled Counter Model.
|
| Constructor and Description |
|---|
ChargingContractItemPooledCounterModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTagName()
Gets the XML tag name of the HCI model.
|
addCharacterData, addChild, getName, getNamespace, marshalAttributes, marshalChildren, setAttributes, setName, setNamespacemarshalpublic static final String TAG_NAME
public ChargingContractItemPooledCounterModel()
public String getTagName()
ITagNameProvidergetTagName in interface ITagNameProvidergetTagName in class ChargingContractItemSharedCounterModel