Representation result;
result = inverse ? type.getInverseRepresentation(language) : type.getRepresentation(language);
if (result == null){
- result = inverse ? type.getInverseRepresentation(Language.ENGLISH()) : type.getRepresentation(Language.ENGLISH());
+ result = inverse ?
+ type.getInverseRepresentation(Language.getLanguageFromUuid(Language.uuidEnglish)) :
+ type.getRepresentation(Language.getLanguageFromUuid(Language.uuidEnglish));
}
return result;
}
}
public String getAbbreviatedLabel(){
- return getRepresentation(Language.ENGLISH()).getAbbreviatedLabel();
+ return getRepresentation(Language.getLanguageFromUuid(Language.uuidEnglish)).getAbbreviatedLabel();
}
public void setInverse(boolean inverse) {