ISOAddress
ISOAddress
ISOAddress class
R6Class
object.
Object of R6Class
for modelling an ISO Address
md <- ISOAddress$new() md$setDeliveryPoint("theaddress") md$setCity("thecity") md$setPostalCode("111") md$setCountry("France") md$setEmail("someone@theorg.org") xml <- md$encode()
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
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOAddress
deliveryPoint
: delivery point
city
: city
postalCode
: postal code
country
: country
electronicMailAddress
: email
new()
Initializes object
ISOAddress$new(xml = NULL)
xml
: object of class XMLInternalNode-class
setDeliveryPoint()
Set delivery point
ISOAddress$setDeliveryPoint(deliveryPoint, locales = NULL)
deliveryPoint
: delivery point
locales
: list of localized names
addDeliveryPoint()
Adds delivery point
ISOAddress$addDeliveryPoint(deliveryPoint, locales = NULL)
deliveryPoint
: delivery point
locales
: list of localized names
TRUE
if added, FALSE
otherwise
delDeliveryPoint()
Deletes delivery point
ISOAddress$delDeliveryPoint(deliveryPoint, locales = NULL)
deliveryPoint
: delivery point
locales
: list of localized names
TRUE
if added, FALSE
otherwise
setCity()
Set city
ISOAddress$setCity(city, locales = NULL)
city
: city
locales
: list of localized names
setPostalCode()
Set postal code
ISOAddress$setPostalCode(postalCode, locales = NULL)
postalCode
: postal code
locales
: list of localized names
setCountry()
Set country
ISOAddress$setCountry(country, locales = NULL)
country
: country
locales
: list of localized names
setEmail()
Set email
ISOAddress$setEmail(email, locales = NULL)
email
: email
locales
: list of localized names
addEmail()
Adds email
ISOAddress$addEmail(email, locales = NULL)
email
: email
locales
: list of localized names
TRUE
if added, FALSE
otherwise
delEmail()
Deletes email
ISOAddress$delEmail(email, locales = NULL)
email
: email
locales
: list of localized names
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOAddress$clone(deep = FALSE)
deep
: Whether to make a deep clone.