Package com.highdeal.contract.hci
Class ChargingContractItemRevisionModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.contract.hci.ChargingContractItemRevisionModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMapping,XMLMarshallable
A Charging Contract Item Revision
XML API for HCI
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>
-
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.Gets the identifier in the systemCharge Plan Classthat the Charging Contract Item Revision references.Gets the listCharge Plan Item Account Assignmentdefined in the charging contract.Gets the list where eachCharge Plan Item Parameterredefines aparametervalue of theCharge Componentreferenced.
For a valid redefinition, the Charge Component parameter and the Charge Plan Item Parameter must have the samenameand the sametype.
In this list, several Charge Plan Item Parameter mustn't have the samename.Gets the list where eachCharging Contract Item Pooled Counterredefines aCharge Plan Counter.
For a valid redefinition, the Charge Plan counter and the Charging Contract Item Counter must have the samename.
In this list, Charging Contract Item Counters must have unique names.Gets the list where eachCharging Contract Item Shared Counterredefines aCharge Plan Counter.
For a valid redefinition, the Charge Plan counter and the Charging Contract Item Counter must have the samename.
In this list, Charging Contract Item Counters must have unique names.Gets the listCharge Plan Item Account Assignmentdefined in the charging contract.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.getEnd()Gets the expiration date of theChargingContractItemRevisionModelinside aChargingContractModel.Gets the external identifier of theChargingContractItemRevisionModelinside aChargingContractModel.getId()Gets the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel.Gets the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references.Gets the identifier in the systemRefill Plan Classthat the Charging Contract Item Revision references.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.voidsetChargePlanClassId(String chargePlanClassId) Sets the identifier in the systemCharge Plan Classthat the Charging Contract Item Revision references.voidSets the expiration date of theChargingContractItemRevisionModelinside aChargingContractModel.voidsetExternalId(String externalId) Sets the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel.voidSets the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel.voidsetMonitoringPlanClassId(String monitoringPlanClassId) Sets the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references.voidsetRefillPlanClassId(String refillPlanClassId) Sets the identifier in the systemRefill Plan Classthat the Charging Contract Item Revision references.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
TAG_NAME
The XML tag name of the Charging Contract Item XML representation- See Also:
-
-
Constructor Details
-
ChargingContractItemRevisionModel
public ChargingContractItemRevisionModel()
-
-
Method Details
-
getId
Gets the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel.- Returns:
- the identifier of the unique
ChargingContractItemRevisionModelinside aChargingContractModel
-
setId
Sets the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel.- Parameters:
id- the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel
-
getExternalId
Gets the external identifier of theChargingContractItemRevisionModelinside aChargingContractModel. The external identifier can be non unique within aChargingContractItemRevisionModel.- Returns:
- the external identifier of the
ChargingContractItemRevisionModel
-
setExternalId
Sets the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel.- Parameters:
externalId- the identifier of the uniqueChargingContractItemRevisionModelinside aChargingContractModel
-
getChargePlanClassId
Gets the identifier in the systemCharge Plan Classthat the Charging Contract Item Revision references.- Returns:
- the identifier in the system
Charge Plan Classthat the Charging Contract Item Revision/tt> references
-
setChargePlanClassId
Sets the identifier in the systemCharge Plan Classthat the Charging Contract Item Revision references.- Parameters:
chargePlanClassId- the identifier in the systemCharge Plan Classthat the Charging Contract Item Revision references
-
getRefillPlanClassId
Gets the identifier in the systemRefill Plan Classthat the Charging Contract Item Revision references.- Returns:
- the identifier in the system
Refill Plan Classthat the Charging Contract Item Revision references
-
setRefillPlanClassId
Sets the identifier in the systemRefill Plan Classthat the Charging Contract Item Revision references.- Parameters:
refillPlanClassId- the identifier in the systemRefill Plan Classthat the Charging Contract Item Revision references
-
getMonitoringPlanClassId
Gets the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references.- Returns:
- the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references
-
setMonitoringPlanClassId
Sets the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references.- Parameters:
monitoringPlanClassId- the identifier in the system Monitoring Plan Class that the Charging Contract Item Revision references
-
getEnd
Gets the expiration date of theChargingContractItemRevisionModelinside aChargingContractModel.- Returns:
- the expiration date of the
ChargingContractItemRevisionModelinside aChargingContractModel
-
setEnd
Sets the expiration date of theChargingContractItemRevisionModelinside aChargingContractModel.- Parameters:
end- the expiration date of theChargingContractItemRevisionModelinside aChargingContractModel
-
getChargingContractItemParameterList
Gets the list where eachCharge Plan Item Parameterredefines aparametervalue of theCharge Componentreferenced.
For a valid redefinition, the Charge Component parameter and the Charge Plan Item Parameter must have the samenameand the sametype.
In this list, several Charge Plan Item Parameter mustn't have the samename.- Returns:
- the list where each Charge Plan Item Parameter redefines a Charge Component parameter value of the Charge Component referenced.
-
getChargingContractItemPooledCounterList
Gets the list where eachCharging Contract Item Pooled Counterredefines aCharge Plan Counter.
For a valid redefinition, the Charge Plan counter and the Charging Contract Item Counter must have the samename.
In this list, Charging Contract Item Counters must have unique names.- Returns:
- the list where each Charging Contract Item Counter redefines a Charge Plan counter value.
-
getChargingContractItemUserTechnicalIdentifierList
public List<ChargingContractItemUserTechnicalIdentifierModel> getChargingContractItemUserTechnicalIdentifierList()Gets the listCharge Plan Item Account Assignmentdefined in the charging contract.- Returns:
- the list of
user technical dataof the Charging Contract item.
-
getChargingContractItemAccountAssignmentList
public List<ChargingContractItemRevisionAccountAssignmentModel> getChargingContractItemAccountAssignmentList()Gets the listCharge Plan Item Account Assignmentdefined in the charging contract.- Returns:
- the list of
account assignmentsof the Charging Contract item.
-
getTagName
Description copied from interface:ITagNameProviderGets the XML tag name of the HCI model.- Specified by:
getTagNamein interfaceITagNameProvider- Returns:
- The XML tag name
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Specified by:
marshalAttributesin interfaceIXMLMarshallable- 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.- Specified by:
marshalChildrenin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the child objects into
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
getClass
Description copied from interface:XMLMappingReturns theJava classfor a specifiedXML tagand its attributes in a namespace.- Specified by:
getClassin interfaceXMLMapping- Parameters:
nsUri- The unique resource identifier of the namespace of the XML tagtag- The local part of the XML tagatts- The attributes of the XML tag- Returns:
- A
Java classwith a default constructor
-