コード例 #1
0
  /**
   * @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;
  }
コード例 #2
0
  /**
   * @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();
  }