ISOSRVParameter: ISOSRVParameter

ISOSRVParameterR Documentation

ISOSRVParameter

Description

ISOSRVParameter

ISOSRVParameter

Format

R6Class object.

Value

Object of R6Class for modelling an ISOSRVParameter

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOSRVParameter

Public fields

name

name [1..1]: character

direction

direction [0..1]: ISOParameterDirection

description

description [0..1]: character

optionality

optionality [1..1]: character

repeatability

repeatability [1..1]: logical

valueType

valueType [1..1]: ISOTypeName (=> ISO 19139)

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOSRVParameter$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setName()

Set name

Usage
ISOSRVParameter$setName(name, attributeType, locales = NULL)
Arguments
name

name

attributeType

attribute type

locales

list of localized texts. Default is NULL


Method setDirection()

Set direction

Usage
ISOSRVParameter$setDirection(direction)
Arguments
direction

object of class ISOParameterDirection or character among values returned by ISOParameterDirection$values()


Method setDescription()

Set description

Usage
ISOSRVParameter$setDescription(description, locales = NULL)
Arguments
description

description

locales

list of localized texts. Default is NULL


Method setOptionality()

Set optionality

Usage
ISOSRVParameter$setOptionality(optional)
Arguments
optional

object of class logical


Method setRepeatability()

Set repeatability

Usage
ISOSRVParameter$setRepeatability(repeatable)
Arguments
repeatable

object of class logical


Method setValueType()

Set value type

Usage
ISOSRVParameter$setValueType(valueType, locales = NULL)
Arguments
valueType

object of class ISOTypeName or character

locales

list of localized texts. Default is NULL


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOSRVParameter$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19119 https://schemas.isotc211.org/19119/srv/srv/#element_SV_Parameter - ISO 19115-3 https://schemas.isotc211.org/19115/-3/srv/2.0/srv/#element_SV_Parameter

Examples

  md <- ISOSRVParameter$new()
  md$setName("name", "attType")
  md$setDirection("in")
  md$setDescription("description")
  md$setOptionality(FALSE)
  md$setRepeatability(FALSE)
  md$setValueType("CharacterString")  
  xml <- md$encode()


eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.