R/ISOExtendedElementInformation.R
ISOExtendedElementInformation.Rd
ISOExtendedElementInformation
ISOExtendedElementInformation
R6Class
object.
Object of R6Class
for modelling an ISO ExtendedElementInformation
ISO 19115:2003 - Geographic information – Metadata
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOExtendedElementInformation
name
name [1..1]: character
shortName
shortName [0..1]: character
domainCode
domainCode [0..1]: integer
definition
definition [1..1]: character
obligation
obligation [0..1]: ISOObligation
condition
condition [0..1]: character
dataType
dataType [1..1]: ISODatatype
maximumOccurrence
maximumOccurrence [0..1]: character
domainValue
domainValue [0..1]: character
parentEntity
parentEntity [1..*]: character
rule
rule [1..1]: character
rationale
rationale [0..*]: character
source
source [1..*]: ISOResponsibleParty
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()
setObligation()
Set obligation
obligation
obligation, object of class ISOObligation or any character
value among those returned by ISOObligation$values()
setDatatype()
Set data type
dataType
data type, object of class ISODatatype or any character
value among those returned by ISODatatype$values()
md <- ISOExtendedElementInformation$new()
md$setName("name")
md$setShortName("shortName")
md$setDomainCode(1L)
md$setDefinition("some definition")
md$setObligation("mandatory")
md$setCondition("no condition")
md$setDatatype("characterString")
md$setMaximumOccurrence("string")
md$setDomainValue("value")
md$addParentEntity("none")
#> [1] TRUE
md$setRule("rule")
md$addRationale("rationale")
#> [1] TRUE
#adding a source
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)
md$addSource(rp)
#> [1] TRUE
xml <- md$encode()
#> [geometa][INFO] Object 'ISOExtendedElementInformation' is VALID according to ISO 19139 XML schemas!