|
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.udr.hci.UserDefinedRecordModel
public class UserDefinedRecordModel
In HighDeal TransactiveTM, a user defined record references a set of attribute descriptions.
| XML Schema Fragment |
<xs:element name="userDefinedRecord">
<xs:complexType>
<xs:sequence>
<xs:element ref="attributeDescription" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="description" type="xs:string"/>
<xs:attribute name="code" type="xs:string"/>
<xs:attribute name="ref" type="xs:string"/>
</xs:complexType>
</xs:element> |
| Constructor Summary | |
|---|---|
UserDefinedRecordModel()
Builds an empty user defined record. |
|
UserDefinedRecordModel(java.lang.String code,
java.lang.String description)
Builds an empty user defined record with a code and a description. |
|
| Method Summary | |
|---|---|
void |
addAttributeDescription(AttributeDescriptionModel ad)
Adds an attribute description in the user defined record. |
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.List<AttributeDescriptionModel> |
getAttributeDescriptions()
Returns the list of attributeDescriptionModel which defines this user defined record. |
java.lang.String |
getCode()
Returns the code of the user defined record. |
java.lang.String |
getDescription()
Returns the description of the user defined record. |
java.lang.String |
getReference()
Gets the reference. |
boolean |
isValid()
Checks if this user defined record is valid. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
removeAttributeDescription(int index)
Removes an attribute description from the user defined record. |
void |
setAttributeDescriptions(java.util.List<AttributeDescriptionModel> descriptions)
Sets the list of AttributeDescriptionModel in the user defined record. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setCode(java.lang.String code)
Sets the code of the user defined record. |
void |
setDescription(java.lang.String description)
Sets the description of the user defined record. |
void |
setReference(java.lang.String r)
Sets the reference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserDefinedRecordModel()
public UserDefinedRecordModel(java.lang.String code,
java.lang.String description)
code - the code of the user defined record.description - the description of the user defined record.| Method Detail |
|---|
public java.lang.String getReference()
public void setReference(java.lang.String r)
r - the reference.public java.lang.String getCode()
public void setCode(java.lang.String code)
code - the code of the user defined record.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description of the user defined record.public java.util.List<AttributeDescriptionModel> getAttributeDescriptions()
public void setAttributeDescriptions(java.util.List<AttributeDescriptionModel> descriptions)
descriptions - a list of AttributeDescriptionModel.public void addAttributeDescription(AttributeDescriptionModel ad)
ad - an attribute description.public void removeAttributeDescription(int index)
index - the index of the attribute description.public boolean isValid()
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 addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - the character data to be added.public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - the XML output to marshall the object into.
|
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.