Sha256: 1672f35f1361da5073357188ac8f6fd6f20acd5ba8583ae5b77c31553f2a681b

Contents?: true

Size: 486 Bytes

Versions: 38

Compression:

Stored size: 486 Bytes

Contents

#
# A Target is digital scanner calibration artifact.
#
# A Target has a content file and is associated with a Collection OR one or more Components.
#
# See http://www.loc.gov/standards/mix/ and NISO Z39.87.
#
class Target < Ddr::Models::Base

  include Ddr::Models::HasContent

  has_many :components, property: :has_external_target, class_name: 'Component'
  belongs_to :collection, property: :is_external_target_for, class_name: 'Collection'

  def publishable?
    false
  end

end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
ddr-models-2.11.0 app/models/target.rb
ddr-models-2.10.2 app/models/target.rb
ddr-models-2.10.1 app/models/target.rb
ddr-models-2.10.0 app/models/target.rb
ddr-models-2.10.0.rc2 app/models/target.rb
ddr-models-2.10.0.rc1 app/models/target.rb
ddr-models-2.9.2 app/models/target.rb
ddr-models-2.9.1 app/models/target.rb
ddr-models-2.9.0 app/models/target.rb
ddr-models-2.9.0.rc1 app/models/target.rb
ddr-models-2.8.0 app/models/target.rb
ddr-models-2.8.0.rc1 app/models/target.rb
ddr-models-2.7.6 app/models/target.rb
ddr-models-2.7.5 app/models/target.rb
ddr-models-2.7.4 app/models/target.rb
ddr-models-2.7.3 app/models/target.rb
ddr-models-2.7.2 app/models/target.rb
ddr-models-2.7.1 app/models/target.rb
ddr-models-2.7.0 app/models/target.rb
ddr-models-2.7.0.rc1 app/models/target.rb