|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final java.lang.String copyright
Method Detail |
public ULocale getLocale()
public void setLocale(ULocale locale)
public java.lang.String toLanguageCountryString()
public 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()
public void setLanguage(java.lang.String value)
Language
' attribute.
value
- the new value of the 'Language' attribute.isSetLanguage()
,
unsetLanguage()
,
getLanguage()
public void unsetLanguage()
Language
' attribute.
isSetLanguage()
,
getLanguage()
,
setLanguage(String)
public boolean isSetLanguage()
Language
' attribute is set.
unsetLanguage()
,
getLanguage()
,
setLanguage(String)
public java.lang.String getCountry()
setCountry(String)
,
DesignPackage.getLocale_Country()
public void setCountry(java.lang.String value)
Country
' attribute.
value
- the new value of the 'Country' attribute.getCountry()
public java.lang.String getVariant()
setVariant(String)
,
DesignPackage.getLocale_Variant()
public 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 |