com.ail.insurance.acceptance
Class CollectPremiumCommand
java.lang.Object
com.ail.core.Type
com.ail.core.command.AbstractCommand
com.ail.core.command.Command
com.ail.insurance.acceptance.CollectPremiumCommand
- All Implemented Interfaces:
- CommandArg, CollectPremiumArg, java.io.Serializable, java.lang.Cloneable
public class CollectPremiumCommand
- extends Command
- implements CollectPremiumArg
- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
| Methods inherited from class com.ail.core.Type |
addAttribute, 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 |
CollectPremiumCommand
public CollectPremiumCommand()
setArgs
public void setArgs(CommandArg arg)
- Description copied from class:
AbstractCommand
- Update this Command object's arguments with those taken from the command
arg passed in. This is in effect a bulk setter. This interface will be
implemented by beans that have many more getters/setters to support
their properties. The implementations of this method take 'that', and
pull all the relevant properties into this.
- Specified by:
setArgs in class AbstractCommand
- Parameters:
arg - Source for arguments
getArgs
public CommandArg getArgs()
- Description copied from class:
AbstractCommand
- Get the argument set associated with this command.
- Specified by:
getArgs in class AbstractCommand
- Returns:
- This objects arguments.
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}