com.highdeal.pnr.hci
Class ExternalChargeActionModel

java.lang.Object
  extended by com.highdeal.pnr.hci.RateComponentModel
      extended by com.highdeal.pnr.hci.ExternalChargeActionModel
All Implemented Interfaces:
XMLMarshallable, ContextualNode

public class ExternalChargeActionModel
extends RateComponentModel

This class represents the action of charging on an external charging reference.


This model is a rate RateComponentModel containing two properties:

Since:
Transactive 4.0

Field Summary
 
Fields inherited from class com.highdeal.pnr.hci.RateComponentModel
children, description, name, parent
 
Constructor Summary
ExternalChargeActionModel()
           
 
Method Summary
 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.
 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.
 
Methods inherited from class com.highdeal.pnr.hci.RateComponentModel
addCharacterData, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, marshallChildren, remove, removeChild, setAttributes, setChild, setChild, setChildren, setDescription, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalChargeActionModel

public ExternalChargeActionModel()
Method Detail

getDebtorId

public java.lang.String getDebtorId()
Return the debtorId

Returns:
the debtorId.

setDebtorId

public void setDebtorId(java.lang.String debtorId)
Set the debtorId.

Parameters:
debtorId - the debtorId to set.

getDebtorIdName

public java.lang.String getDebtorIdName()
Return the name of the contextual property containing debtorId.

Returns:
the name of the contextual property containing debtorId.

setDebtorIdName

public void setDebtorIdName(java.lang.String debtorIdName)
Sets the name of the contextual property containing the debtorId.

Parameters:
debtorIdName - the name of the contextual property containing the debtorId.

getCreditorId

public java.lang.String getCreditorId()
Return the creditorId.

Returns:
the creditorId.

setCreditorId

public void setCreditorId(java.lang.String creditorId)
Sets the creditorId.

Parameters:
creditorId - the creditorId to set.

getCreditorIdName

public java.lang.String getCreditorIdName()
Return the name of the contextual property containing the creditorId.

Returns:
the name of the contextual property containing the creditorId.

setCreditorIdName

public void setCreditorIdName(java.lang.String creditorIdName)
Sets the name of the contextual property containing the creditorId.

Parameters:
creditorIdName - the name of the contextual property containing the creditorId.

getExternalChargingReference

public java.lang.String getExternalChargingReference()
Return the external charging reference.

Returns:
the external charging reference.

setExternalChargingReference

public void setExternalChargingReference(java.lang.String externalChargingReference)
Sets the external charging reference.

Parameters:
externalChargingReference - the external charging reference.

getExternalChargingReferenceName

public java.lang.String getExternalChargingReferenceName()
Return the name of the contextual property containing the external charging reference.

Returns:
the name of the contextual property containing the external charging reference.

setExternalChargingReferenceName

public void setExternalChargingReferenceName(java.lang.String externalChargingReferenceName)
Sets the name of the contextual property containing the external charging reference.

Parameters:
externalChargingReferenceName - the name of the contextual property containing the external charging reference.

getMaxChildCount

public int getMaxChildCount()
Description copied from class: RateComponentModel
Gets the maximum child count.

Specified by:
getMaxChildCount in class RateComponentModel
Returns:
the maximum child count.

checkValidity

public boolean checkValidity()
Description copied from class: RateComponentModel
Returns true if the component is valid.

Specified by:
checkValidity in class RateComponentModel
Returns:
true if the component is valid, false otherwise.

addChild

public void addChild(java.lang.String name,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the object, the child representing the marshallable object which must be added to the element.

Specified by:
addChild in interface XMLMarshallable
Overrides:
addChild in class RateComponentModel
Parameters:
name - The name of tag for the child
child - The child to be added

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, including its children.

Specified by:
marshal in interface XMLMarshallable
Overrides:
marshal in class RateComponentModel
Parameters:
output - The XML output to marshal the object into

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)