com.ail.insurance.quotation.assessrisk
Class AssessSectionRiskCommand

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.assessrisk.AssessSectionRiskCommand
All Implemented Interfaces:
CommandArg, AssessSectionRiskArg, java.io.Serializable, java.lang.Cloneable

public class AssessSectionRiskCommand
extends Command
implements AssessSectionRiskArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
AssessSectionRiskCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 AssessmentSheet getAssessmentSheetArgRet()
          Fetch the value of the assessmentsheet argument.
 Core getCoreArg()
          Getter for the coreArg property.
 Policy getPolicyArg()
          Fetch the value of the policy argument.
 Section getSectionArg()
          Fetch the value of the section argument.
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setAssessmentSheetArgRet(AssessmentSheet assessmentsheet)
          Set the value of the assessmentsheet argument.
 void setCoreArg(Core coreArg)
          Setter for the coreArg property.
 void setPolicyArg(Policy policy)
          Set the value of the policy argument.
 void setSectionArg(Section section)
          Set the value of the section argument.
 
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

AssessSectionRiskCommand

public AssessSectionRiskCommand()
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()
Fetch the value of the policy argument. $Description$

Specified by:
getPolicyArg in interface AssessSectionRiskArg
Returns:
value of policy
See Also:
#setPolicy

setPolicyArg

public void setPolicyArg(Policy policy)
Set the value of the policy argument. $Description$

Specified by:
setPolicyArg in interface AssessSectionRiskArg
Parameters:
policy - New value for policy argument.
See Also:
#getPolicyArgRet

getSectionArg

public Section getSectionArg()
Fetch the value of the section argument. The section for which risk should be assessed. This will be one of the section in the policy.

Specified by:
getSectionArg in interface AssessSectionRiskArg
Returns:
value of section
See Also:
#setSection

setSectionArg

public void setSectionArg(Section section)
Set the value of the section argument. The section for which risk should be assessed. This will be one of the section in the policy.

Specified by:
setSectionArg in interface AssessSectionRiskArg
Parameters:
section - New value for section argument.
See Also:
#getSection

getAssessmentSheetArgRet

public AssessmentSheet getAssessmentSheetArgRet()
Fetch the value of the assessmentsheet argument. The table to which the service should add behaviours.

Specified by:
getAssessmentSheetArgRet in interface AssessSectionRiskArg
Returns:
value of assessmentsheet
See Also:
#setAssessmentSheet

setAssessmentSheetArgRet

public void setAssessmentSheetArgRet(AssessmentSheet assessmentsheet)
Set the value of the assessmentsheet argument. The table to which the service should add behaviours.

Specified by:
setAssessmentSheetArgRet in interface AssessSectionRiskArg
Parameters:
assessmentsheet - New value for assessmentsheet argument.
See Also:
#getAssessmentSheet

getCoreArg

public Core getCoreArg()
Getter for the coreArg property. AssessRisk's core for logging, lookups etc.

Specified by:
getCoreArg in interface AssessSectionRiskArg
Returns:
@{inheritDoc}

setCoreArg

public void setCoreArg(Core coreArg)
Setter for the coreArg property. * @see #getCoreArg

Specified by:
setCoreArg in interface AssessSectionRiskArg
Parameters:
coreArg - @{inheritDoc}