ISOMedium: ISOMedium

ISOMediumR Documentation

ISOMedium

Description

ISOMedium

ISOMedium

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Citation

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOMedium

Public fields

name

name

density

density

densityUnits

density units

volumes

volumes

mediumFormat

medium format

mediumNote

medium note

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOMedium$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setName()

Set name

Usage
ISOMedium$setName(name)
Arguments
name

name object of class ISOMediumName or character among values returned by ISOMediumName$values()


Method addDensity()

Adds density

Usage
ISOMedium$addDensity(density)
Arguments
density

object of class numeric

Returns

TRUE if added, FALSE otherwise


Method delDensity()

Deletes density

Usage
ISOMedium$delDensity(density)
Arguments
density

object of class numeric

Returns

TRUE if deleted, FALSE otherwise


Method setDensityUnits()

Set density units

Usage
ISOMedium$setDensityUnits(densityUnits)
Arguments
densityUnits

densityUnits


Method setVolumes()

Set volumes

Usage
ISOMedium$setVolumes(volumes)
Arguments
volumes

object of class integer


Method addMediumFormat()

Adds medium format

Usage
ISOMedium$addMediumFormat(mediumFormat)
Arguments
mediumFormat

object of class ISOMediumFormat or character among values returned by ISOMediumFormat$values()

Returns

TRUE if added, FALSE otherwise


Method delMediumFormat()

Deletes medium format

Usage
ISOMedium$delMediumFormat(mediumFormat)
Arguments
mediumFormat

object of class ISOMediumFormat or character among values returned by ISOMediumFormat$values()

Returns

TRUE if deleted, FALSE otherwise


Method setMediumNote()

Set medium note

Usage
ISOMedium$setMediumNote(mediumNote, locales = NULL)
Arguments
mediumNote

medium note

locales

list of localized notes. Default is NULL


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOMedium$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 <- ISOMedium$new()
 md$setName("satellite")
 md$addDensity(1.0)
 md$setDensityUnits("string")
 md$setVolumes(1L)
 md$addMediumFormat("tar")
 md$setMediumNote("some note")
 xml <- md$encode()
 

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