com.ail.insurance.quotation.generatedocument
Class GenerateDocumentArgImp
java.lang.Object
com.ail.core.Type
com.ail.core.command.CommandArgImp
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
| 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 |
GenerateDocumentArgImp
public GenerateDocumentArgImp()
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()