class DiscoveryIndexer::InputXml::PurlxmlModel
Attributes
@!attribute [rw] barcode @return [String] the barcode attribute in identity_metadata
@!attribute [rw] catkey @return [String] the catkey attribute in identity_metadata
@!attribute [rw] collection_druids
@return [Array<String>] bare druids of the collections that this druid is a member of @example
["aa11aaa1111","bb111bb1111"]
@!attribute [rw] constituent_druids
@return [Array<String>] bare druids of the objects that this druid is a constituent of @example
["aa11aaa1111","bb111bb1111"]
@!attribute [rw] content_metadata
@return [Nokogiri::XML] The content_metadata
as extracted from public xml
@!attribute [rw] copyright @return [String] the copyright statement from rights metadata
@!attribute [rw] dc @return [Nokogiri::XML] The dc element as extracted from public xml
@!attribute [rw] dor_content_type
@return [String] The dor_content_type
as extracted from public xml
content_metadata.
@!attribute [rw] druid @return [String] The druid value eg., ab123cd4567
@!attribute [rw] thumb @return [String] a thumbnail image if it exists in the PURL, encoded as necessary @example
"oo000oo0001%2Fpc0065_b08_f10_i031.jp2"
@!attribute [rw] file_ids
@return [Array] a list of the file ids in the content_metadata
@example
["pc0065_b08_f10_i031.txt","pc0065_b08_f10_i032.txt"]
@!attribute [rw] identity_metadata
@return [Nokogiri::XML] The identity_metadata
as extracted from public xml
@!attribute [rw] image_ids
@return [Array] a list of the image ids in the content_metadata
@example
["pc0065_b08_f10_i031.jp2","pc0065_b08_f10_i032.jp2"]
@!attribute [rw] is_collection
@return [Boolean] true if the item type is collection in the identity_metadata
@!attribute [rw] label @return [String] the objectLabel attribute in identity_metadata
@!attribute [rw] previous_catkeys
@return [Array] the previous catkey attribute in identity_metadata
@!attribute [rw] public_xml
@return [Nokogiri::XML] The publix xml as retrieved from purl server
@!attribute [rw] rdf @return [Nokogiri::XML] The rdf element as extracted from public xml
@!attribute [rw] rights_metadata
@return [Nokogiri::XML] The rights_metadata
as extracted from public xml
@!attribute [rw] source_id
@return [String] the sourceid from identity metadata
@!attribute [rw] sw_image_ids
@return [Array] a list of the image ids and corresponding druids
separator from the file and externalFile tags in the content_metadata specifically for Searchworks
@example
["xx888yy9999/pc0065_b08_f10_i031.jp2","aa111bb2222/pc0065_b08_f10_i032.jp2"]
@!attribute [rw] thumb @return [String] a thumbnail image if it exists in the PURL @example
"oo000oo0001/pc0065_b08_f10_i031.jp2"
@!attribute [rw] use_and_reproduction
@return [String] the use and reproduction statement from rights metadata