com.ail.insurance.quotation.generatedocument
Class GenerateDocumentArgImp

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.CommandArgImp
          extended by com.ail.insurance.quotation.generatedocument.GenerateDocumentArgImp
All Implemented Interfaces:
CommandArg, GenerateDocumentArg, java.io.Serializable, java.lang.Cloneable

public class GenerateDocumentArgImp
extends CommandArgImp
implements GenerateDocumentArg

This class represents the value object arguments and returns used/generated by the MakeARecovery entry point.

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
GenerateDocumentArgImp()
           
 
Method Summary
 byte[] getDocumentRet()
          The generated document.
 Policy getPolicyArg()
          The policy for which a quotation is to be generated.
 void setDocumentRet(byte[] documentRet)
           
 void setPolicyArg(Policy policyArg)
           
 
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

GenerateDocumentArgImp

public GenerateDocumentArgImp()
Method Detail

getDocumentRet

public byte[] getDocumentRet()
Description copied from interface: GenerateDocumentArg
The generated document.

Specified by:
getDocumentRet in interface GenerateDocumentArg
Returns:
document

setDocumentRet

public void setDocumentRet(byte[] documentRet)
Specified by:
setDocumentRet in interface GenerateDocumentArg
See Also:
GenerateDocumentArg.getDocumentRet()

getPolicyArg

public Policy getPolicyArg()
Description copied from interface: GenerateDocumentArg
The policy for which a quotation is to be generated. The policy's status must be QUOTATION for the generation to be successful.

Specified by:
getPolicyArg in interface GenerateDocumentArg
Returns:
policy to generate for.

setPolicyArg

public void setPolicyArg(Policy policyArg)
Specified by:
setPolicyArg in interface GenerateDocumentArg
See Also:
GenerateDocumentArg.getPolicyArg()