function(type, metadata) {
    type = this.modelFor(type);

    Ember.merge(this.typeMapFor(type).metadata, metadata);
  }
function(type, metadata) {
    type = this.modelFor(type);

    Ember.merge(this.typeMapFor(type).metadata, metadata);
  }
function ( type , metadata ) { type = this . modelFor ( type ) ; Ember . merge ( this . typeMapFor ( type ) . metadata , metadata ) ; }
If you have some metadata to set for a type
you can call `metaForType`.

@method metaForType
@param {String or subclass of DS.Model} type
@param {Object} metadata
If you have some metadata to set for a type you can call metaForType .