Sha256: fc0cdd280ca4537c73de5e9c4ee7f6de189276c38c154e9d9ca1400598191c59

Contents?: true

Size: 533 Bytes

Versions: 29

Compression:

Stored size: 533 Bytes

Contents

require "active-fedora"
require "active_fedora_finders"
class METSStructuredAggregator < ::ActiveFedora::Base
  extend ActiveModel::Callbacks
  include ::ActiveFedora::FinderMethods::RepositoryMethods
  include ::ActiveFedora::DatastreamCollections
  include ::Hydra::ModelMethods
  include Cul::Scv::Hydra::Models::Common
  include Cul::Scv::Hydra::Models::Aggregator

  has_many :parts, :property => :cul_member_of, :class_name=>'ActiveFedora::Base'

  #alias :file_objects :resources

  def route_as
    "multipartitem"
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
cul_scv_hydra-0.22.6 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.22.5 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.22.4 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.22.3 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.22.2 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.22.1 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.22.0 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.8 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.7 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.6 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.5 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.4 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.3 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.2 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.21.0 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.20.1 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.20.0 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.19.5 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.19.4 app/models/mets_structured_aggregator.rb
cul_scv_hydra-0.19.3 app/models/mets_structured_aggregator.rb