Sha256: 8153aef71785cbce5e9e0f34d4b0e5c22121928f60df61eb888a1aabb39d64dd
Contents?: true
Size: 591 Bytes
Versions: 2
Compression:
Stored size: 591 Bytes
Contents
class Item < ActiveFedora::Base has_metadata :name => "descMetadata", :type => ActiveFedora::QualifiedDublinCoreDatastream has_metadata :name => "rightsMetadata", :type => Hydra::Datastream::RightsMetadata delegate :title, :to => "descMetadata", :unique => true belongs_to :admin_policy, :property => :is_governed_by belongs_to :collection, :property => :is_member_of_collection, :class_name => 'Collection' has_many :parts, :property => :is_part_of, :inbound => true, :class_name => 'Part' include Hydra::ModelMixins::RightsMetadata include ActiveFedora::Auditable end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fcrepo_admin-0.4.1 | spec/internal/app/models/item.rb |
fcrepo_admin-0.4.0 | spec/internal/app/models/item.rb |