Sha256: 3d5ccba7c403c4338144717af82519f63f60d147772ac92b67dc0ff3034877f5

Contents?: true

Size: 663 Bytes

Versions: 10

Compression:

Stored size: 663 Bytes

Contents

require "rdf/vocab"

module Ddr
  module Datastreams
    class StructuralMetadataDatastream < MetadataDatastream

      # analogous to METS fileSec "USE" attribute
      property :file_use, predicate: Ddr::Vocab::Asset.fileUse do |index|
        index.as :stored_sortable
      end

      # analogous to METS fileSec "SEQ" or structMap "ORDER" attribute
      property :order, predicate: Ddr::Vocab::Asset.order do |index|
        index.as :stored_sortable
      end

      # analogous to METS fileSec "GROUPID" attribute
      property :file_group, predicate: Ddr::Vocab::Asset.fileGroup do |index|
        index.as :stored_sortable
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ddr-models-1.17.1 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.17.0 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.16.2 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-2.0.0.pre.1 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.16.1 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.16.0 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.15.0 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.14.2 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.14.1 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.14.0 lib/ddr/datastreams/structural_metadata_datastream.rb