ISOLocaleContainer: ISOLocaleContainer

ISOLocaleContainerR Documentation

ISOLocaleContainer

Description

ISOLocaleContainer

ISOLocaleContainer

Format

R6Class object.

Value

Object of R6Class for modelling an ISO LocaleContainer

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOLocaleContainer

Public fields

language

language [1..1]: ISOLanguage

country

country [0..1]: ISOCountry

characterEncoding

character encoding [0..1]: ISOCharacterSet

description

description [1..1]

locale

locale [1..1]

date

date [1..*]

responsibleParty

responsibleParty [1..*]

localisedString

localisedString [1..*]

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOLocaleContainer$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setLanguage()

Set language

Usage
ISOLocaleContainer$setLanguage(language)
Arguments
language

object of class ISOLanguage or character


Method setCountry()

Set country

Usage
ISOLocaleContainer$setCountry(country)
Arguments
country

object of class ISOCountry or character


Method setCharacterEncoding()

Set character encoding

Usage
ISOLocaleContainer$setCharacterEncoding(characterEncoding)
Arguments
characterEncoding

object of class ISOCharacterSet or character


Method setDescription()

Set description

Usage
ISOLocaleContainer$setDescription(description, locales = NULL)
Arguments
description

description

locales

list of localized texts. Default is NULL


Method setLocale()

Set locale

Usage
ISOLocaleContainer$setLocale(locale)
Arguments
locale

object of class ISOLocale


Method addDate()

Adds date

Usage
ISOLocaleContainer$addDate(date)
Arguments
date

object of class ISODate

Returns

TRUE if added, FALSE otherwise


Method delDate()

Deletes date

Usage
ISOLocaleContainer$delDate(date)
Arguments
date

object of class ISODate

Returns

TRUE if deleted, FALSE otherwise


Method addResponsibleParty()

Adds responsible party

Usage
ISOLocaleContainer$addResponsibleParty(responsibleParty)
Arguments
responsibleParty

object of class ISOResponsibleParty (in ISO 19139) or ISOResponsibility (in ISO 19115-3)

Returns

TRUE if added, FALSE otherwise


Method delResponsibleParty()

Deletes responsible party

Usage
ISOLocaleContainer$delResponsibleParty(responsibleParty)
Arguments
responsibleParty

object of class ISOResponsibleParty (in ISO 19139) or ISOResponsibility (in ISO 19115-3)

Returns

TRUE if deleted, FALSE otherwise


Method addLocalisedString()

Adds localised string

Usage
ISOLocaleContainer$addLocalisedString(string)
Arguments
string

object of class character

Returns

TRUE if added, FALSE otherwise


Method delLocalisedString()

Deletes localised string

Usage
ISOLocaleContainer$delLocalisedString(string)
Arguments
string

object of class character

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOLocaleContainer$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_PT_LocaleContainer

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/lan/1.0/lan/#element_PT_LocaleContainer


eblondel/geometa documentation built on Jan. 31, 2025, 12:54 p.m.