+ },\r
+ \r
+ toXml : function(){\r
+ var valueTag = '<slc:value>'+this.getValue()+'</slc:value>';\r
+ var specAttribute = '';\r
+ if(this.getSpecType() == "primitive"){\r
+ specAttribute = '<slc:primitive-spec-attribute isParameter="'+(this.getParameter()?"true":"false")+'" isFrozen="'+(this.getFrozen()?"true":"false")+'" isHidden="'+(this.getHidden()?"true":"false")+'" type="'+this.getSpecSubType()+'">'+valueTag+'</slc:primitive-spec-attribute>';\r
+ }else if(this.getSpecType() == "ref"){\r
+ specAttribute = '<slc:ref-spec-attribute isParameter="'+(this.getParameter()?"true":"false")+'" isFrozen="'+(this.getFrozen()?"true":"false")+'" isHidden="'+(this.getHidden()?"true":"false")+'" targetClassName="'+this.getSpecSubType()+'">'+valueTag+'</slc:ref-spec-attribute>';\r
+ }\r
+ return '<slc:value key="'+this.getKey()+'">'+specAttribute+'</slc:value>';\r