Learn R Programming

geometa (version 0.6-2)

ISODigitalTransferOptions: ISODigitalTransferOptions

Description

ISODigitalTransferOptions

Usage

ISODigitalTransferOptions

Arguments

Value

Object of R6Class for modelling an ISO DigitalTransferOptions

Format

R6Class object.

Fields

unitsOfDistribution

[character] units of distribution

transferSize

[character] transfer size

onLine

[ISOOnlineResource] online resource(s)

Methods

new(xml,value)

This method is used to instantiate an ISODigitalTransferOptions

setUnitsOfDistribution(unit)

Sets the units of distribution

setTransferSize(transferSize)

Sets the transfer Size

addOnlineResource(onlineResource)

Adds an object of class ISOOnlineResource

setOnlineResource(onlineResource)

Sets an object of class ISOOnlineResource

delOnlineResource(onlineResource)

Deletes an object of class ISOOnlineResource

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  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()
  
# }

Run the code above in your browser using DataLab