1234567891011121314151617181920212223242526272829303132 |
- class ExchRateLoadBatch extends RunBaseBatch {
- ExchRateLoad rbc;
- container currencies;
- boolean actual;
- boolean overwrite;
- date beg;
- date end;
- #define.CurrentVersion(5)
- #localmacro.CurrentList
- currencies,
- actual,
- beg,
- end
- #endmacro
- }
- public boolean unpack(container packedClass) {
- container base;
- boolean ret;
- Integer version = runbase::getVersion(packedClass);
- switch (version) {
- case #CurrentVersion:
- [version, #CurrentList] = packedClass;
- return true;
- default:
- return false;
- }
- return ret;
- }
|