uml/UML.js
function () {
            var tagArray = [];
            if (this.tags && this.tags.length > 0) {
                var i, len, tag;
                for (i = 0, len = this.tags.length; i < len; i++) {
                    tag = this.tags[i];
                    switch (tag.kind) {
                    case Core.TK_STRING:
                        tagArray.push(tag.name + '="' + tag.value + '"');
                        break;
                    case Core.TK_REFERENCE:
                        if (tag.reference instanceof Core.Model) {
                            tagArray.push(tag.name + '=' + tag.reference.name);
                        } else {
                            tagArray.push(tag.name + '=null');
                        }
                        break;
                    case Core.TK_BOOLEAN:
                        tagArray.push(tag.name + '=' + tag.checked);
                        break;
                    case Core.TK_NUMBER:
                        tagArray.push(tag.name + '=' + tag.number);
                        break;
                    // TK_HIDDEN is not shown in Diagram.
                    }
                }
            }
            return tagArray;
        }
function () {
            var tagArray = [];
            if (this.tags && this.tags.length > 0) {
                var i, len, tag;
                for (i = 0, len = this.tags.length; i < len; i++) {
                    tag = this.tags[i];
                    switch (tag.kind) {
                    case Core.TK_STRING:
                        tagArray.push(tag.name + '="' + tag.value + '"');
                        break;
                    case Core.TK_REFERENCE:
                        if (tag.reference instanceof Core.Model) {
                            tagArray.push(tag.name + '=' + tag.reference.name);
                        } else {
                            tagArray.push(tag.name + '=null');
                        }
                        break;
                    case Core.TK_BOOLEAN:
                        tagArray.push(tag.name + '=' + tag.checked);
                        break;
                    case Core.TK_NUMBER:
                        tagArray.push(tag.name + '=' + tag.number);
                        break;
                    // TK_HIDDEN is not shown in Diagram.
                    }
                }
            }
            return tagArray;
        }
function ( ) { var tagArray = [ ] ; if ( this . tags && this . tags . length > 0 ) { var i , len , tag ; for ( i = 0 , len = this . tags . length ; i < len ; i ++ ) { tag = this . tags [ i ] ; switch ( tag . kind ) { case Core . TK_STRING : tagArray . push ( tag . name + '="' + tag . value + '"' ) ; break ; case Core . TK_REFERENCE : if ( tag . reference instanceof Core . Model ) { tagArray . push ( tag . name + '=' + tag . reference . name ) ; } else { tagArray . push ( tag . name + '=null' ) ; } break ; case Core . TK_BOOLEAN : tagArray . push ( tag . name + '=' + tag . checked ) ; break ; case Core . TK_NUMBER : tagArray . push ( tag . name + '=' + tag . number ) ; break ; // TK_HIDDEN is not shown in Diagram. } } } return tagArray ; }
Return an array of tag strings

@memberof UMLElementMixin
@return {Array.<string>}
Return an array of tag strings