default.txt 594 B

1234567891011121314151617181920212223242526272829303132
  1. class ExchRateLoadBatch extends RunBaseBatch {
  2. ExchRateLoad rbc;
  3. container currencies;
  4. boolean actual;
  5. boolean overwrite;
  6. date beg;
  7. date end;
  8. #define.CurrentVersion(5)
  9. #localmacro.CurrentList
  10. currencies,
  11. actual,
  12. beg,
  13. end
  14. #endmacro
  15. }
  16. public boolean unpack(container packedClass) {
  17. container base;
  18. boolean ret;
  19. Integer version = runbase::getVersion(packedClass);
  20. switch (version) {
  21. case #CurrentVersion:
  22. [version, #CurrentList] = packedClass;
  23. return true;
  24. default:
  25. return false;
  26. }
  27. return ret;
  28. }