ISOConformanceResult function

ISOConformanceResult

ISOConformanceResult

ISOConformanceResult

ISOConformanceResult class

Format

R6Class object.

Returns

Object of R6Class for modelling an ISO ConformanceResult

Examples

md <- ISOConformanceResult$new() spec <- ISOCitation$new() spec$setTitle("specification title") spec$addAlternateTitle("specification alternate title") d <- ISODate$new() d$setDate(ISOdate(2015, 1, 1, 1)) d$setDateType("publication") spec$addDate(d) md$setSpecification(spec) md$setExplanation("some explanation about the conformance") md$setPass(TRUE) xml <- md$encode()

References

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOAbstractResult -> ISOConformanceResult

Public fields

  • resultScope: resultScope [0..1]: ISOScope (=> 19115-3)

  • dateTime: dateTime [0..1] (=> 19115-3)

  • specification: specification

  • explanation: explanation

  • pass: pass

Methods

Public methods

Method new()

Initializes object

Usage

ISOConformanceResult$new(xml = NULL)

Arguments

  • xml: object of class XMLInternalNode-class

Method setResultScope()

Set result scope

Usage

ISOConformanceResult$setResultScope(scope)

Arguments

  • scope: object of class ISOScope

Method setDateTime()

Set date time

Usage

ISOConformanceResult$setDateTime(dateTime)

Arguments

  • dateTime: date time, object of class POSIXct

Method setSpecification()

Set specification

Usage

ISOConformanceResult$setSpecification(specification)

Arguments

  • specification: specification

Method setExplanation()

Set explanation about the conformance result

Usage

ISOConformanceResult$setExplanation(explanation, locales = NULL)

Arguments

  • explanation: explanation

  • locales: list of localized explanations. Default is NULL

Method setPass()

Set wether the conformance passed or not

Usage

ISOConformanceResult$setPass(pass)

Arguments

  • pass: object of class logical

Method clone()

The objects of this class are cloneable with this method.

Usage

ISOConformanceResult$clone(deep = FALSE)

Arguments

  • deep: Whether to make a deep clone.

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