ISOResponsibleParty {geometa} | R Documentation |
ISOResponsibleParty
Description
ISOResponsibleParty
ISOResponsibleParty
Format
R6Class
object.
Value
Object of R6Class
for modelling an ISO ResponsibleParty
Super classes
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOResponsibleParty
Public fields
individualName
individualName
organisationName
organisationName
positionName
positionName
contactInfo
contactInfo
role
role
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
ISOResponsibleParty$new(xml = NULL)
Arguments
xml
object of class XMLInternalNode-class
Method setIndividualName()
Set individual name
Usage
ISOResponsibleParty$setIndividualName(individualName, locales = NULL)
Arguments
individualName
individual name
locales
list of localized texts. Default is
NULL
Method setOrganisationName()
Set organisation name
Usage
ISOResponsibleParty$setOrganisationName(organisationName, locales = NULL)
Arguments
organisationName
organisation name
locales
list of localized texts. Default is
NULL
Method setPositionName()
Set position name
Usage
ISOResponsibleParty$setPositionName(positionName, locales = NULL)
Arguments
positionName
position name
locales
list of localized texts. Default is
NULL
Method setContactInfo()
Set contact info
Usage
ISOResponsibleParty$setContactInfo(contactInfo)
Arguments
contactInfo
object of class ISOContact
Method setRole()
Set role
Usage
ISOResponsibleParty$setRole(role)
Arguments
Method clone()
The objects of this class are cloneable with this method.
Usage
ISOResponsibleParty$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19115:2003 - Geographic information – Metadata
Examples
#create a responsible party element
md <- ISOResponsibleParty$new()
md$setIndividualName("someone")
md$setOrganisationName("somewhere")
md$setPositionName("someposition")
md$setRole("pointOfContact")
#add contact
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
phone$setFacsimile("myfacsimile")
contact$setPhone(phone)
address <- ISOAddress$new()
address$setDeliveryPoint("theaddress")
address$setCity("thecity")
address$setPostalCode("111")
address$setCountry("France")
address$setEmail("someone@theorg.org")
contact$setAddress(address)
res <- ISOOnlineResource$new()
res$setLinkage("http://www.somewhereovertheweb.org")
res$setName("somename")
contact$setOnlineResource(res)
md$setContactInfo(contact)
xml <- md$encode()