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.8 app/models/target.rb
ddr-models-3.0.7 app/models/target.rb
ddr-models-3.0.6 app/models/target.rb
ddr-models-3.0.5 app/models/target.rb
ddr-models-3.0.4 app/models/target.rb
ddr-models-3.0.3 app/models/target.rb
ddr-models-3.0.2 app/models/target.rb
ddr-models-3.0.1 app/models/target.rb
ddr-models-3.0.0 app/models/target.rb
ddr-models-3.0.0.rc6 app/models/target.rb
ddr-models-3.0.0.rc5 app/models/target.rb
ddr-models-3.0.0.rc4 app/models/target.rb
ddr-models-3.0.0.rc3 app/models/target.rb
ddr-models-3.0.0.rc2 app/models/target.rb
ddr-models-3.0.0.rc1 app/models/target.rb
ddr-models-3.0.0.beta.22 app/models/target.rb
ddr-models-3.0.0.beta.21 app/models/target.rb
ddr-models-3.0.0.beta.20 app/models/target.rb
ddr-models-3.0.0.beta.18 app/models/target.rb
ddr-models-3.0.0.beta.17 app/models/target.rb