|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.ChargeableItem
public class ChargeableItem
This class represents the chargeable item that is sent by client applications to perform the charge process.
Property| XML Schema Fragment |
<xs:element name="ci">
<xs:complexType>
<xs:sequence>
<xs:element ref="p" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="n" type="xs:string"/>
</xs:complexType>
</xs:element> |
| Constructor Summary | |
|---|---|
ChargeableItem()
Constructs an empty chargeable item. |
|
ChargeableItem(java.lang.String name)
Constructs a chargeable item with an action name. |
|
ChargeableItem(java.lang.String name,
java.util.Vector<Property> properties)
Constructs a completly defined chargeable item. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the objects, the child represents
the marshallable object to be added into the content tree. |
void |
addProperty(Property property)
Adds a new property to this chargeable item. |
ChargeableItem |
duplicate()
Returns a new clone instance of this chargeable item. |
java.lang.String |
getName()
Returns the name of the chargeable item. |
java.util.Vector<Property> |
getProperties()
Returns the vector of the item properties. |
Property |
getProperty(java.lang.String propertyName)
Returns the property which name
is propertyName. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
marshal(XMLOutputter output,
java.lang.String tagName)
|
void |
readFromCache(com.highdeal.cache.CacheInput ci)
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setName(java.lang.String name)
Sets the name of this chargeable item. |
void |
writeInCache(com.highdeal.cache.CacheOutput co)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChargeableItem()
public ChargeableItem(java.lang.String name)
name - the name of the chargeable item.
public ChargeableItem(java.lang.String name,
java.util.Vector<Property> properties)
name - the name of the chargeable item.properties - the property set associated to
this Chargeable item.| Method Detail |
|---|
public void setName(java.lang.String name)
name - the name of the chargeable item.public java.lang.String getName()
public void addProperty(Property property)
property to this chargeable item.
property - the added property.public java.util.Vector<Property> getProperties()
propertiespublic Property getProperty(java.lang.String propertyName)
property which name
is propertyName.
propertyName - the name of the requested property.
property, or null
if no such property exists in this chargeable item.public ChargeableItem duplicate()
public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - the character data to be added.public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - the XML attributes of the current tag.
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild represents
the marshallable object to be added into the content tree.
addChild in interface XMLMarshallabletagName - the name of tag for the child.child - the child to be added.public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - the XML output to marshall the object into.
public void marshal(XMLOutputter output,
java.lang.String tagName)
public void writeInCache(com.highdeal.cache.CacheOutput co)
public void readFromCache(com.highdeal.cache.CacheInput ci)
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.