             me.reader = Ext.createByAlias('reader.' + reader.type, reader);
 
         return me.reader || null;
-
-});

            ownerName : ownerName,
            associatedName: associatedName
        })

    getReader: ->
        me = this

Ext.define 'App.model.Association'

    statics:
        AUTO_ID: 1000



    constructor: (config) ->
        Ext.apply(this, config);

        me               = this
        types            = Ext.ModelManager.types
        ownerName        = config.ownerModel
        associatedName   = config.associatedModel
        ownerModel       = types[ownerName]
        associatedModel  = types[associatedName]
        me.initialConfig = config;


        if ! ownerModel?
