Module: Ddr::Models::HasStructMetadata
- Extended by:
- ActiveSupport::Concern
- Included in:
- Collection, Component, Item
- Defined in:
- lib/ddr/models/has_struct_metadata.rb
Instance Method Summary collapse
Instance Method Details
#multires_image_file_paths ⇒ Object
20 21 22 |
# File 'lib/ddr/models/has_struct_metadata.rb', line 20 def multires_image_file_paths ::SolrDocument.find(pid).multires_image_file_paths end |
#structure ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/ddr/models/has_struct_metadata.rb', line 11 def structure unless @structure if datastreams[Ddr::Datastreams::STRUCT_METADATA].content @structure = Ddr::Models::Structure.new(Nokogiri::XML(datastreams[Ddr::Datastreams::STRUCT_METADATA].content)) end end @structure end |