Package com.highdeal.pnr.hci
Class InMacroComponentModel
java.lang.Object
com.highdeal.pnr.hci.RateComponentModel
com.highdeal.pnr.hci.MacroComponentModel
com.highdeal.pnr.hci.InMacroComponentModel
- All Implemented Interfaces:
XMLMarshallable,ContextualNode
This class represents a rate component which
runs a pricing macro as an in-component.
-
Field Summary
Fields inherited from class com.highdeal.pnr.hci.MacroComponentModel
AMOUNT_PROPERTY_NAME, IN_PROPERTY_MAPPING, OUT_PROPERTY_MAPPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the maximum child count (-1).voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.Methods inherited from class com.highdeal.pnr.hci.MacroComponentModel
addChild, checkValidity, getAmountPropertyName, getInMapping, getMacro, getMacroCode, getOutMapping, getPropertyReferences, setAmountPropertyName, setAttributes, setMacro, setMacroCodeMethods inherited from class com.highdeal.pnr.hci.RateComponentModel
addCharacterData, findRootRateModel, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, getPropertyNames, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setChild, setChildren, setDescription, setName, setParent
-
Constructor Details
-
InMacroComponentModel
public InMacroComponentModel()
-
-
Method Details
-
getMaxChildCount
public int getMaxChildCount()Gets the maximum child count (-1). No child is allowed for this component.- Specified by:
getMaxChildCountin classRateComponentModel- Returns:
- the maximum child count.
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Overrides:
marshalin classRateComponentModel- Parameters:
output- TheXML outputto marshal the object into
-