Usage
"initialize"(.Object, identifier = as.character(NA), formatId = as.character(NA), size = as.numeric(NA), checksum = as.character(NA), checksumAlgorithm = "SHA-1", submitter = as.character(NA), rightsHolder = as.character(NA), accessPolicy = data.frame(subject = character(), permission = character()), replicationAllowed = TRUE, numberReplicas = 3, obsoletes = as.character(NA), obsoletedBy = as.character(NA), archived = FALSE, dateUploaded = as.character(NA), dateSysMetadataModified = as.character(NA), originMemberNode = as.character(NA), authoritativeMemberNode = as.character(NA), preferredNodes = list(), blockedNodes = list(), seriesId = as.character(NA), mediaType = as.character(NA), fileName = as.character(NA))
Arguments
.Object
The object being initialized
identifier
value of type "character"
, the identifier of the object that this system metadata describes.
formatId
value of type "character"
, the DataONE object format for the object.
size
value of type "numeric"
, the size of the object in bytes.
checksum
value of type "character"
, the checksum for the object using the designated checksum algorithm.
checksumAlgorithm
value of type "character"
, the name of the hash function used to generate a checksum, from the DataONE controlled list.
submitter
value of type "character"
, the Distinguished Name or identifier of the person submitting the object.
rightsHolder
value of type "character"
, the Distinguished Name or identifier of the person who holds access rights to the object.
accessPolicy
value of type "data.frame"
containing (subject, permission) tuples to constitute the access authorization rules.
replicationAllowed
value of type "logical"
, for replication policy allows replicants.
numberReplicas
value of type "numeric"
, for number of supported replicas.
obsoletes
value of type "character"
, the identifier of an object which this object replaces.
obsoletedBy
value of type "character"
, the identifier of an object that replaces this object.
archived
value of type "logical"
, a boolean flag indicating whether the object has been archived and thus hidden.
dateUploaded
value of type "character"
, the date on which the object was uploaded to a member node.
dateSysMetadataModified
value of type "character"
, the last date on which this system metadata was modified.
originMemberNode
value of type "character"
, the node identifier of the node on which the object was originally registered.
authoritativeMemberNode
value of type "character"
, the node identifier of the node which currently is authoritative for the object.
preferredNodes
list of "character"
, each of which is the node identifier for a node to which a replica should be sent.
blockedNodes
list of "character"
, each of which is the node identifier for a node blocked from housing replicas.
seriesId
value of type "character"
, a unique Unicode string that identifies an object revision chain. A seriesId will resolve to the latest version of an object.
mediaType
value of type "character"
, the IANA Media Type (aka MIME-Type) of the object, e.g. "text/csv".
fileName
value of type "character"
, a suggested file name for the object (if the object containing this sysmeta is serialized).