ISOParameter

ISOParameter

Format

R6Class object.

Value

Object of R6Class for modelling an ISOParameter

References

ISO 19119:2005 - Geographic information – Services

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

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

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.

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()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/srv}SV_Parameter': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOParameter' is INVALID according to ISO 19139 XML schemas!