public class ExternalChargeActionModel extends RateComponentModel
This model is a rate RateComponentModel containing two properties:
| Constructor and Description |
|---|
ExternalChargeActionModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(java.lang.String name,
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 |
getCreditorId()
Return the creditorId.
|
java.lang.String |
getCreditorIdName()
Return the name of the contextual property containing the creditorId.
|
java.lang.String |
getDebtorId()
Return the debtorId
|
java.lang.String |
getDebtorIdName()
Return the name of the contextual property containing debtorId.
|
java.lang.String |
getExternalChargingReference()
Return the external charging reference.
|
java.lang.String |
getExternalChargingReferenceName()
Return the name of the contextual property containing the external charging reference.
|
int |
getMaxChildCount()
Gets the maximum child count.
|
java.util.List<com.highdeal.pnr.hci.PropertyReference> |
getPropertyReferences()
Returns the list of the properties that are used in this component.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setCreditorId(java.lang.String creditorId)
Sets the creditorId.
|
void |
setCreditorIdName(java.lang.String creditorIdName)
Sets the name of the contextual property containing the creditorId.
|
void |
setDebtorId(java.lang.String debtorId)
Set the debtorId.
|
void |
setDebtorIdName(java.lang.String debtorIdName)
Sets the name of the contextual property containing the debtorId.
|
void |
setExternalChargingReference(java.lang.String externalChargingReference)
Sets the external charging reference.
|
void |
setExternalChargingReferenceName(java.lang.String externalChargingReferenceName)
Sets the name of the contextual property containing the external charging reference.
|
addCharacterData, findRootRateModel, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, getPropertyNames, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setAttributes, setChild, setChildren, setDescription, setName, setParentpublic java.lang.String getDebtorId()
public void setDebtorId(java.lang.String debtorId)
debtorId - the debtorId to set.public java.lang.String getDebtorIdName()
public void setDebtorIdName(java.lang.String debtorIdName)
debtorIdName - the name of the contextual property containing the debtorId.public java.lang.String getCreditorId()
public void setCreditorId(java.lang.String creditorId)
creditorId - the creditorId to set.public java.lang.String getCreditorIdName()
public void setCreditorIdName(java.lang.String creditorIdName)
creditorIdName - the name of the contextual property containing the creditorId.public java.lang.String getExternalChargingReference()
public void setExternalChargingReference(java.lang.String externalChargingReference)
externalChargingReference - the external charging reference.public java.lang.String getExternalChargingReferenceName()
public void setExternalChargingReferenceName(java.lang.String externalChargingReferenceName)
externalChargingReferenceName - the name of the contextual property containing the external charging reference.public int getMaxChildCount()
RateComponentModelgetMaxChildCount in class RateComponentModelpublic boolean checkValidity()
RateComponentModelcheckValidity in class RateComponentModelpublic java.util.List<com.highdeal.pnr.hci.PropertyReference> getPropertyReferences()
RateComponentModelgetPropertyReferences in class RateComponentModelpublic void addChild(java.lang.String name,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallableaddChild in class RateComponentModelname - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallablemarshal in class RateComponentModeloutput - The XML output to marshal the object into