Learn R Programming

geometa (version 0.4-0)

ISOParameter: ISOParameter

Description

ISOParameter

Usage

ISOParameter

Arguments

Value

Object of R6Class for modelling an ISOParameter

Format

R6Class object.

Fields

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

References

ISO 19119:2005 - Geographic information -- Services

Examples

Run this code
# NOT RUN {
  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()

# }

Run the code above in your browser using DataLab