Sha256: a56cb3a58bb7865d4cf02b6c6118cebd9c5aee7a2fc6ae1ef1a5cc71c6a2f0b4

Contents?: true

Size: 521 Bytes

Versions: 9

Compression:

Stored size: 521 Bytes

Contents

# A Basic Model for Assets that conform to Hydra commonMetadata cModel and have basic MODS metadata (currently "Article" is the MODS exemplar)
class CommonMetadataAsset < ActiveFedora::Base
  
  # declares a rightsMetadata datastream with type Hydra::RightsMetadata
  #  basically, it is another expression of
  #  has_metadata :name => "rightsMetadata", :type => Hydra::RightsMetadata
  include Hydra::ModelMixins::CommonMetadata
  
  # adds helpful methods for basic hydra objects
  include Hydra::ModelMethods
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hydra-head-4.0.0.rc2 app/models/common_metadata_asset.rb
hydra-head-3.3.0 app/models/common_metadata_asset.rb
hydra-head-3.2.2 app/models/common_metadata_asset.rb
hydra-head-3.2.1 app/models/common_metadata_asset.rb
hydra-head-3.2.0 app/models/common_metadata_asset.rb
hydra-head-3.2.0.pre3 app/models/common_metadata_asset.rb
hydra-head-3.2.0.pre2 app/models/common_metadata_asset.rb
hydra-head-3.2.0.pre1 app/models/common_metadata_asset.rb
hydra-head-3.1.5 app/models/common_metadata_asset.rb