Sha256: e434f2d2c1b4d226fc24c2406271eafcc8f6fcb7dab9b3d533761658adbd4a52

Contents?: true

Size: 725 Bytes

Versions: 2

Compression:

Stored size: 725 Bytes

Contents

module Dor
  class AdminPolicyObject < ::ActiveFedora::Base
    include Identifiable
    include Governable
    include Editable
    include Describable
    include Processable
    include Versionable

    has_many :things, :property => :is_governed_by, :inbound => :true, :class_name => "ActiveFedora::Base"
    has_object_type 'adminPolicy'
    has_metadata :name => "administrativeMetadata", :type => Dor::AdministrativeMetadataDS, :label => 'Administrative Metadata'
    has_metadata :name => "roleMetadata",           :type => Dor::RoleMetadataDS,           :label => 'Role Metadata'
    has_metadata :name => "defaultObjectRights",    :type => Dor::DefaultObjectRightsDS,    :label => 'Default Object Rights'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dor-services-5.2.0 lib/dor/models/admin_policy_object.rb
dor-services-5.1.1 lib/dor/models/admin_policy_object.rb