public String getTags ( ) { Set < String > setOfTags = getTagsAsSet ( ) ; if ( setOfTags . isEmpty ( ) ) { return "" ; } StringBuilder buf = new StringBuilder ( ) ; for ( String tag : setOfTags ) { buf . append ( tag ) ; buf . append ( "," ) ; } String tagsAsString = buf . toString ( ) ; return tagsAsString . substring ( 0 , tagsAsString . length ( ) - 1 ) ; }
Gets the comma separated list of tags .