R/ISOMetadataExtensionInformation.R
ISOMetadataExtensionInformation.Rd
ISOMetadataExtensionInformation
ISOMetadataExtensionInformation
R6Class
object.
Object of R6Class
for modelling an ISO MetadataExtensionInformation
ISO 19115:2003 - Geographic information – Metadata
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOMetadataExtensionInformation
extensionOnLineResource
extensionOnLineResource [0..1]: ISOOnlineResource
extendedElementInformation
extendedElementInformation [0..*]: ISOExtendedElementInformation
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$checkMetadataStandardCompliance()
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$stopIfMetadataStandardIsNot()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
new()
Initializes object
ISOMetadataExtensionInformation$new(xml = NULL)
xml
object of class XMLInternalNode-class
setOnlineResource()
Set online resource
onlineResource
object of class ISOOnlineResource
addElement()
Adds element
element
object of class inheriting ISOExtendedElementInformation
delElement()
Deletes element
element
object of class inheriting ISOExtendedElementInformation
#create an extended element information
elem <- ISOExtendedElementInformation$new()
elem$setName("name")
elem$setShortName("shortName")
elem$setDomainCode(1L)
elem$setDefinition("some definition")
elem$setObligation("mandatory")
elem$setCondition("no condition")
elem$setDatatype("characterString")
elem$setMaximumOccurrence("string")
elem$setDomainValue("value")
elem$addParentEntity("none")
#> [1] TRUE
elem$setRule("rule")
elem$addRationale("rationale")
#> [1] TRUE
rp <- ISOResponsibleParty$new()
rp$setIndividualName("someone")
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
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)
rp$setContactInfo(contact)
elem$addSource(rp)
#> [1] TRUE
md <- ISOMetadataExtensionInformation$new()
md$addElement(elem)
#> [1] TRUE
xml <- md$encode()
#> [geometa][INFO] Object 'ISOMetadataExtensionInformation' is VALID according to ISO 19139 XML schemas!