|
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.filter.hci.SpecificModificationModel
public class SpecificModificationModel
This class allows to describe a unitary modification which does not concern an attribute.
As all used specific modifications must be known by the server to be interpreted, the user cannot create
new specific ones he can only use the specific modifications which are proposed by existing
(concrete) modification models.
Like SpecificFormulaModel, each specific modification model is identified
by a code. This class provides a support for parameters management and can
aggregate nested filter models.
| XML Schema Fragment |
<xs:element name="specificModification">
<xs:complexType>
<xs:sequence>
<xs:element ref="ModificationModel" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="code" type="xs:string" use="required"/>
<xs:attribute name="parameters" type="xs:string"/>
</xs:complexType>
</xs:element> |
| Field Summary | |
|---|---|
static java.lang.String |
OBJECT_NAME
|
| Constructor Summary | |
|---|---|
SpecificModificationModel()
Empty contructor. |
|
SpecificModificationModel(java.lang.String code)
Builds a "pre-coded" specific modification. |
|
| 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 |
addParameter(java.lang.String param)
Adds a parameter to the param list. |
java.util.Properties |
extractParamAsProperties()
Extract params for building a Properties structure from a param list like "param1 = value1, param2 = value2...". |
java.util.Vector<java.lang.String> |
extractParameters()
Extracts parameters .from the CSV parameters String representation. |
java.lang.String |
getCode()
Returns the mandatory specific modification code. |
ModificationModel |
getNestedModification()
Returns the optional nested modification model. |
java.lang.String |
getParameters()
Returns a CSV String of parameters. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setCode(java.lang.String code)
Sets the required code of the specific modification. |
void |
setNestedModification(ModificationModel nested)
Sets the optional nested modification model. |
void |
setParameters(java.lang.String params)
Sets the CSV String of params. |
| 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 OBJECT_NAME
| Constructor Detail |
|---|
public SpecificModificationModel()
public SpecificModificationModel(java.lang.String code)
code - the code of the specific modification.| Method Detail |
|---|
public java.lang.String getCode()
public void setCode(java.lang.String code)
null.
code - the code of the specific modification.public java.lang.String getParameters()
public void setParameters(java.lang.String params)
params - the CSV list of optional parameters.public ModificationModel getNestedModification()
public void setNestedModification(ModificationModel nested)
public java.util.Vector<java.lang.String> extractParameters()
public void addParameter(java.lang.String param)
param - the string representation of the added parameter.public java.util.Properties extractParamAsProperties()
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.