ISODistribution
ISODistribution
ISODistribution class
R6Class
object.
Object of R6Class
for modelling an ISO Distribution
md <- ISODistribution$new() dto <- ISODigitalTransferOptions$new() for(i in 1:3){ or <- ISOOnlineResource$new() or$setLinkage(paste0("http://somelink",i)) or$setName(paste0("name",i)) or$setDescription(paste0("description",i)) or$setProtocol("WWW:LINK-1.0-http--link") dto$addOnlineResource(or) } md$setDigitalTransferOptions(dto) xml <- md$encode()
ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_Distribution
ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrd/1.0/mrd/#element_MD_Distribution
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISODistribution
distributionFormat
: distributionFormat [0..*]: ISOFormat
distributor
: distributor [0..*]: ISODistributor
transferOptions
: transferOptions [0..*]: ISODigitalTransferOptions
new()
Initializes object
ISODistribution$new(xml = NULL)
xml
: object of class XMLInternalNode-class
addFormat()
Adds format
ISODistribution$addFormat(format)
format
: format object of class ISOFormat
TRUE
if added, FALSE
otherwise
delFormat()
Deletes format
ISODistribution$delFormat(format)
format
: format object of class ISOFormat
TRUE
if deleted, FALSE
otherwise
addDistributor()
Adds distributor
ISODistribution$addDistributor(distributor)
distributor
: distributor object of class ISODistributor
TRUE
if added, FALSE
otherwise
delDistributor()
Deletes distributor
ISODistribution$delDistributor(distributor)
distributor
: distributor object of class ISODistributor
TRUE
if deleted, FALSE
otherwise
addDigitalTransferOptions()
Adds digital transfer options
ISODistribution$addDigitalTransferOptions(options)
options
: options object of class ISODigitalTransferOptions
TRUE
if added, FALSE
otherwise
setDigitalTransferOptions()
Sets digital transfer options
ISODistribution$setDigitalTransferOptions(options)
options
: options object of class ISODigitalTransferOptions
TRUE
if added, FALSE
otherwise
delDigitalTransferOptions()
Deletes digital transfer options
ISODistribution$delDigitalTransferOptions(options)
options
: options object of class ISODigitalTransferOptions
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISODistribution$clone(deep = FALSE)
deep
: Whether to make a deep clone.