ISOAddress: ISOAddress

ISOAddressR Documentation

ISOAddress

Description

ISOAddress

ISOAddress

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Address

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOAddress

Public fields

deliveryPoint

delivery point

city

city

postalCode

postal code

country

country

electronicMailAddress

email

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOAddress$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setDeliveryPoint()

Set delivery point

Usage
ISOAddress$setDeliveryPoint(deliveryPoint, locales = NULL)
Arguments
deliveryPoint

delivery point

locales

list of localized names


Method addDeliveryPoint()

Adds delivery point

Usage
ISOAddress$addDeliveryPoint(deliveryPoint, locales = NULL)
Arguments
deliveryPoint

delivery point

locales

list of localized names

Returns

TRUE if added, FALSE otherwise


Method delDeliveryPoint()

Deletes delivery point

Usage
ISOAddress$delDeliveryPoint(deliveryPoint, locales = NULL)
Arguments
deliveryPoint

delivery point

locales

list of localized names

Returns

TRUE if added, FALSE otherwise


Method setCity()

Set city

Usage
ISOAddress$setCity(city, locales = NULL)
Arguments
city

city

locales

list of localized names


Method setPostalCode()

Set postal code

Usage
ISOAddress$setPostalCode(postalCode, locales = NULL)
Arguments
postalCode

postal code

locales

list of localized names


Method setCountry()

Set country

Usage
ISOAddress$setCountry(country, locales = NULL)
Arguments
country

country

locales

list of localized names


Method setEmail()

Set email

Usage
ISOAddress$setEmail(email, locales = NULL)
Arguments
email

email

locales

list of localized names


Method addEmail()

Adds email

Usage
ISOAddress$addEmail(email, locales = NULL)
Arguments
email

email

locales

list of localized names

Returns

TRUE if added, FALSE otherwise


Method delEmail()

Deletes email

Usage
ISOAddress$delEmail(email, locales = NULL)
Arguments
email

email

locales

list of localized names

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOAddress$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_CI_Address

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/cit/2.0/cit/#element_CI_Address

Examples

 md <- ISOAddress$new()
 md$setDeliveryPoint("theaddress")
 md$setCity("thecity")
 md$setPostalCode("111")
 md$setCountry("France")
 md$setEmail("someone@theorg.org")
 xml <- md$encode()
 

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