ISOCodeListValue
ISOCodeListValue
Object of R6Class
for modelling an ISO Metadata codelist item
R6Class
object.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOCodeListValue
codelistId
codelist ID
attrs
attrs
value
value
valueDescription
value description
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()
Method used to instantiate an ISOCodeListValue. By default,
addCodeListAttrs = TRUE
, to add codelist atributes to root XML. The
parameter addCodeSpaceAttr = TRUE
by default, and ignored if the valueof
addCodeLisAttrs
is set to FALSE
. The argument setValue
sets the value as node text (defaut is TRUE
). The argument setValueDescription
allows to force having description set as value, default is FALSE
in which case
the name will be preferred, and in case no name is provided, code value will be used.
ISOCodeListValue$new(
xml = NULL,
id,
value = NULL,
description = NULL,
addCodeListAttrs = TRUE,
addCodeSpaceAttr = TRUE,
setValue = TRUE,
setValueDescription = FALSE
)
xml
object of class XMLInternalNode-class
id
id
value
value
description
description
addCodeListAttrs
add codelist attributes?
addCodeSpaceAttr
add codespace attribute?
setValue
set value?
setValueDescription
set value description?
getAcceptedValues()
Get accepted values
ISOCodeListValue$getAcceptedValues()
a vector of class character
clone()
The objects of this class are cloneable with this method.
ISOCodeListValue$clone(deep = FALSE)
deep
Whether to make a deep clone.
ISO 19115:2003 - Geographic information -- Metadata