Sha256: 0aea85416fb0160bf85f10eef048ebf462c97bee4e3032acfbd8bdbeaea81be7

Contents?: true

Size: 940 Bytes

Versions: 52

Compression:

Stored size: 940 Bytes

Contents

# properties datastream: catch-all for info that didn't have another home.  Particularly depositor.
module Hydra::Datastream
  class Properties < ActiveFedora::OmDatastream
    set_terminology do |t|
      t.root(:path=>"fields", :xmlns => '', :namespace_prefix => nil) 

      # This is where we put the user id of the object depositor -- impacts permissions/access controls
      t.depositor :xmlns => '', :namespace_prefix => nil

      # @deprecated  Collection should be tracked in RELS-EXT RDF.  collection term will be removed no later than release 6.x
      t.collection :xmlns => '', :namespace_prefix => nil
      # @deprecated  Title should be tracked in descMetadata.  title term will be removed no later than release 6.x
      t.title :xmlns => '', :namespace_prefix => nil
    end

    def self.xml_template
      builder = Nokogiri::XML::Builder.new do |xml|
        xml.fields
      end

      builder.doc
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
hydra-core-8.2.0 app/models/hydra/datastream/properties.rb
hydra-core-8.1.0 app/models/hydra/datastream/properties.rb
hydra-core-8.0.0 app/models/hydra/datastream/properties.rb
hydra-core-9.0.0.rc3 app/models/hydra/datastream/properties.rb
hydra-core-9.0.0.rc2 app/models/hydra/datastream/properties.rb
hydra-core-9.0.0.rc1 app/models/hydra/datastream/properties.rb
hydra-core-9.0.0.beta2 app/models/hydra/datastream/properties.rb
hydra-core-9.0.0.beta1 app/models/hydra/datastream/properties.rb
hydra-core-8.0.0.beta1 app/models/hydra/datastream/properties.rb
hydra-core-7.2.2 app/models/hydra/datastream/properties.rb
hydra-core-7.2.1 app/models/hydra/datastream/properties.rb
hydra-core-7.2.0 app/models/hydra/datastream/properties.rb
hydra-core-7.1.0 app/models/hydra/datastream/properties.rb
hydra-core-7.1.0.rc2 app/models/hydra/datastream/properties.rb
hydra-core-7.1.0.rc1 app/models/hydra/datastream/properties.rb
hydra-core-6.5.2 app/models/hydra/datastream/properties.rb
hydra-core-6.5.1 app/models/hydra/datastream/properties.rb
hydra-core-7.0.2 app/models/hydra/datastream/properties.rb
hydra-core-6.4.2 app/models/hydra/datastream/properties.rb
hydra-core-7.0.1 app/models/hydra/datastream/properties.rb