public class LocaleDetails extends Object implements Serializable
Constructor and Description |
---|
LocaleDetails() |
LocaleDetails(LocaleId localeId,
String displayName,
String alias,
String nativeName,
boolean enabled,
boolean enabledByDefault,
String pluralForms,
boolean rtl) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAlias()
An alternative name (if present) for this locale
|
String |
getDisplayName()
Locale's display name (in English)
|
LocaleId |
getLocaleId()
Unique locale identifier
|
String |
getNativeName() |
String |
getPluralForms()
A string describing the formula for the locale's plural forms
|
int |
hashCode() |
boolean |
isEnabled()
Indicates whether the locale is enabled in the system or not.
|
boolean |
isEnabledByDefault()
Indicates whether the locale will be used automatically by the system.
|
boolean |
isRtl()
Indicates if this locale is Right-to-Left
|
void |
setAlias(String alias) |
void |
setDisplayName(String displayName) |
void |
setEnabled(boolean enabled) |
void |
setEnabledByDefault(boolean enabledByDefault) |
void |
setLocaleId(LocaleId localeId) |
void |
setNativeName(String nativeName) |
void |
setPluralForms(String pluralForms) |
void |
setRTL(boolean rtl) |
String |
toString() |
@NotNull public LocaleId getLocaleId()
public void setLocaleId(LocaleId localeId)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getAlias()
public void setAlias(String alias)
public String getNativeName()
public void setNativeName(String nativeName)
@NotNull public boolean isEnabled()
public void setEnabled(boolean enabled)
@NotNull public boolean isEnabledByDefault()
public void setEnabledByDefault(boolean enabledByDefault)
public String getPluralForms()
public void setPluralForms(String pluralForms)
public boolean isRtl()
public void setRTL(boolean rtl)
Copyright © 2018 Zanata Project. All rights reserved.