Package com.highdeal.contract.hci
Class ChargingContractItemUserTechnicalIdentifierModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.contract.hci.ChargingContractItemUserTechnicalIdentifierModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMarshallable
A User Technical Identifier is a list of user identifiers that the Provisioning system provides in the
Charging Contract Item
in order to create technical Accesses.
Indeed, in order to use a service, an Access to that service must be created.
The Access is composed by a user identifier and a service identifier.
Multiple service identifiers are already known from the current object's representation in the Charge Plan Class.
Needed user identifiers are then provided by the current object in order to create Accesses.
At the end, all possibles combinations of service and user identifiers are built and so we have
{number of service identifiers coming from the Charge Plan} x {number of user identifiers coming from the current object} = {number of created Accesses}.
A ChargingContractItemUserTechnicalIdentifierModel is composed of:
- A
name, which must be the same name as the one defined in the Charge Plan Class. It uniquely identifies a User Technical Identifier in a Charging Contract Item. - A list of user identifiers, which are used to create Accesses. This list cannot be empty and no checking is performed on values because Convergent Charging does not know what could be used or not. This is of the responsibility of the provisioning system to provide valid data.
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="ChargingContractItemUserTechnicalIdentifierType"> <xs:attribute name="name" type="xs:string"/> <xs:attribute name="userServiceId" type="xs:string" /> </xs:complexType>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor of the Charging Contract Item User Technical Identifier -
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.getName()Gets thenamewhich uniquely identifies theChargingContractItemUserTechnicalIdentifierModelin the Charging Contract Item.Gets the XML tag name of the HCI model.Gets the user service identifier of theChargingContractItemUserTechnicalIdentifierModelwhich are used to create Accesses.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.voidSets thenamewhich uniquely identifies theChargingContractItemUserTechnicalIdentifierModelin the Charging Contract Item.voidsetUserServiceIdentifier(String userServiceId) Sets the user service identifier of theChargingContractItemUserTechnicalIdentifierModelwhich are used to create Accesses.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
TAG_NAME
The XML tag name of the User Technical Identifier XML representation- See Also:
-
-
Constructor Details
-
ChargingContractItemUserTechnicalIdentifierModel
public ChargingContractItemUserTechnicalIdentifierModel()Default constructor of the Charging Contract Item User Technical Identifier
-
-
Method Details
-
getName
Gets thenamewhich uniquely identifies theChargingContractItemUserTechnicalIdentifierModelin the Charging Contract Item.- Returns:
- the
namewhich uniquely identifies theChargingContractItemUserTechnicalIdentifierModelin the Charging Contract Item.
-
setName
Sets thenamewhich uniquely identifies theChargingContractItemUserTechnicalIdentifierModelin the Charging Contract Item.- Parameters:
name- thenamewhich uniquely identifies theChargingContractItemUserTechnicalIdentifierModelin the Charging Contract Item.
-
getUserServiceIdentifier
Gets the user service identifier of theChargingContractItemUserTechnicalIdentifierModelwhich are used to create Accesses.- Returns:
- the user service identifier of the
ChargingContractItemUserTechnicalIdentifierModelwhich are used to create Accesses
-
setUserServiceIdentifier
Sets the user service identifier of theChargingContractItemUserTechnicalIdentifierModelwhich are used to create Accesses.- Parameters:
userServiceId- the user service identifier of theChargingContractItemUserTechnicalIdentifierModelwhich are used to create Accesses
-
getTagName
Description copied from interface:ITagNameProviderGets the XML tag name of the HCI model.- Returns:
- The XML tag name
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- 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.- Parameters:
output- TheXML outputto marshal the child objects into
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- 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.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-