ISOParameter {geometa}R Documentation

ISOParameter

Description

ISOParameter

ISOParameter

Format

R6Class object.

Value

Object of R6Class for modelling an ISOParameter

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOParameter

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

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOParameter$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setName()

Set name

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

name

attributeType

attribute type

locales

list of localized texts. Default is NULL


Method setDirection()

Set direction

Usage
ISOParameter$setDirection(direction)
Arguments
direction

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


Method setDescription()

Set description

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

description

locales

list of localized texts. Default is NULL


Method setOptionality()

Set optionality

Usage
ISOParameter$setOptionality(optional)
Arguments
optional

object of class logical


Method setRepeatability()

Set repeatability

Usage
ISOParameter$setRepeatability(repeatable)
Arguments
repeatable

object of class logical


Method setValueType()

Set value type

Usage
ISOParameter$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
ISOParameter$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19119:2005 - Geographic information – Services

Examples

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


[Package geometa version 0.8-0 Index]