// Generated by CoffeeScript 1.12.7
var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
  hasProp = {}.hasOwnProperty;

Easydb4MigrationPlugin.UniHamburg2 = (function(superClass) {
  extend(UniHamburg2, superClass);

  function UniHamburg2() {
    return UniHamburg2.__super__.constructor.apply(this, arguments);
  }

  UniHamburg2.prototype.name = function() {
    return "uni-hamburg-2";
  };

  UniHamburg2.prototype.payload = function(filename, json, update, store_file) {
    if (json.objecttype === "dias_attribute") {
      return this.splitByType(filename, json, update, store_file, "dias_attribute", "typ");
    }
  };

  return UniHamburg2;

})(Easydb4MigrationPlugin);

ez5.session_ready((function(_this) {
  return function() {
    return Easydb4Migration.plugins.registerPlugin(Easydb4MigrationPlugin.UniHamburg2);
  };
})(this));
