// 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.UniKiel = (function(superClass) {
  extend(UniKiel, superClass);

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

  UniKiel.prototype.name = function() {
    return "uni-kiel";
  };

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

  return UniKiel;

})(Easydb4MigrationPlugin);

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