Axaptapedia is now maintained by AgileCadence For more information please click here.


From Axaptapedia
Revision as of 11:11, 16 February 2010 by PhilW (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

pack() and unpack() without user parameters[edit]

In some instances it is necessary to make a batchable class without the need to save user parameters which are serialized for later use during execution. In this scenario there is nothing for the pack() and unpack() methods to do, but they still need to be overridden. The pack() and unpack() methods can be implemented as follows:

<xpp> public container pack() {

   return conNull();


public boolean unpack(container packedClass) {

   return true;

} </xpp>