|
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.hci.HCIModelAdapter
com.highdeal.hci.AbstractParameterModel
public abstract class AbstractParameterModel
This Java class represents a configurable parameter description.
It is composed of:
name which identifies the parameter.description allowing a better understanding about the parameter (optional).value which can be a String, a Date or a Number.additionalInfo which can be a String, a Date or a Number.
| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of this data model: "parameter" |
| Constructor Summary | |
|---|---|
AbstractParameterModel(ValueType... types)
|
|
| 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 object, the child representing
the marshallable object which must be added to the element. |
java.util.List<AdditionalInfoModel> |
getAdditionalInfoList()
Gets the list of Additional Informations. |
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the Java class for a specified XML tag and its attributes in a namespace. |
java.lang.String |
getDescription()
Gets the description allowing a better understanding about the parameter of the Charging Contract Item. |
java.lang.String |
getName()
Gets the name of the parameter description defined by the user. |
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model. |
ValueType |
getType()
Gets the type of the value. |
java.lang.Object |
getValue(ValueType aType)
Gets a typed value. |
boolean |
hasValue()
Whether the parameter has a value. |
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 |
setDescription(java.lang.String description)
Sets the description allowing a better understanding about the parameter of the Charging Contract Item. |
void |
setName(java.lang.String name)
Sets the name of the parameter description defined by the user. |
void |
setValue(ValueType aType,
java.lang.Object aValue)
Sets a typed value. |
| Methods inherited from class com.highdeal.hci.HCIModelAdapter |
|---|
marshal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG_NAME
| Constructor Detail |
|---|
public AbstractParameterModel(ValueType... types)
| Method Detail |
|---|
public boolean hasValue()
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the parameter description defined by the userpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description allowing a better understanding about the parameter of the Charging Contract Itempublic ValueType getType()
null, then the value is null.
When the value is null, then the type isn't necessary null.
public java.lang.Object getValue(ValueType aType)
aType - The type of the value
public void setValue(ValueType aType,
java.lang.Object aValue)
aType - The type of the valueaValue - The valuepublic java.util.List<AdditionalInfoModel> getAdditionalInfoList()
Additional Informations.
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 representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallable
marshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
marshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic java.lang.String getTagName()
ITagNameProvider
getTagName in interface ITagNameProvider
public java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.
getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tag
Java class with a default constructor
|
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 | ||||||||