private String formatRelationList ( List < Relation > value ) { String result = null ; if ( value != null && value . size ( ) != 0 ) { StringBuilder sb = new StringBuilder ( ) ; for ( Relation relation : value ) { if ( sb . length ( ) != 0 ) { sb . append ( m_delimiter ) ; } sb . append ( formatRelation ( relation ) ) ; } result = sb . toString ( ) ; } return ( result ) ; }
This method is called to format a relation list .