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

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 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 19115:2003 - Geographic information – Metadata

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()
 

geometa documentation built on May 29, 2024, 10:31 a.m.