ISOProcessStep: ISOProcessStep

ISOProcessStepR Documentation

ISOProcessStep

Description

ISOProcessStep

ISOProcessStep

Format

R6Class object.

Value

Object of R6Class for modelling an ISO ProcessStep

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOProcessStep

Public fields

description

description: character

rationale

rationale [0..1]: character

dateTime

dateTime [0..1]: POSIXct/POSIXt

processor

processor [0..*]: ISOResponsibleParty

source

source [0..*]: ISOSource

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOProcessStep$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setDescription()

Set description

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

description

locales

list of localized texts. Default is NULL


Method setRationale()

Set rationale

Usage
ISOProcessStep$setRationale(rationale, locales = NULL)
Arguments
rationale

rationale

locales

list of localized texts. Default is NULL


Method setDateTime()

Set date time

Usage
ISOProcessStep$setDateTime(dateTime)
Arguments
dateTime

object of class POSIXct


Method addProcessor()

Adds processor

Usage
ISOProcessStep$addProcessor(processor)
Arguments
processor

object of class ISOResponsibleParty

Returns

TRUE if added, FALSE otherwise


Method delProcessor()

Deletes processor

Usage
ISOProcessStep$delProcessor(processor)
Arguments
processor

object of class ISOResponsibleParty

Returns

TRUE if deleted, FALSE otherwise


Method addSource()

Adds source

Usage
ISOProcessStep$addSource(source)
Arguments
source

object of class ISOSource

Returns

TRUE if added, FALSE otherwise


Method delSource()

Deletes source

Usage
ISOProcessStep$delSource(source)
Arguments
source

object of class ISOSource

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOProcessStep$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_LI_ProcessStep

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrl/1.0/mrl/#element_LI_ProcessStep

Examples

  ps <- ISOProcessStep$new()
  ps$setDescription("description")
  ps$setRationale("rationale")
  ps$setDateTime( ISOdate(2015, 1, 1, 23, 59, 59))
  rp <- ISOResponsibleParty$new()
  rp$setIndividualName("someone") #and more responsible party properties..
  ps$addProcessor(rp)
  xml <- ps$encode()
  

eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.