| ISODigitalTransferOptions {geometa} | R 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
unitsOfDistributionunitsOfDistribution [0..1]: character
transferSizetransferSize [0..1]: integer
onLineonLine [0..*]: ISOOnlineResource
offLineoffLine [0..1]: MD_Medium
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$decode()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()
Method new()
Initializes object
Usage
ISODigitalTransferOptions$new(xml = NULL)
Arguments
xmlobject of class XMLInternalNode-class
Method setUnitsOfDistribution()
Set units of distribution
Usage
ISODigitalTransferOptions$setUnitsOfDistribution(unit)
Arguments
unitunit
Method setTransferSize()
Set transfer size
Usage
ISODigitalTransferOptions$setTransferSize(transferSize)
Arguments
transferSizetransfer size
Method addOnlineResource()
Adds online resource
Usage
ISODigitalTransferOptions$addOnlineResource(onlineResource)
Arguments
onlineResourceobject of class ISOOnlineResource
Returns
TRUE if added, FALSE otherwise
Method setOnlineResource()
Sets online resource
Usage
ISODigitalTransferOptions$setOnlineResource(onlineResource)
Arguments
onlineResourceobject of class ISOOnlineResource
Returns
TRUE if added, FALSE otherwise
Method delOnlineResource()
Deletes online resource
Usage
ISODigitalTransferOptions$delOnlineResource(onlineResource)
Arguments
onlineResourceobject of class ISOOnlineResource
Returns
TRUE if deleted, FALSE otherwise
Method addOfflineResource()
Adds offline resource
Usage
ISODigitalTransferOptions$addOfflineResource(offlineResource)
Arguments
offlineResourceobject of class ISOMedium
Returns
TRUE if added, FALSE otherwise
Method setOfflineResource()
Sets offline resource
Usage
ISODigitalTransferOptions$setOfflineResource(offlineResource)
Arguments
offlineResourceobject of class ISOMedium
Returns
TRUE if added, FALSE otherwise
Method delOfflineResource()
Deletes offline resource
Usage
ISODigitalTransferOptions$delOfflineResource(offlineResource)
Arguments
offlineResourceobject of class ISOMedium
Returns
TRUE if deleted, FALSE otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
ISODigitalTransferOptions$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19115:2003 - Geographic information – Metadata
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()