/** * Get the bibliographic code of this language. * * <p> * Most languages have just one <a * href="http://en.wikipedia.org/wiki/ISO_639-2">ISO 639-2</a> code and they * simply return <code>this</code> object. Only ISO 639-2/T codes * ("terminological" codes) return counterpart objects. For example, * {@link LanguageAlpha3Code#fra LanguageAlpha3Code.fra}{@code .getAlpha3B()} * returns {@link LanguageAlpha3Code#fre LanguageAlpha3Code.fre}. * </p> * * @return * The bibliographic code of this language. */ public LanguageAlpha3Code getAlpha3B() { if (getUsage() == Usage.BIBLIOGRAPHY) { return this; } else { return getSynonym(); } }
/** * Get the bibliographic code of this language. * * <p> * Most languages have just one <a * href="http://en.wikipedia.org/wiki/ISO_639-2">ISO 639-2</a> code and they * simply return <code>this</code> object. Only ISO 639-2/T codes * ("terminological" codes) return counterpart objects. For example, * {@link LanguageAlpha3Code#fra LanguageAlpha3Code.fra}{@code .getAlpha3B()} * returns {@link LanguageAlpha3Code#fre LanguageAlpha3Code.fre}. * </p> * * @return * The bibliographic code of this language. */ public LanguageAlpha3Code getAlpha3B() { if (getUsage() == Usage.BIBLIOGRAPHY) { return this; } else { return getSynonym(); } }
/** * Get the terminological code of this language. * * <p> * Most languages have just one <a * href="http://en.wikipedia.org/wiki/ISO_639-2">ISO 639-2</a> code and they * simply return <code>this</code> object. Only ISO 639-2/B codes * ("bibliographic" codes) return counterpart objects. For example, * {@link LanguageAlpha3Code#fre LanguageAlpha3Code.fre}{@code .getAlpha3T()} * returns {@link LanguageAlpha3Code#fra LanguageAlpha3Code.fra}. * * </p> * * @return * The terminological code of this language. */ public LanguageAlpha3Code getAlpha3T() { if (getUsage() == Usage.TERMINOLOGY) { return this; } else { return getSynonym(); } }
/** * Get the terminological code of this language. * * <p> * Most languages have just one <a * href="http://en.wikipedia.org/wiki/ISO_639-2">ISO 639-2</a> code and they * simply return <code>this</code> object. Only ISO 639-2/B codes * ("bibliographic" codes) return counterpart objects. For example, * {@link LanguageAlpha3Code#fre LanguageAlpha3Code.fre}{@code .getAlpha3T()} * returns {@link LanguageAlpha3Code#fra LanguageAlpha3Code.fra}. * * </p> * * @return * The terminological code of this language. */ public LanguageAlpha3Code getAlpha3T() { if (getUsage() == Usage.TERMINOLOGY) { return this; } else { return getSynonym(); } }