code: function DatabaseCollection(name) {
    if ($metamodel.getSchema(name) || internalDB.indexOf(name) !== -1) {
      exports.store[name] = {};
      this.name = name;
      if (internalDB.indexOf(name) === -1) {
        collections.push(name);
      }
    } else {
      $log.invalidCollectionName(name);
    }
  }
docs: /* Public methods 
  @class DatabaseCollection
  @constructor
  @param {String} name name of the new collection
  @@description A collection of documents managed by System Runtime.
  Internal collections manage core objects of System Runtime (schema, type, ...).
  Public collections manage components of the same class.