com.ail.insurance.quotation.assessrisk
Class AssessRiskArgImp

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.CommandArgImp
          extended by com.ail.insurance.quotation.assessrisk.AssessRiskArgImp
All Implemented Interfaces:
CommandArg, AssessRiskArg, java.io.Serializable, java.lang.Cloneable

public class AssessRiskArgImp
extends CommandArgImp
implements AssessRiskArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
AssessRiskArgImp()
          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

AssessRiskArgImp

public AssessRiskArgImp()
Default constructor

Method Detail

getPolicyArgRet

public Policy getPolicyArgRet()
Fetch the value of the policy argument. Each of the sections in the policy is processed in turn, and appropriate additions are made to their PremiumCalculateTables. The the policy's own AssessmentSheet is updated. All of the is optional and under the control of the rules services defined for the product.

Specified by:
getPolicyArgRet in interface AssessRiskArg
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. Each of the sections in the policy is processed in turn, and appropriate additions are made to their PremiumCalculateTables. The the policy's own AssessmentSheet is updated. All of the is optional and under the control of the rules services defined for the product.

Specified by:
setPolicyArgRet in interface AssessRiskArg
Parameters:
policyArgRet - New value for policy argument.
See Also:
getPolicyArgRet()