public class PreMacroComponentModel extends MacroComponentModel
AMOUNT_PROPERTY_NAME, IN_PROPERTY_MAPPING, OUT_PROPERTY_MAPPING| Constructor and Description |
|---|
PreMacroComponentModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkValidity()
Returns true if the component is valid.
|
RatingContextDescription |
getContext(ContextualNode child)
Returns the rating context description of this component.
|
int |
getMaxChildCount()
Returns the maximum number of children for this component, that is 1.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
addChild, getAmountPropertyName, getInMapping, getMacro, getMacroCode, getOutMapping, getPropertyReferences, setAmountPropertyName, setAttributes, setMacro, setMacroCodeaddCharacterData, findRootRateModel, getChildAt, getChildCount, getChildren, getDescription, getName, getParent, getPropertyNames, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setChild, setChildren, setDescription, setName, setParentpublic int getMaxChildCount()
getMaxChildCount in class RateComponentModelpublic boolean checkValidity()
MacroComponentModelcheckValidity in class MacroComponentModelpublic RatingContextDescription getContext(ContextualNode child)
getContext in interface ContextualNodegetContext in class RateComponentModelchild - The child nodepublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallablemarshal in class RateComponentModeloutput - The XML output to marshal the object into