ISODigitalTransferOptions: ISODigitalTransferOptions

ISODigitalTransferOptionsR Documentation

ISODigitalTransferOptions

Description

ISODigitalTransferOptions

ISODigitalTransferOptions

Format

R6Class object.

Value

Object of R6Class for modelling an ISO DigitalTransferOptions

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISODigitalTransferOptions

Public fields

unitsOfDistribution

unitsOfDistribution [0..1]: character

transferSize

transferSize [0..1]: integer

onLine

onLine [0..*]: ISOOnlineResource

offLine

offLine [0..1]: MD_Medium

distributionFormat

distributionFormat [0..*]: ISOFormat (=> ISO 19115-3)

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISODigitalTransferOptions$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setUnitsOfDistribution()

Set units of distribution

Usage
ISODigitalTransferOptions$setUnitsOfDistribution(unit)
Arguments
unit

unit


Method setTransferSize()

Set transfer size

Usage
ISODigitalTransferOptions$setTransferSize(transferSize)
Arguments
transferSize

transfer size


Method addOnlineResource()

Adds online resource

Usage
ISODigitalTransferOptions$addOnlineResource(onlineResource)
Arguments
onlineResource

object of class ISOOnlineResource

Returns

TRUE if added, FALSE otherwise


Method setOnlineResource()

Sets online resource

Usage
ISODigitalTransferOptions$setOnlineResource(onlineResource)
Arguments
onlineResource

object of class ISOOnlineResource

Returns

TRUE if added, FALSE otherwise


Method delOnlineResource()

Deletes online resource

Usage
ISODigitalTransferOptions$delOnlineResource(onlineResource)
Arguments
onlineResource

object of class ISOOnlineResource

Returns

TRUE if deleted, FALSE otherwise


Method addOfflineResource()

Adds offline resource

Usage
ISODigitalTransferOptions$addOfflineResource(offlineResource)
Arguments
offlineResource

object of class ISOMedium

Returns

TRUE if added, FALSE otherwise


Method setOfflineResource()

Sets offline resource

Usage
ISODigitalTransferOptions$setOfflineResource(offlineResource)
Arguments
offlineResource

object of class ISOMedium

Returns

TRUE if added, FALSE otherwise


Method delOfflineResource()

Deletes offline resource

Usage
ISODigitalTransferOptions$delOfflineResource(offlineResource)
Arguments
offlineResource

object of class ISOMedium

Returns

TRUE if deleted, FALSE otherwise


Method addDistributionFormat()

Adds distribution format

Usage
ISODigitalTransferOptions$addDistributionFormat(distributionFormat)
Arguments
distributionFormat

object of class ISOFormat

Returns

TRUE if added, FALSE otherwise


Method delDistributionFormat()

Deletes distribution format

Usage
ISODigitalTransferOptions$delDistributionFormat(distributionFormat)
Arguments
distributionFormat

object of class ISOFormat

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISODigitalTransferOptions$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_MD_DigitalTransferOptions

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrd/1.0/mrd/#element_MD_DigitalTransferOptions

Examples

  md <- ISODigitalTransferOptions$new()  
  
  or <- ISOOnlineResource$new()
  or$setLinkage("http://somelink")
  or$setName("name")
  or$setDescription("description")
  or$setProtocol("WWW:LINK-1.0-http--link")
  md$addOnlineResource(or)
  
  xml <- md$encode()
  

eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.