|
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.pnr.hci.RateComponentModel
com.highdeal.pnr.hci.MacroComponentModel
public abstract class MacroComponentModel
This abstract class represents a rate component that runs a pricing macro. It defines the pricing macro name and input/output property mapping.
| Field Summary | |
|---|---|
protected java.lang.String |
amountPropertyName
|
protected java.util.Vector<java.lang.String> |
inMapping
|
protected PricingMacroModel |
macro
|
protected java.lang.String |
macroCode
|
protected java.util.Vector<java.lang.String> |
outMapping
|
| Fields inherited from class com.highdeal.pnr.hci.RateComponentModel |
|---|
children, description, name, parent |
| Constructor Summary | |
|---|---|
MacroComponentModel()
Constructs a macro component model. |
|
| Method Summary | |
|---|---|
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. |
boolean |
checkValidity()
Returns true if the component is valid. |
java.lang.String |
getAmountPropertyName()
Returns the name of the property in which the amount will be put. |
java.util.Vector<java.lang.String> |
getInMapping()
Returns an ordered mapping for the macro. |
PricingMacroModel |
getMacro()
Returns the pricing macro for this macro component. |
java.lang.String |
getMacroCode()
Gets the code of the macro used in this component. |
java.util.Vector<java.lang.String> |
getOutMapping()
Returns an ordered mapping for the macro. |
protected void |
marshallElements(XMLOutputter output)
|
void |
setAmountPropertyName(java.lang.String name)
Sets the amount property name for this component. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setMacro(PricingMacroModel r)
Sets the pricing macro for this component. |
void |
setMacroCode(java.lang.String c)
Sets the code of the macro used in this component. |
| Methods inherited from class com.highdeal.pnr.hci.RateComponentModel |
|---|
addCharacterData, getChildAt, getChildCount, getChildren, getContext, getDescription, getMaxChildCount, getName, getParent, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, marshal, marshallChildren, remove, removeChild, setChild, setChild, setChildren, setDescription, setName, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String amountPropertyName
protected java.lang.String macroCode
protected PricingMacroModel macro
protected java.util.Vector<java.lang.String> inMapping
protected java.util.Vector<java.lang.String> outMapping
| Constructor Detail |
|---|
public MacroComponentModel()
| Method Detail |
|---|
public PricingMacroModel getMacro()
public void setMacro(PricingMacroModel r)
r - the pricing macro for this component.public java.lang.String getMacroCode()
public void setMacroCode(java.lang.String c)
c - the code of the macro used in this component.public java.lang.String getAmountPropertyName()
public void setAmountPropertyName(java.lang.String name)
name - the name of the amount property.public java.util.Vector<java.lang.String> getInMapping()
String that
represent properties in the rating context.public java.util.Vector<java.lang.String> getOutMapping()
String that
represent properties in the rating context.public boolean checkValidity()
checkValidity in class RateComponentModelpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallablesetAttributes in class RateComponentModelatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallableaddChild in class RateComponentModeltagName - The name of tag for the childchild - The child to be addedprotected void marshallElements(XMLOutputter output)
|
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 | ||||||||