com.ail.insurance.quotation.calculatemanagementcharge
Class CalculatePolicyMgmtChgCommand

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.AbstractCommand
          extended by com.ail.core.command.Command
              extended by com.ail.insurance.quotation.calculatemanagementcharge.CalculatePolicyMgmtChgCommand
All Implemented Interfaces:
CommandArg, CalculatePolicyMgmtChgArg, java.io.Serializable, java.lang.Cloneable

public class CalculatePolicyMgmtChgCommand
extends Command
implements CalculatePolicyMgmtChgArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
CalculatePolicyMgmtChgCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 AssessmentSheet getAssessmentSheetArgRet()
          Getter for the assessmentSheetArgRet property.
 Policy getPolicyArg()
          Getter for the policyArg property.
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setAssessmentSheetArgRet(AssessmentSheet assessmentSheetArgRet)
          Setter for the assessmentSheetArgRet property.
 void setPolicyArg(Policy policyArg)
          Setter for the policyArg property.
 
Methods inherited from class com.ail.core.command.Command
clone, getAccessor, getCallersCore, getConfiguration, getVersion, invoke, setAccessor, setCallersCore, setConfiguration, setService
 
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
 
Methods inherited from interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Constructor Detail

CalculatePolicyMgmtChgCommand

public CalculatePolicyMgmtChgCommand()
Method Detail

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 calculate charges for

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

setPolicyArg

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

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

getAssessmentSheetArgRet

public AssessmentSheet getAssessmentSheetArgRet()
Getter for the assessmentSheetArgRet property. Assessment sheet into which to place charge calculations

Specified by:
getAssessmentSheetArgRet in interface CalculatePolicyMgmtChgArg
Returns:
@{inheritDoc}

setAssessmentSheetArgRet

public void setAssessmentSheetArgRet(AssessmentSheet assessmentSheetArgRet)
Setter for the assessmentSheetArgRet property. * @see #getAssessmentSheetArgRet

Specified by:
setAssessmentSheetArgRet in interface CalculatePolicyMgmtChgArg
Parameters:
assessmentSheetArgRet - @{inheritDoc}