|
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.tif.Detail
public class Detail
This class is used to give more details about the transaction.
| XML Schema Fragment |
<xs:simpleType name="detailType">
<xs:restriction base="xs:string">
<xs:enumeration value="decimal"/>
<xs:enumeration value="string"/>
<xs:enumeration value="date"/>
</xs:restriction>
</xs:simpleType> |
<xs:element name="detail">
<xs:complexType>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type" type="detailType"/>
<xs:attribute name="value" type="xs:string"/>
</xs:complexType>
</xs:element> |
| Constructor Summary | |
|---|---|
Detail()
Constructs an empty transaction detail. |
|
| 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. |
java.util.Date |
getDateValue()
Returns the value of the detail. |
java.math.BigDecimal |
getDecimalValue()
Returns the value of the detail. |
java.lang.String |
getName()
Returns the name of the detail. |
java.lang.String |
getStringValue()
Returns the value of the detail. |
int |
getType()
Returns the type of the detail. |
java.lang.Object |
getValue()
Returns the value of the detail. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
static void |
marshal(XMLOutputter output,
java.lang.String name,
java.lang.Object value)
Helper static method to marshall a detail. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Detail()
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.Object getValue()
public java.lang.String getStringValue()
public java.util.Date getDateValue()
public java.math.BigDecimal getDecimalValue()
public int getType()
NUMBER - STRING - DATE
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - the XML attributes of the current tag.public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - the character data to be added.
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 static void marshal(XMLOutputter output,
java.lang.String name,
java.lang.Object value)
output - the XML outputter where the output has to go.name - the name of the detail.value - the value of the detail.
|
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.