com.ail.insurance.subrogation.makearecovery
Class MakeARecoveryCommand

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.subrogation.makearecovery.MakeARecoveryCommand
All Implemented Interfaces:
CommandArg, MakeARecoveryArg, java.io.Serializable, java.lang.Cloneable

public class MakeARecoveryCommand
extends Command
implements MakeARecoveryArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
MakeARecoveryCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 Claim getClaim()
           
 PaymentType getPaymentType()
           
 java.lang.String getReason()
           
 java.util.Hashtable<java.lang.String,CurrencyAmount> getRecoveryMade()
           
 RecoveryType getRecoveryType()
           
 java.lang.String getSource()
           
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setClaim(Claim claim)
           
 void setPaymentType(PaymentType paymentType)
           
 void setReason(java.lang.String reason)
           
 void setRecoveryMade(java.util.Hashtable<java.lang.String,CurrencyAmount> recoveryMade)
           
 void setRecoveryType(RecoveryType recoveryType)
           
 void setSource(java.lang.String source)
           
 
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

MakeARecoveryCommand

public MakeARecoveryCommand()
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.

getClaim

public Claim getClaim()
Specified by:
getClaim in interface MakeARecoveryArg

setClaim

public void setClaim(Claim claim)
Specified by:
setClaim in interface MakeARecoveryArg

getRecoveryType

public RecoveryType getRecoveryType()
Specified by:
getRecoveryType in interface MakeARecoveryArg

setRecoveryType

public void setRecoveryType(RecoveryType recoveryType)
Specified by:
setRecoveryType in interface MakeARecoveryArg

getPaymentType

public PaymentType getPaymentType()
Specified by:
getPaymentType in interface MakeARecoveryArg

setPaymentType

public void setPaymentType(PaymentType paymentType)
Specified by:
setPaymentType in interface MakeARecoveryArg

getRecoveryMade

public java.util.Hashtable<java.lang.String,CurrencyAmount> getRecoveryMade()
Specified by:
getRecoveryMade in interface MakeARecoveryArg

setRecoveryMade

public void setRecoveryMade(java.util.Hashtable<java.lang.String,CurrencyAmount> recoveryMade)
Specified by:
setRecoveryMade in interface MakeARecoveryArg

getSource

public java.lang.String getSource()
Specified by:
getSource in interface MakeARecoveryArg

setSource

public void setSource(java.lang.String source)
Specified by:
setSource in interface MakeARecoveryArg

getReason

public java.lang.String getReason()
Specified by:
getReason in interface MakeARecoveryArg

setReason

public void setReason(java.lang.String reason)
Specified by:
setReason in interface MakeARecoveryArg