ISOCodeListValue {geometa} | R Documentation |
ISOCodeListValue
Description
ISOCodeListValue
ISOCodeListValue
Format
R6Class
object.
Value
Object of R6Class
for modelling an ISO Metadata codelist element
Super classes
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOCodeListValue
Public fields
codelistId
codelist ID
attrs
attrs
value
value
valueDescription
value description
Methods
Public methods
Inherited methods
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()
Method 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.
Usage
ISOCodeListValue$new( xml = NULL, id, value = NULL, description = NULL, addCodeListAttrs = TRUE, addCodeSpaceAttr = TRUE, setValue = TRUE, setValueDescription = FALSE )
Arguments
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?
Method getAcceptedValues()
Get accepted values
Usage
ISOCodeListValue$getAcceptedValues()
Returns
a vector of class character
Method clone()
The objects of this class are cloneable with this method.
Usage
ISOCodeListValue$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Note
Abstract ISO codelist class used internally by geometa
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19115:2003 - Geographic information – Metadata