ISODigitalTransferOptions
ISODigitalTransferOptions
ISODigitalTransferOptions class
R6Class
object.
Object of R6Class
for modelling an ISO DigitalTransferOptions
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()
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
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISODigitalTransferOptions
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)
new()
Initializes object
ISODigitalTransferOptions$new(xml = NULL)
xml
: object of class XMLInternalNode-class
setUnitsOfDistribution()
Set units of distribution
ISODigitalTransferOptions$setUnitsOfDistribution(unit)
unit
: unit
setTransferSize()
Set transfer size
ISODigitalTransferOptions$setTransferSize(transferSize)
transferSize
: transfer size
addOnlineResource()
Adds online resource
ISODigitalTransferOptions$addOnlineResource(onlineResource)
onlineResource
: object of class ISOOnlineResource
TRUE
if added, FALSE
otherwise
setOnlineResource()
Sets online resource
ISODigitalTransferOptions$setOnlineResource(onlineResource)
onlineResource
: object of class ISOOnlineResource
TRUE
if added, FALSE
otherwise
delOnlineResource()
Deletes online resource
ISODigitalTransferOptions$delOnlineResource(onlineResource)
onlineResource
: object of class ISOOnlineResource
TRUE
if deleted, FALSE
otherwise
addOfflineResource()
Adds offline resource
ISODigitalTransferOptions$addOfflineResource(offlineResource)
offlineResource
: object of class ISOMedium
TRUE
if added, FALSE
otherwise
setOfflineResource()
Sets offline resource
ISODigitalTransferOptions$setOfflineResource(offlineResource)
offlineResource
: object of class ISOMedium
TRUE
if added, FALSE
otherwise
delOfflineResource()
Deletes offline resource
ISODigitalTransferOptions$delOfflineResource(offlineResource)
offlineResource
: object of class ISOMedium
TRUE
if deleted, FALSE
otherwise
addDistributionFormat()
Adds distribution format
ISODigitalTransferOptions$addDistributionFormat(distributionFormat)
distributionFormat
: object of class ISOFormat
TRUE
if added, FALSE
otherwise
delDistributionFormat()
Deletes distribution format
ISODigitalTransferOptions$delDistributionFormat(distributionFormat)
distributionFormat
: object of class ISOFormat
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISODigitalTransferOptions$clone(deep = FALSE)
deep
: Whether to make a deep clone.