public class TLcdISO19115Locale extends TLcdISO19118Object
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
CHARACTER_ENCODING_PROPERTY
Data property that maps to the
characterEncoding element. |
static TLcdDataProperty |
COUNTRY_PROPERTY
Data property that maps to the
country element. |
static TLcdDataProperty |
LANGUAGE_CODE_PROPERTY
Data property that maps to the
languageCode element. |
ID_PROPERTY, UUID_PROPERTY
Constructor and Description |
---|
TLcdISO19115Locale() |
TLcdISO19115Locale(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
TLcdISO19115CharacterSetCode |
getCharacterEncoding()
Returns the role value contained in the value of the
CHARACTER_ENCODING_PROPERTY property. |
TLcdISO19115CountryCode |
getCountry()
Returns the role value contained in the value of the
COUNTRY_PROPERTY property. |
TLcdISO19115LanguageCode |
getLanguageCode()
Returns the role value contained in the value of the
LANGUAGE_CODE_PROPERTY property. |
void |
setCharacterEncoding(TLcdISO19115CharacterSetCode aValue)
Sets the value of the property that maps to the
characterEncoding element. |
void |
setCountry(TLcdISO19115CountryCode aValue)
Sets the value of the property that maps to the
country element. |
void |
setLanguageCode(TLcdISO19115LanguageCode aValue)
Sets the value of the property that maps to the
languageCode element. |
getId, getUuid, setId, setUuid
public static final TLcdDataProperty LANGUAGE_CODE_PROPERTY
languageCode
element.
The possible values for this property are instances of TLcdISO19115Optional<TLcdISO19115LanguageCode>
.public static final TLcdDataProperty COUNTRY_PROPERTY
country
element.
The possible values for this property are instances of TLcdISO19115Optional<TLcdISO19115CountryCode>
.public static final TLcdDataProperty CHARACTER_ENCODING_PROPERTY
characterEncoding
element.
The possible values for this property are instances of TLcdISO19115Optional<TLcdISO19115CharacterSetCode>
.public TLcdISO19115Locale()
public TLcdISO19115Locale(TLcdDataType aType)
public TLcdISO19115LanguageCode getLanguageCode()
LANGUAGE_CODE_PROPERTY
property. Returns null
if the value of the LANGUAGE_CODE_PROPERTY
property is null
.LANGUAGE_CODE_PROPERTY
property.TLcdISO19115Optional
public void setLanguageCode(TLcdISO19115LanguageCode aValue)
languageCode
element. to a new instance of the association class TLcdISO19115Optional
initialized with the given role value. In case the given role value is null
, the LANGUAGE_CODE_PROPERTY
property is set to null
.aValue
- the role value to set for the LANGUAGE_CODE_PROPERTY
property.public TLcdISO19115CountryCode getCountry()
COUNTRY_PROPERTY
property. Returns null
if the value of the COUNTRY_PROPERTY
property is null
.COUNTRY_PROPERTY
property.TLcdISO19115Optional
public void setCountry(TLcdISO19115CountryCode aValue)
country
element. to a new instance of the association class TLcdISO19115Optional
initialized with the given role value. In case the given role value is null
, the COUNTRY_PROPERTY
property is set to null
.aValue
- the role value to set for the COUNTRY_PROPERTY
property.public TLcdISO19115CharacterSetCode getCharacterEncoding()
CHARACTER_ENCODING_PROPERTY
property. Returns null
if the value of the CHARACTER_ENCODING_PROPERTY
property is null
.CHARACTER_ENCODING_PROPERTY
property.TLcdISO19115Optional
public void setCharacterEncoding(TLcdISO19115CharacterSetCode aValue)
characterEncoding
element. to a new instance of the association class TLcdISO19115Optional
initialized with the given role value. In case the given role value is null
, the CHARACTER_ENCODING_PROPERTY
property is set to null
.aValue
- the role value to set for the CHARACTER_ENCODING_PROPERTY
property.