ISOParameter: ISOParameter

Description Usage Format Value Fields Methods Author(s) References Examples

Description

ISOParameter

Usage

1

Format

R6Class object.

Value

Object of R6Class for modelling an ISOParameter

Fields

name
direction
description
optionality
repeatability
valueType

Methods

new(xml)

This method is used to instantiate an ISOParameter

setName(name, attributeType)

Sets the parameter name (character) and attributeType (ISOTypeName or character)

setDirection(direction)

Sets the direction, an object of class ISOParameterDirection or any character value among ISOParameterDirection$values()

setDescription(description)

Sets the parameter description

setOptionality(optional)

Set whether the parameter is optional (TRUE), FALSE otherwise

setRepeatability(repeatable)

Set whether the parameter is repeatable (TRUE), FALSE otherwise

setValueType(valueType)

Sets the type of parameter value, object of class ISOTypeName or character

Author(s)

Emmanuel Blondel <[email protected]>

References

ISO 19119:2005 - Geographic information – Services

Examples

1
2
3
4
5
6
7
8
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()

geometa documentation built on Nov. 28, 2017, 5:05 p.m.