Sha256: 9731d9bef88172f235bc0643955cb8021f98734777441ee75500cf9775557641
Contents?: true
Size: 731 Bytes
Versions: 21
Compression:
Stored size: 731 Bytes
Contents
module Ddr::Batch class BatchObjectRelationship < ActiveRecord::Base belongs_to :batch_object, :inverse_of => :batch_object_relationships RELATIONSHIP_ADMIN_POLICY = "admin_policy" RELATIONSHIP_COLLECTION = "collection" RELATIONSHIP_PARENT = "parent" RELATIONSHIP_ITEM = "item" RELATIONSHIP_COMPONENT = "component" RELATIONSHIP_ATTACHED_TO = "attached_to" RELATIONSHIPS = [ RELATIONSHIP_ADMIN_POLICY, RELATIONSHIP_COLLECTION, RELATIONSHIP_PARENT, RELATIONSHIP_ITEM, RELATIONSHIP_COMPONENT, RELATIONSHIP_ATTACHED_TO ] OPERATION_ADD = "ADD" OPERATION_UPDATE = "UPDATE" OPERATION_DELETE = "DELETE" OBJECT_TYPE_PID = "PID" OBJECT_TYPES = [ OBJECT_TYPE_PID ] end end
Version data entries
21 entries across 21 versions & 1 rubygems