core/MetaModelManager.js
function getMetaAttributes(typeName) {
        var metaClass = _global.meta[typeName],
            attrs     = [];
        if (metaClass.super) {
            attrs = getMetaAttributes(metaClass.super);
        }
        if (metaClass.attributes) {
            var i, len, item;
            for (i = 0, len = metaClass.attributes.length; i < len; i++) {
                item = metaClass.attributes[i];
                attrs.push(item);
            }
        }
        return attrs;
    }
function getMetaAttributes(typeName) {
        var metaClass = _global.meta[typeName],
            attrs     = [];
        if (metaClass.super) {
            attrs = getMetaAttributes(metaClass.super);
        }
        if (metaClass.attributes) {
            var i, len, item;
            for (i = 0, len = metaClass.attributes.length; i < len; i++) {
                item = metaClass.attributes[i];
                attrs.push(item);
            }
        }
        return attrs;
    }
function getMetaAttributes ( typeName ) { var metaClass = _global . meta [ typeName ] , attrs = [ ] ; if ( metaClass . super ) { attrs = getMetaAttributes ( metaClass . super ) ; } if ( metaClass . attributes ) { var i , len , item ; for ( i = 0 , len = metaClass . attributes . length ; i < len ; i ++ ) { item = metaClass . attributes [ i ] ; attrs . push ( item ) ; } } return attrs ; }
Return all meta-attributes
@param {string} typeName
@return {Array.<{name:string, kind:string, type:string}>}
Return all meta - attributes