ISOExtendedElementInformation
ISOExtendedElementInformation
ISOExtendedElementInformation class
R6Class
object.
Object of R6Class
for modelling an ISO ExtendedElementInformation
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()
ISO 19115:2003 - Geographic information -- Metadata
Emmanuel Blondel emmanuel.blondel1@gmail.com
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
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.