Sha256: a3cd74ff226b0a93c3be8dc836468bf1bd90ed46995f0332a4acb46f8e419bdd
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 Bytes
Contents
require 'active_fedora' module EtdModel class Part < ActiveFedora::Base has_relationship "parents", :is_part_of # relationship between main pdf and parent etd has_relationship "supplemental_file_for", :is_constituent_of # relationship between supplemental file and parent etd has_relationship "permission_file_for", :is_dependent_of # relationsihip between permission file and parent etd has_metadata :name => "properties", :type => ActiveFedora::MetadataDatastream do |m| m.field "file_name", :string m.field "size", :string m.field "label", :string end has_metadata :name => "DC", :type => ActiveFedora::QualifiedDublinCoreDatastream do |m| end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
etd_model-1.1.1 | lib/etd_model/part.rb |