| SystemMetadata-class {datapack} | R Documentation |
A DataONE SystemMetadata object containing basic identification, ownership, access policy, replication policy, and related metadata.
Description
A class representing DataONE SystemMetadata, which is core information about objects stored in a repository and needed to manage those objects across systems. SystemMetadata contains basic identification, ownership, access policy, replication policy, and related metadata.
Slots
serialVersionvalue of type
"numeric", the current version of this system metadata; only update the current versionidentifiervalue of type
"character", the identifier of the object that this system metadata describes.replicationAllowedvalue of type
"logical", replication policy allows replicas.numberReplicasvalue of type
"numeric", for number of supported replicas.preferredNodesvalue of type
"list", of preferred member nodes.blockedNodesvalue of type
"list", of blocked member nodes.formatIdvalue of type
"character", the DataONE object format for the object.sizevalue of type
"numeric", the size of the object in bytes.checksumvalue of type
"character", the checksum for the object using the designated checksum algorithm.checksumAlgorithmvalue of type
"character", the name of the hash function used to generate a checksum, from the DataONE controlled list.submittervalue of type
"character", the Distinguished Name or identifier of the person submitting the object.rightsHoldervalue of type
"character", the Distinguished Name or identifier of the person who holds access rights to the object.accessPolicyvalue of type
"data.frame", a list of access rules as (subject, permission) tuples to be applied to the object.obsoletesvalue of type
"character", the identifier of an object which this object replaces.obsoletedByvalue of type
"character", the identifier of an object that replaces this object.archivedvalue of type
"logical", a boolean flag indicating whether the object has been archived and thus hidden.dateUploadedvalue of type
"character", the date on which the object was uploaded to a member node.dateSysMetadataModifiedvalue of type
"character", the last date on which this system metadata was modified.originMemberNodevalue of type
"character", the node identifier of the node on which the object was originally registered.authoritativeMemberNodevalue of type
"character", the node identifier of the node which currently is authoritative for the object.seriesIdvalue of type
"character", a unique Unicode string that identifies an object revision chain. A seriesId will resolve to the latest version of an object.mediaTypevalue of type
"character", the IANA Media Type (aka MIME-Type) of the object, e.g. "text/csv".fileNamevalue of type
"character", the name of the file to create when this object is downloaded from DataONE.mediaTypePropertyvalue of type a
"list"of"character", IANA Media Type properties for the"mediaType"argument
Methods
initialize: Initialize a DataONE SystemMetadata object with default values or values passed in to the constructor objectSystemMetadata: Create a SystemMetadata object, with all fields set to the value found in an XML documentparseSystemMetadata: Parse an external XML document and populate a SystemMetadata object with the parsed dataserializeSystemMetadata: Get the Count of Objects in the Packagevalidate: Validate a SystemMetadata objectaddAccessRule: Add access rules to an object such as system metadatahasAccessRule: Determine if a particular access rules exists within SystemMetadata.clearAccessPolicy: Clear the accessPolicy from the specified object.