ISOConformanceResult: ISOConformanceResult

ISOConformanceResultR Documentation

ISOConformanceResult

Description

ISOConformanceResult

ISOConformanceResult

Format

R6Class object.

Value

Object of R6Class for modelling an ISO ConformanceResult

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

Inherited 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.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

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

- ISO 19115-3 https://schemas.isotc211.org/19157/-/mdq/1.2/mdq/#element_DQ_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()
 

eblondel/geometa documentation built on Jan. 31, 2025, 12:54 p.m.