ISOExtendedElementInformation | R Documentation |
ISOExtendedElementInformation
ISOExtendedElementInformation
R6Class
object.
Object of R6Class
for modelling an ISO ExtendedElementInformation
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
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()
new()
Initializes object
ISOExtendedElementInformation$new(xml = NULL)
xml
object of class XMLInternalNode-class
setName()
Set name
ISOExtendedElementInformation$setName(name, locales = NULL)
name
name
locales
list of localized names. Default is NULL
setShortName()
Set short name
ISOExtendedElementInformation$setShortName(shortName, locales = NULL)
shortName
short name
locales
list of localized short names. Default is NULL
setDomainCode()
Set domain code
ISOExtendedElementInformation$setDomainCode(domainCode)
domainCode
domain code, object of class integer
setDefinition()
Set definition
ISOExtendedElementInformation$setDefinition(definition, locales = NULL)
definition
definition
locales
list of localized definitions. Default is NULL
setObligation()
Set obligation
ISOExtendedElementInformation$setObligation(obligation)
obligation
obligation, object of class ISOObligation or any character
value among those returned by ISOObligation$values()
setCondition()
Set condition
ISOExtendedElementInformation$setCondition(condition, locales = NULL)
condition
condition
locales
list of localized conditions. Default is NULL
setDatatype()
Set data type
ISOExtendedElementInformation$setDatatype(dataType)
dataType
data type, object of class ISODatatype or any character
value among those returned by ISODatatype$values()
setMaximumOccurrence()
Set maximum occurrence
ISOExtendedElementInformation$setMaximumOccurrence(maximumOccurrence)
maximumOccurrence
max occurrence
setDomainValue()
Set domain value
ISOExtendedElementInformation$setDomainValue(domainValue)
domainValue
domain value
addParentEntity()
Adds parent entity
ISOExtendedElementInformation$addParentEntity(entity)
entity
parent entity
TRUE
if added, FALSE
otherwise
delParentEntity()
Deletes parent entity
ISOExtendedElementInformation$delParentEntity(entity)
entity
parent entity
TRUE
if deleted, FALSE
otherwise
setRule()
Set rule
ISOExtendedElementInformation$setRule(rule, locales = NULL)
rule
rule
locales
list of localized rules. Default is NULL
addRationale()
Adds rationale
ISOExtendedElementInformation$addRationale(rationale, locales = NULL)
rationale
rationale
locales
list of localized rationales. Default is NULL
TRUE
if added, FALSE
otherwise
delRationale()
Deletes rationale
ISOExtendedElementInformation$delRationale(rationale, locales = NULL)
rationale
rationale
locales
list of localized rationales. Default is NULL
TRUE
if deleted, FALSE
otherwise
addSource()
Adds source
ISOExtendedElementInformation$addSource(source)
source
source, object of class ISOResponsibleParty
TRUE
if added, FALSE
otherwise
delSource()
Deletes source
ISOExtendedElementInformation$delSource(source)
source
source, object of class ISOResponsibleParty
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOExtendedElementInformation$clone(deep = FALSE)
deep
Whether 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.