com.ail.insurance.acceptance
Class CollectPremiumArgImp

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.CommandArgImp
          extended by com.ail.insurance.acceptance.CollectPremiumArgImp
All Implemented Interfaces:
CommandArg, CollectPremiumArg, java.io.Serializable, java.lang.Cloneable

public class CollectPremiumArgImp
extends CommandArgImp
implements CollectPremiumArg

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
CollectPremiumArgImp()
          Default constructor
 
Method Summary
 Policy getPolicyArg()
          Getter for the policyArg property.
 CurrencyAmount getPrePaymentArg()
          Getter for the prePaymentArg property.
 void setPolicyArg(Policy policyArg)
          Setter for the policyArg property.
 void setPrePaymentArg(CurrencyAmount prePaymentArg)
          Setter for the prePaymentArg property.
 
Methods inherited from class com.ail.core.command.CommandArgImp
getCallersCore, setCallersCore
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Constructor Detail

CollectPremiumArgImp

public CollectPremiumArgImp()
Default constructor

Method Detail

getPolicyArg

public Policy getPolicyArg()
Getter for the policyArg property. Policy to collect premium for

Specified by:
getPolicyArg in interface CollectPremiumArg
Returns:
@{inheritDoc}

setPolicyArg

public void setPolicyArg(Policy policyArg)
Setter for the policyArg property. * @see #getPolicyArg

Specified by:
setPolicyArg in interface CollectPremiumArg
Parameters:
policyArg - @{inheritDoc}

getPrePaymentArg

public CurrencyAmount getPrePaymentArg()
Getter for the prePaymentArg property. Amount if premium already collected & just to be posted

Specified by:
getPrePaymentArg in interface CollectPremiumArg
Returns:
@{inheritDoc}

setPrePaymentArg

public void setPrePaymentArg(CurrencyAmount prePaymentArg)
Setter for the prePaymentArg property. * @see #getPrePaymentArg

Specified by:
setPrePaymentArg in interface CollectPremiumArg
Parameters:
prePaymentArg - @{inheritDoc}