Sha256: 7601b0c989888946fa1165ea2cc14b5cb04ff32c46cf65dd4a77395b7422d6b7

Contents?: true

Size: 663 Bytes

Versions: 7

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

7 entries across 7 versions & 1 rubygems

Version Path
ddr-models-1.13.2 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.13.1 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.13.0 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.12.3 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.12.2 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.12.1 lib/ddr/datastreams/structural_metadata_datastream.rb
ddr-models-1.12.0 lib/ddr/datastreams/structural_metadata_datastream.rb