* @param fallbackCode If this code is != null then the text in this language will be returned if nothing was found
* @return
*/
@Transient
public JbsLangObject getLangObject(String langCode, Set languageObjects, String fallbackCode) {
JbsLangObject result = null;
Iterator<JbsLangObject> it = languageObjects.iterator();
while ((result == null) && (it.hasNext())) {
JbsLangObject langObject = it.next();
if (langObject.getLanguage().getLangCode().equalsIgnoreCase(langCode)) {
result = langObject;
}
}
if ((result==null) && (fallbackCode!=null) && (!fallbackCode.equals("")))