spec/internal/app/models/item.rb in fcrepo_admin-0.4.1 vs spec/internal/app/models/item.rb in fcrepo_admin-0.5.0

- old
+ new

@@ -1,8 +1,11 @@ class Item < ActiveFedora::Base has_metadata :name => "descMetadata", :type => ActiveFedora::QualifiedDublinCoreDatastream has_metadata :name => "rightsMetadata", :type => Hydra::Datastream::RightsMetadata + has_metadata :name => "externalMetadata", :type => ActiveFedora::Datastream, :control_group => 'E' + has_metadata :name => "redirectedMetadata", :type => ActiveFedora::Datastream, :control_group => 'R' + has_file_datastream :name => "content" 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'