Learn R Programming

geometa (version 0.6-2)

ISOProcessStep: ISOProcessStep

Description

ISOProcessStep

Usage

ISOProcessStep

Arguments

Value

Object of R6Class for modelling an ISO ProcessStep

Format

R6Class object.

Fields

description

[character] process step description

rationale

[character] rationale

dateTime

[POSIXt] dateTime of the process ste

processor

[ISOResponsibleParty] party responsible of the process step

Methods

new(xml)

This method is used to instantiate an ISOProcessStep

setDescription(description, locales)

Sets the process step description. Locale names can be specified as list with the locales argument.

setRationale(rationale, locales)

Sets the process step rationale. Locale names can be specified as list with the locales argument.

setDateTime(dateTime)

Sets the date time

addProcessor(processor)

Adds a processor (object of class ISOResponsibleParty)

delProcessor(processor)

Deletes a processor

addSource(source)

Adds a source (object of class ISOSource)

delSource(source)

Deletes a source

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

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

Run the code above in your browser using DataLab