Sha256: 0d40ab6bd5bbaf5f4b79e86c91c0894c68ecab05303a9cc7a382ee1f29d76284

Contents?: true

Size: 642 Bytes

Versions: 26

Compression:

Stored size: 642 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,
           predicate: ::RDF::URI("http://www.loc.gov/mix/v20/externalTarget#hasExternalTarget"),
           class_name: "Component"

  belongs_to :collection,
             predicate: ::RDF::URI("http://www.loc.gov/mix/v20/externalTarget#isExternalTargetFor"),
             class_name: "Collection"

  def publishable?
    false
  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ddr-models-3.0.0.beta.16 app/models/target.rb
ddr-models-3.0.0.beta.15 app/models/target.rb
ddr-models-3.0.0.beta.14 app/models/target.rb
ddr-models-3.0.0.beta.13 app/models/target.rb
ddr-models-3.0.0.beta.12 app/models/target.rb
ddr-models-3.0.0.beta.11 app/models/target.rb