public class RestLanguage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
countryCode |
protected String |
ietfCode |
protected String |
iso2Code |
protected String |
iso3Code |
protected String |
pluralExpression |
protected Boolean |
primaryOfGroup |
| Constructor and Description |
|---|
RestLanguage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCountryCode()
The country code represents the region of the language as a 2 letter ISO code.
|
String |
getIetfCode()
The IETF code represents the language as the two letter ISO code including the region (e.g.
|
String |
getIso2Code()
The ISO 2 letter code represents the language with two letters.
|
String |
getIso3Code()
The ISO 3 letter code represents the language with three letters.
|
String |
getPluralExpression()
The plural expression defines how to map a plural into the language index.
|
int |
hashCode() |
Boolean |
isPrimaryOfGroup()
The primary language of a group indicates whether a language is the primary language of a group of languages.
|
String |
toString() |
protected String countryCode
protected String ietfCode
protected String iso2Code
protected String iso3Code
protected String pluralExpression
protected Boolean primaryOfGroup
public String getCountryCode()
public String getIetfCode()
public String getIso2Code()
public String getIso3Code()
public String getPluralExpression()
public Boolean isPrimaryOfGroup()
Copyright © 2021. All rights reserved.