| ISOExtendedElementInformation | R Documentation |
ISOExtendedElementInformation
ISOExtendedElementInformation
R6Class object.
Object of R6Class for modelling an ISO ExtendedElementInformation
geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOExtendedElementInformation
namename [1..1]: character
shortNameshortName [0..1]: character
domainCodedomainCode [0..1]: integer
definitiondefinition [1..1]: character
obligationobligation [0..1]: ISOObligation
conditioncondition [0..1]: character
dataTypedataType [1..1]: ISODatatype
maximumOccurrencemaximumOccurrence [0..1]: character
domainValuedomainValue [0..1]: character
parentEntityparentEntity [1..*]: character
rulerule [1..1]: character
rationalerationale [0..*]: character
sourcesource [1..*]: ISOResponsibleParty
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
ISOExtendedElementInformation$new(xml = NULL)
xmlobject of class XMLInternalNode-class
setName()Set name
ISOExtendedElementInformation$setName(name, locales = NULL)
namename
localeslist of localized names. Default is NULL
setShortName()Set short name
ISOExtendedElementInformation$setShortName(shortName, locales = NULL)
shortNameshort name
localeslist of localized short names. Default is NULL
setDomainCode()Set domain code
ISOExtendedElementInformation$setDomainCode(domainCode)
domainCodedomain code, object of class integer
setDefinition()Set definition
ISOExtendedElementInformation$setDefinition(definition, locales = NULL)
definitiondefinition
localeslist of localized definitions. Default is NULL
setObligation()Set obligation
ISOExtendedElementInformation$setObligation(obligation)
obligationobligation, object of class ISOObligation or any character
value among those returned by ISOObligation$values()
setCondition()Set condition
ISOExtendedElementInformation$setCondition(condition, locales = NULL)
conditioncondition
localeslist of localized conditions. Default is NULL
setDatatype()Set data type
ISOExtendedElementInformation$setDatatype(dataType)
dataTypedata type, object of class ISODatatype or any character
value among those returned by ISODatatype$values()
setMaximumOccurrence()Set maximum occurrence
ISOExtendedElementInformation$setMaximumOccurrence(maximumOccurrence)
maximumOccurrencemax occurrence
setDomainValue()Set domain value
ISOExtendedElementInformation$setDomainValue(domainValue)
domainValuedomain value
addParentEntity()Adds parent entity
ISOExtendedElementInformation$addParentEntity(entity)
entityparent entity
TRUE if added, FALSE otherwise
delParentEntity()Deletes parent entity
ISOExtendedElementInformation$delParentEntity(entity)
entityparent entity
TRUE if deleted, FALSE otherwise
setRule()Set rule
ISOExtendedElementInformation$setRule(rule, locales = NULL)
rulerule
localeslist of localized rules. Default is NULL
addRationale()Adds rationale
ISOExtendedElementInformation$addRationale(rationale, locales = NULL)
rationalerationale
localeslist of localized rationales. Default is NULL
TRUE if added, FALSE otherwise
delRationale()Deletes rationale
ISOExtendedElementInformation$delRationale(rationale, locales = NULL)
rationalerationale
localeslist of localized rationales. Default is NULL
TRUE if deleted, FALSE otherwise
addSource()Adds source
ISOExtendedElementInformation$addSource(source)
sourcesource, object of class ISOResponsibleParty
TRUE if added, FALSE otherwise
delSource()Deletes source
ISOExtendedElementInformation$delSource(source)
sourcesource, object of class ISOResponsibleParty
TRUE if deleted, FALSE otherwise
clone()The objects of this class are cloneable with this method.
ISOExtendedElementInformation$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information – Metadata
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")
md$setRule("rule")
md$addRationale("rationale")
#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)
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.