Class: MarcXMLBibAccessionConverter

Inherits:
MarcXMLBibConverter show all
Defined in:
backend/app/converters/marcxml_bib_accession_converter.rb

Constant Summary

Constants included from MarcXMLBibBaseMap

MarcXMLBibBaseMap::AUTH_SUBJECT_SOURCE, MarcXMLBibBaseMap::BIB_SUBJECT_SOURCE

Class Method Summary collapse

Methods inherited from MarcXMLBibConverter

configure, for_subjects_and_agents_only

Methods included from MarcXMLBibBaseMap

#BASE_RECORD_MAP, #adds_agent_term, #adds_prefixed_qualifier, #agent_as_subject, #agent_template, #appends_subordinate_name_2, #bibliography_note_template, #concatenate_subfields, #corp_template, #corp_variation, #creators_and_sources, #dates_of_existence_date_for, #family_template, #is_fallback_resource_title, #langmaterial_note, #make_term, #multipart_note, #name_corp_map, #name_family_map, #name_person_map, #person_template, #record_properties, #sets_authority_properties, #sets_conference_meeting, #sets_name_order_from_ind1, #sets_name_source_from_code, #sets_other_name_source, #sets_primary_and_rest_of_name, #sets_subject_source, #sets_use_date_from_code_d, #singlepart_note, #subfield_template, #subject_template, #trim

Methods included from ASpaceImport::XML::DOM

#config, included, #object, #process_field, #run

Methods inherited from Converter

for, #get_output_path, inherited, #initialize, list_import_types, register_converter, #remove_files, #run

Constructor Details

This class inherits a constructor from Converter

Class Method Details

.import_types(show_hidden = false) ⇒ Object



4
5
6
7
8
9
10
11
# File 'backend/app/converters/marcxml_bib_accession_converter.rb', line 4

def self.import_types(show_hidden = false)
  [
   {
     :name => "marcxml_accession",
     :description => "Import MARC XML records as Accessions"
   }
  ]
end

.instance_for(type, input_file) ⇒ Object



13
14
15
16
17
18
19
# File 'backend/app/converters/marcxml_bib_accession_converter.rb', line 13

def self.instance_for(type, input_file)
  if type == "marcxml_accession"
    self.new(input_file)
  else
    nil
  end
end