public static boolean isEmpty ( final MultiLanguageText multiLanguageText ) { for ( MultiLanguageText . MapFieldEntry entry : multiLanguageText . getEntryList ( ) ) { if ( ! entry . getValue ( ) . isEmpty ( ) ) { return false ; } } return true ; }
Test if the multiLanguageText is empty . This means that every multiLanguageText list for every languageCode is empty or that it only contains empty string .