ISOCodeListValue: ISOCodeListValue

ISOCodeListValueR 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

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


geometa documentation built on May 29, 2024, 10:31 a.m.