public class ChargingContractItemRevisionModel extends HCIModelAdapter implements XMLMapping
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargingContractItemRevision">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="chargePlanClassId" />
<xs:element ref="refillPlanClassId" />
<xs:element ref="monitoringPlanClassId" />
</xs:choice>
<xs:element name="parameter" type="ChargingContractItemParameterType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="sharedCounter" type="ChargingContractItemSharedCounterType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="pooledCounter" type="ChargingContractItemPooledCounterType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="userTechnicalIdentifier" type="ChargingContractItemUserTechnicalIdentifierType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="accountAssignment" type="ChargingContractItemRevisionAccountAssignmentType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="id" type="xs:string"/>
<xs:attribute name="externalId" type="xs:string"/>
<xs:attribute name="end" type="xs:dateTime"/>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME
The XML tag name of the Charging Contract Item XML representation
|
| Constructor and Description |
|---|
ChargingContractItemRevisionModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
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. |
String |
getChargePlanClassId()
Gets the identifier in the system
Charge Plan Class that the Charging Contract Item Revision references. |
List<ChargingContractItemRevisionAccountAssignmentModel> |
getChargingContractItemAccountAssignmentList()
Gets the list
Charge Plan Item Account Assignment defined in the charging contract. |
List<ChargingContractItemParameterModel> |
getChargingContractItemParameterList()
Gets the list where each
Charge Plan Item Parameter redefines a parameter value of the Charge Component referenced.For a valid redefinition, the Charge Component parameter and the Charge Plan Item Parameter must have the same name and the same type.In this list, several Charge Plan Item Parameter mustn't have the same name. |
List<ChargingContractItemPooledCounterModel> |
getChargingContractItemPooledCounterList()
Gets the list where each
Charging Contract Item Pooled Counter redefines a Charge Plan Counter.For a valid redefinition, the Charge Plan counter and the Charging Contract Item Counter must have the same name.In this list, Charging Contract Item Counters must have unique names. |
List<ChargingContractItemSharedCounterModel> |
getChargingContractItemSharedCounterList()
Gets the list where each
Charging Contract Item Shared Counter redefines a Charge Plan Counter.For a valid redefinition, the Charge Plan counter and the Charging Contract Item Counter must have the same name.In this list, Charging Contract Item Counters must have unique names. |
List<ChargingContractItemUserTechnicalIdentifierModel> |
getChargingContractItemUserTechnicalIdentifierList()
Gets the list
Charge Plan Item Account Assignment defined in the charging contract. |
Class<?> |
getClass(String nsUri,
String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
Date |
getEnd()
Gets the expiration date of the
ChargingContractItemRevisionModel inside a ChargingContractModel. |
String |
getExternalId()
Gets the external identifier of the
ChargingContractItemRevisionModel inside a ChargingContractModel. |
String |
getId()
Gets the identifier of the unique
ChargingContractItemRevisionModel inside a ChargingContractModel. |
String |
getMonitoringPlanClassId()
Gets the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references.
|
String |
getRefillPlanClassId()
Gets the identifier in the system
Refill Plan Class that the Charging Contract Item Revision references. |
String |
getTagName()
Gets the XML tag name of the HCI model.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setChargePlanClassId(String chargePlanClassId)
Sets the identifier in the system
Charge Plan Class that the Charging Contract Item Revision references. |
void |
setEnd(Date end)
Sets the expiration date of the
ChargingContractItemRevisionModel inside a ChargingContractModel . |
void |
setExternalId(String externalId)
Sets the identifier of the unique
ChargingContractItemRevisionModel inside a ChargingContractModel . |
void |
setId(String id)
Sets the identifier of the unique
ChargingContractItemRevisionModel inside a ChargingContractModel . |
void |
setMonitoringPlanClassId(String monitoringPlanClassId)
Sets the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references.
|
void |
setRefillPlanClassId(String refillPlanClassId)
Sets the identifier in the system
Refill Plan Class that the Charging Contract Item Revision references. |
marshalpublic static final String TAG_NAME
public String getId()
ChargingContractItemRevisionModel inside a ChargingContractModel.ChargingContractItemRevisionModel inside a ChargingContractModelpublic void setId(String id)
ChargingContractItemRevisionModel inside a ChargingContractModel .id - the identifier of the unique ChargingContractItemRevisionModel inside a ChargingContractModelpublic String getExternalId()
ChargingContractItemRevisionModel inside a ChargingContractModel.
The external identifier can be non unique within a ChargingContractItemRevisionModel.ChargingContractItemRevisionModelpublic void setExternalId(String externalId)
ChargingContractItemRevisionModel inside a ChargingContractModel .externalId - the identifier of the unique ChargingContractItemRevisionModel inside a ChargingContractModelpublic String getChargePlanClassId()
Charge Plan Class that the Charging Contract Item Revision references.Charge Plan Class that the Charging Contract Item Revision/tt> referencespublic void setChargePlanClassId(String chargePlanClassId)
Charge Plan Class that the Charging Contract Item Revision references.chargePlanClassId - the identifier in the system Charge Plan Class that the Charging Contract Item Revision referencespublic String getRefillPlanClassId()
Refill Plan Class that the Charging Contract Item Revision references.Refill Plan Class that the Charging Contract Item Revision referencespublic void setRefillPlanClassId(String refillPlanClassId)
Refill Plan Class that the Charging Contract Item Revision references.refillPlanClassId - the identifier in the system Refill Plan Class that the Charging Contract Item Revision referencespublic String getMonitoringPlanClassId()
public void setMonitoringPlanClassId(String monitoringPlanClassId)
monitoringPlanClassId - the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision referencespublic Date getEnd()
ChargingContractItemRevisionModel inside a ChargingContractModel.ChargingContractItemRevisionModel inside a ChargingContractModelpublic void setEnd(Date end)
ChargingContractItemRevisionModel inside a ChargingContractModel .end - the expiration date of the ChargingContractItemRevisionModel inside a ChargingContractModelpublic List<ChargingContractItemParameterModel> getChargingContractItemParameterList()
Charge Plan Item Parameter redefines a parameter value of the Charge Component referenced.name and the same type.name.public List<ChargingContractItemSharedCounterModel> getChargingContractItemSharedCounterList()
Charging Contract Item Shared Counter redefines a Charge Plan Counter.name.public List<ChargingContractItemPooledCounterModel> getChargingContractItemPooledCounterList()
Charging Contract Item Pooled Counter redefines a Charge Plan Counter.name.public List<ChargingContractItemUserTechnicalIdentifierModel> getChargingContractItemUserTechnicalIdentifierList()
Charge Plan Item Account Assignment defined in the charging contract.user technical data of the Charging Contract item.public List<ChargingContractItemRevisionAccountAssignmentModel> getChargingContractItemAccountAssignmentList()
Charge Plan Item Account Assignment defined in the charging contract.account assignments of the Charging Contract item.public String getTagName()
ITagNameProvidergetTagName in interface ITagNameProviderpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild 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 setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic Class<?> getClass(String nsUri, String tag, XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tagJava class with a default constructor