com.ail.insurance.quotation.calculatepremium
Class CalculatePremiumArgImp

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.CommandArgImp
          extended by com.ail.insurance.quotation.calculatepremium.CalculatePremiumArgImp
All Implemented Interfaces:
CommandArg, CalculatePremiumArg, java.io.Serializable, java.lang.Cloneable

public class CalculatePremiumArgImp
extends CommandArgImp
implements CalculatePremiumArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
CalculatePremiumArgImp()
          Default constructor
 
Method Summary
 Policy getPolicyArgRet()
          Fetch the value of the policy argument.
 void setPolicyArgRet(Policy policyArgRet)
          Set the value of the policy argument.
 
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

CalculatePremiumArgImp

public CalculatePremiumArgImp()
Default constructor

Method Detail

getPolicyArgRet

public Policy getPolicyArgRet()
Fetch the value of the policy argument. The policy for which the premium should be calculate.

Specified by:
getPolicyArgRet in interface CalculatePremiumArg
Returns:
value of policy
See Also:
setPolicyArgRet(com.ail.insurance.policy.Policy)

setPolicyArgRet

public void setPolicyArgRet(Policy policyArgRet)
Set the value of the policy argument. The policy for which the premium should be calculate.

Specified by:
setPolicyArgRet in interface CalculatePremiumArg
Parameters:
policy - New value for policy argument.
See Also:
#getPolicy