Sha256: 2408d6226c57cf30f97cd381bd18aa36e0c490a7ae3733fe23d95ca32c63fb2a

Contents?: true

Size: 650 Bytes

Versions: 4

Compression:

Stored size: 650 Bytes

Contents

class GenericContent < ActiveFedora::Base

  # Uses the Hydra Rights Metadata Schema for tracking access permissions & copyright
  has_metadata :name => "rightsMetadata", :type => Hydra::Datastream::RightsMetadata 

  include Hydra::GenericContent
  has_metadata :name => "descMetadata", :type => Hydra::Datastream::ModsGenericContent

  # A place to put extra metadata values
  has_metadata :name => "properties", :type => Hydra::Datastream::Properties
  
  # adds helpful methods for basic hydra objects.  
  # FIXME:  redundate with  GenericContent include above??
  include Hydra::ModelMethods
  
  def initialize( attrs={} )
    super
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydra-head-4.0.0 app/models/generic_content.rb
hydra-head-4.0.0.rc6 app/models/generic_content.rb
hydra-head-4.0.0.rc5 app/models/generic_content.rb
hydra-head-4.0.0.rc4 app/models/generic_content.rb