ISOTelephone: ISOTelephone

ISOTelephoneR Documentation

ISOTelephone

Description

ISOTelephone

ISOTelephone

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Telephone

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOTelephone

Public fields

voice

voice

facsimile

facsimile

number

number

numberType

numberType

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOTelephone$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setVoice()

Set voice

Usage
ISOTelephone$setVoice(voice, locales = NULL)
Arguments
voice

voice

locales

list of localized voices. Default is NULL


Method setFacsimile()

Set facsimile

Usage
ISOTelephone$setFacsimile(facsimile, locales = NULL)
Arguments
facsimile

facsimile

locales

list of localized facsimiles. Default is NULL


Method setNumber()

Set number

Usage
ISOTelephone$setNumber(number, locales = NULL)
Arguments
number

number

locales

list of localized numbers Default is NULL


Method setNumberType()

Set numberType

Usage
ISOTelephone$setNumberType(numberType)
Arguments
numberType

numberType object of class ISOTelephoneType or any character among values returned by ISOTelephoneType$values()


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOTelephone$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_Telephone

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

Examples

  md <- ISOTelephone$new()
  md$setVoice("myphonenumber")
  md$setFacsimile("myfacsimile")
  xml <- md$encode()
  

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