public class ChargingContractItemUserTechnicalIdentifierModel extends HCIModelAdapter
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:
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.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>
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME
The XML tag name of the User Technical Identifier XML representation
|
| Constructor and Description |
|---|
ChargingContractItemUserTechnicalIdentifierModel()
Default constructor of the Charging Contract Item User Technical Identifier
|
| 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 |
getName()
Gets the
name which uniquely identifies the ChargingContractItemUserTechnicalIdentifierModel in the Charging Contract Item. |
String |
getTagName()
Gets the XML tag name of the HCI model.
|
String |
getUserServiceIdentifier()
Gets the user service identifier of the
ChargingContractItemUserTechnicalIdentifierModel which are used to create Accesses. |
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 |
setName(String name)
Sets the
name which uniquely identifies the ChargingContractItemUserTechnicalIdentifierModel in the Charging Contract Item. |
void |
setUserServiceIdentifier(String userServiceId)
Sets the user service identifier of the
ChargingContractItemUserTechnicalIdentifierModel which are used to create Accesses. |
marshalpublic static final String TAG_NAME
public ChargingContractItemUserTechnicalIdentifierModel()
public String getName()
name which uniquely identifies the ChargingContractItemUserTechnicalIdentifierModel in the Charging Contract Item.name which uniquely identifies the ChargingContractItemUserTechnicalIdentifierModel in the Charging Contract Item.public void setName(String name)
name which uniquely identifies the ChargingContractItemUserTechnicalIdentifierModel in the Charging Contract Item.name - the name which uniquely identifies the ChargingContractItemUserTechnicalIdentifierModel in the Charging Contract Item.public String getUserServiceIdentifier()
ChargingContractItemUserTechnicalIdentifierModel which are used to create Accesses.ChargingContractItemUserTechnicalIdentifierModel which are used to create Accessespublic void setUserServiceIdentifier(String userServiceId)
ChargingContractItemUserTechnicalIdentifierModel which are used to create Accesses.userServiceId - the user service identifier of the ChargingContractItemUserTechnicalIdentifierModel which are used to create Accessespublic String getTagName()
ITagNameProviderpublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void addCharacterData(String cData)
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.tagName - The name of tag for the childchild - The child to be added