com.ail.insurance.quotation.generatedocument
Interface GenerateDocumentArg

All Superinterfaces:
CommandArg, java.io.Serializable
All Known Implementing Classes:
GenerateDocumentArgImp, GenerateDocumentCommand

public interface GenerateDocumentArg
extends CommandArg

Interface defining the arguments and returns associated with the quotation document generation service.

Version:
$Revision$
Author:
$Author$

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 interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Method Detail

getPolicyArg

Policy getPolicyArg()
The policy for which a quotation is to be generated. The policy's status must be QUOTATION for the generation to be successful.

Returns:
policy to generate for.

setPolicyArg

void setPolicyArg(Policy policyArg)
Parameters:
policyArg -
See Also:
getPolicyArg()

getDocumentRet

byte[] getDocumentRet()
The generated document.

Returns:
document

setDocumentRet

void setDocumentRet(byte[] documentRet)
Parameters:
documentRet -
See Also:
getDocumentRet()