|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.RateComponentModel
com.highdeal.pnr.hci.ChargeModel
com.highdeal.pnr.hci.UsageChargeModel
public class UsageChargeModel
This class represents a usage charge of a charging plan.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="usageCharge">
<xs:complexType>
<xs:sequence>
<xs:element ref="component" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="description" type="xs:string"/>
<xs:attribute name="chargeableItemName" type="xs:string"/>
</xs:complexType>
</xs:element>
| Field Summary |
|---|
| Fields inherited from class com.highdeal.pnr.hci.RateComponentModel |
|---|
children, description, name, parent |
| Constructor Summary | |
|---|---|
UsageChargeModel()
|
|
| Method Summary | |
|---|---|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.util.List<QualifiedChargeableItemDescription> |
availableCINames()
Gets available chargeable item names. |
boolean |
checkValidity()
Returns true if the component is valid. |
java.lang.String |
getChargeableItemName()
Returns the name of the chargeable item. |
RatingContextDescription |
getContext(ContextualNode child)
Gets the context description for the specified child; The context description contains all the context properties. |
RatingContextDescription |
inheritedContext()
Gets the inherited context; The context description contains all the context properties. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setChargeableItemName(java.lang.String chargeableItemName)
Sets the name of the chargeable item. |
| Methods inherited from class com.highdeal.pnr.hci.ChargeModel |
|---|
getMaxChildCount, getRateComponent, setRateComponent |
| Methods inherited from class com.highdeal.pnr.hci.RateComponentModel |
|---|
addCharacterData, getChildAt, getChildCount, getChildren, getDescription, getName, getParent, isRemoveChildAllowed, isSetChildAllowed, marshallChildren, remove, removeChild, setChild, setChild, setChildren, setDescription, setName, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UsageChargeModel()
| Method Detail |
|---|
public java.lang.String getChargeableItemName()
public void setChargeableItemName(java.lang.String chargeableItemName)
chargeableItemName - Returns the name of the chargeable item.public RatingContextDescription getContext(ContextualNode child)
ContextualNode
getContext in interface ContextualNodegetContext in class RateComponentModelchild - The child node
public java.util.List<QualifiedChargeableItemDescription> availableCINames()
QualifiedChargeableItemDescription containing all chargeable item names.public RatingContextDescription inheritedContext()
ContextualNode
inheritedContext in interface ContextualNodeinheritedContext in class RateComponentModelpublic boolean checkValidity()
RateComponentModel
checkValidity in class ChargeModelpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallablesetAttributes in class RateComponentModelatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallableaddChild in class RateComponentModeltagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallablemarshal in class RateComponentModeloutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||