|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.components.voucher.AbstractVoucherGenerator
This is an abstract implementation of the IVoucherGenerator interface.
| Constructor Summary | |
AbstractVoucherGenerator()
|
|
| Method Summary | |
void |
cleanup()
This method should be invoked by a client after the generate is completed. |
abstract String |
generate()
The client will invoke this method to generate a voucher. |
String |
getLabelToken()
Getter for the property labelToken. |
String |
getLength()
Getter for the property length. |
String |
getPrefix()
Getter for the property prefix. |
UOW |
getUow()
Getter for the property uow. |
void |
init()
This method should be invoked by a client before all the setters are invoked. |
void |
setLabelToken(String labelToken)
Setter for property labelToken. |
void |
setLength(String length)
Setter for property length. |
void |
setPrefix(String prefix)
Setter for property prefix. |
void |
setUow(UOW uow)
Setter for property uow. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractVoucherGenerator()
| Method Detail |
public void init()
init in interface IVoucherGeneratorpublic void cleanup()
cleanup in interface IVoucherGenerator
public abstract String generate()
throws FrameworkException,
ApplicationExceptions
generate in interface IVoucherGeneratorFrameworkException - if any framework error occurs.
ApplicationExceptions - if any application error occurs.public UOW getUow()
getUow in interface IVoucherGeneratorpublic void setUow(UOW uow)
setUow in interface IVoucherGeneratoruow - New value of property uow.public String getLabelToken()
getLabelToken in interface IVoucherGeneratorpublic void setLabelToken(String labelToken)
setLabelToken in interface IVoucherGeneratorlabelToken - New value of property labelToken.public String getPrefix()
getPrefix in interface IVoucherGeneratorpublic void setPrefix(String prefix)
setPrefix in interface IVoucherGeneratorprefix - New value of property prefix.public String getLength()
getLength in interface IVoucherGeneratorpublic void setLength(String length)
setLength in interface IVoucherGeneratorlength - New value of property length.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||