class DiscoveryIndexer::InputXml::PurlxmlModel

Attributes

barcode[RW]

@!attribute [rw] barcode @return [String] the barcode attribute in identity_metadata

catkey[RW]

@!attribute [rw] catkey @return [String] the catkey attribute in identity_metadata

collection_druids[RW]

@!attribute [rw] collection_druids @return [Array<String>] bare druids of the collections that this druid is a member of @example

["aa11aaa1111","bb111bb1111"]
constituent_druids[RW]

@!attribute [rw] constituent_druids @return [Array<String>] bare druids of the objects that this druid is a constituent of @example

["aa11aaa1111","bb111bb1111"]
content_metadata[RW]

@!attribute [rw] content_metadata @return [Nokogiri::XML] The content_metadata as extracted from public xml

dc[RW]

@!attribute [rw] dc @return [Nokogiri::XML] The dc element as extracted from public xml

dor_content_type[RW]

@!attribute [rw] dor_content_type @return [String] The dor_content_type as extracted from public xml

content_metadata.
druid[RW]

@!attribute [rw] druid @return [String] The druid value eg., ab123cd4567

encoded_thumb[RW]

@!attribute [rw] thumb @return [String] a thumbnail image if it exists in the PURL, encoded as necessary @example

"oo000oo0001%2Fpc0065_b08_f10_i031.jp2"
file_ids[RW]

@!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"]
identity_metadata[RW]

@!attribute [rw] identity_metadata @return [Nokogiri::XML] The identity_metadata as extracted from public xml

image_ids[RW]

@!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"]
is_collection[RW]

@!attribute [rw] is_collection @return [Boolean] true if the item type is collection in the identity_metadata

label[RW]

@!attribute [rw] label @return [String] the objectLabel attribute in identity_metadata

previous_catkeys[RW]

@!attribute [rw] previous_catkeys @return [Array] the previous catkey attribute in identity_metadata

public_xml[RW]

@!attribute [rw] public_xml @return [Nokogiri::XML] The publix xml as retrieved from purl server

rdf[RW]

@!attribute [rw] rdf @return [Nokogiri::XML] The rdf element as extracted from public xml

release_tags_hash[RW]

@!attribute [rw] release_tags_hash @return [Hash] The release_tag in hash format as extracted from public xml

ReleaseData element.

@example

!{"target1"=>true, "target2"=>false}
rights_metadata[RW]

@!attribute [rw] rights_metadata @return [Nokogiri::XML] The rights_metadata as extracted from public xml

source_id[RW]

@!attribute [rw] source_id @return [String] the sourceid from identity metadata

sw_image_ids[RW]

@!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"]
thumb[RW]

@!attribute [rw] thumb @return [String] a thumbnail image if it exists in the PURL @example

"oo000oo0001/pc0065_b08_f10_i031.jp2"
use_and_reproduction[RW]

@!attribute [rw] use_and_reproduction @return [String] the use and reproduction statement from rights metadata