SWETimeRange function

SWETimeRange

SWETimeRange

SWETimeRange

SWETimeRange class

Format

R6Class object.

Returns

Object of R6Class for modelling an SWE Time Range

References

SWE Common Data Model Encoding Standard. https://www.ogc.org/standards/swecommon

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::SWEAbstractObject -> geometa::SWEAbstractSWE -> geometa::SWEAbstractSWEIdentifiable -> geometa::SWEAbstractDataComponent -> geometa::SWEAbstractSimpleComponent -> SWETimeRange

Public fields

  • uom: uom

  • constraint: constraint

  • value: value

Methods

Public methods

Method new()

Initializes an object of class SWETimeRange

Usage

SWETimeRange$new(
  xml = NULL,
  uom = NULL,
  constraint = NULL,
  start = NULL,
  end = NULL,
  updatable = NULL,
  optional = FALSE,
  definition = NULL
)

Arguments

  • xml: object of class XMLInternalNode-class from XML

  • uom: uom

  • constraint: constraint

  • start: start time

  • end: end time

  • updatable: updatable

  • optional: optional

  • definition: definition

Method setUom()

setUom

Usage

SWETimeRange$setUom(uom)

Arguments

  • uom: uom

Method setConstraint()

setConstraint

Usage

SWETimeRange$setConstraint(constraint)

Arguments

  • constraint: constraint

Method setValue()

setValue

Usage

SWETimeRange$setValue(start, end)

Arguments

  • start: start time

  • end: end time

Method clone()

The objects of this class are cloneable with this method.

Usage

SWETimeRange$clone(deep = FALSE)

Arguments

  • deep: Whether to make a deep clone.

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29