/** * @deprecated * @return Returns the shortName. */ @Deprecated public String getShortName() { if (concept != null) { ConceptName bestShortName = concept.getShortNameInLocale(Context.getLocale()); if (bestShortName != null) return bestShortName.getName(); } return null; }
/** * @deprecated Use {@link Concept#getShortestName(Locale, Boolean)} instead. * @return Returns the appropriate short name */ @Deprecated public String getShortestName() { if (concept != null) { ConceptName bestShortName = concept.getShortestName(this.locale, false); if (bestShortName != null) return bestShortName.getName(); } return getName(); }