Sha256: 7cf7263714c956af0e10fd09cfac0f1310fd6db224beafac44fe022355a28818
Contents?: true
Size: 864 Bytes
Versions: 3
Compression:
Stored size: 864 Bytes
Contents
require "rdf/vocab" module Ddr module Datastreams class AdministrativeMetadataDatastream < MetadataDatastream property :permanent_id, predicate: Ddr::Vocab::Asset.permanentId property :permanent_url, predicate: Ddr::Vocab::Asset.permanentUrl property :original_filename, predicate: Ddr::Vocab::PREMIS.hasOriginalName do |index| index.as :stored_sortable end property :workflow_state, predicate: Ddr::Vocab::Asset.workflowState Ddr::Vocab::Roles::LEGACY_ROLES.each do |legacy_role| property legacy_role, predicate: Ddr::Vocab::Roles.send(legacy_role) do |index| index.as :symbol end end property :access_role, predicate: Ddr::Vocab::Roles.hasRole, class_name: Ddr::Auth::Roles::Role property :local_id, predicate: RDF::Vocab::Identifiers.local end end end
Version data entries
3 entries across 3 versions & 1 rubygems