| ISOContact {geometa} | R Documentation |
ISOContact
Description
ISOContact
ISOContact
Format
R6Class object.
Value
Object of R6Class for modelling an ISO Contact
Super classes
geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOContact
Public fields
phonephone
addressaddress
onlineResourceonline resource
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$decode()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()
Method new()
Initializes object
Usage
ISOContact$new(xml = NULL)
Arguments
xmlobject of class XMLInternalNode-class
Method setPhone()
Set phone
Usage
ISOContact$setPhone(phone)
Arguments
phoneobject of class ISOTelephone
Method setAddress()
Set address
Usage
ISOContact$setAddress(address)
Arguments
addressobject of class ISOAddress
Method setOnlineResource()
Set online resource
Usage
ISOContact$setOnlineResource(onlineResource)
Arguments
onlineResourceonline resource, object of class ISOOnlineResource
Method clone()
The objects of this class are cloneable with this method.
Usage
ISOContact$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19115:2003 - Geographic information – Metadata
Examples
md <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
phone$setFacsimile("myfacsimile")
md$setPhone(phone)
address <- ISOAddress$new()
address$setDeliveryPoint("theaddress")
address$setCity("thecity")
address$setPostalCode("111")
address$setCountry("France")
address$setEmail("someone@theorg.org")
md$setAddress(address)
res <- ISOOnlineResource$new()
res$setLinkage("http://www.somewhereovertheweb.org")
res$setName("somename")
md$setOnlineResource(res)
xml <- md$encode()
[Package geometa version 0.8-0 Index]