|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Locale
Represents a specific geographical, political, or cultural region.
The following features are supported:
DesignPackage.getLocale()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
java.lang.String |
getCountry()
Returns the value of the 'Country' attribute. |
java.lang.String |
getLanguage()
Returns the value of the 'Language' attribute. |
ULocale |
getLocale()
Returns the locale value as an ULocale object. |
java.lang.String |
getVariant()
Returns the value of the 'Variant' attribute. |
boolean |
isSetLanguage()
Returns whether the value of the ' Language ' attribute is set. |
void |
setCountry(java.lang.String value)
Sets the value of the ' Country ' attribute. |
void |
setLanguage(java.lang.String value)
Sets the value of the ' Language ' attribute. |
void |
setLocale(ULocale locale)
Sets all the locale values. |
void |
setVariant(java.lang.String value)
Sets the value of the ' Variant ' attribute. |
java.lang.String |
toLanguageCountryString()
Getter for the programmatic name of the entire locale, with the language and country separated by underbars. |
void |
unsetLanguage()
Unsets the value of the ' Language ' attribute. |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
ULocale getLocale()
void setLocale(ULocale locale)
a
- ULocale objectjava.lang.String toLanguageCountryString()
java.lang.String getLanguage()
"en"
.
An ISO Language Code; lower-case, two-letter codes as defined by ISO-639.
isSetLanguage()
,
unsetLanguage()
,
setLanguage(String)
,
DesignPackage.getLocale_Language()
void setLanguage(java.lang.String value)
Language
' attribute.
value
- the new value of the 'Language' attribute.isSetLanguage()
,
unsetLanguage()
,
getLanguage()
void unsetLanguage()
Language
' attribute.
isSetLanguage()
,
getLanguage()
,
setLanguage(String)
boolean isSetLanguage()
Language
' attribute is set.
unsetLanguage()
,
getLanguage()
,
setLanguage(String)
java.lang.String getCountry()
setCountry(String)
,
DesignPackage.getLocale_Country()
void setCountry(java.lang.String value)
Country
' attribute.
value
- the new value of the 'Country' attribute.getCountry()
java.lang.String getVariant()
setVariant(String)
,
DesignPackage.getLocale_Variant()
void setVariant(java.lang.String value)
Variant
' attribute.
value
- the new value of the 'Variant' attribute.getVariant()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |