Sha256: b7125350add100e49fb274ef94ebbc9ed9190154cdb434b5a16b10dff191ad7b

Contents?: true

Size: 1.2 KB

Versions: 10

Compression:

Stored size: 1.2 KB

Contents

# coding: utf-8

module ONIX
  class Contributor
    include ROXML
    include ONIX::Common

    xml_name "Contributor"

    xml_accessor :sequence_number,      :from => "SequenceNumber", :as => Fixnum
    xml_accessor :contributor_role,     :from => "ContributorRole"
    xml_accessor :language_code,        :from => "LanguageCode"
    xml_accessor :sequence_number_within_role,  :from => "SequenceNumberWithinRole", :as => Fixnum
    xml_accessor :person_name,          :from => "PersonName"
    xml_accessor :person_name_inverted, :from => "PersonNameInverted"
    xml_accessor :titles_before_names,  :from => "TitlesBeforeNames"
    xml_accessor :names_before_key,     :from => "NamesBeforeKey"
    xml_accessor :prefix_to_key,        :from => "PrefixToKey"
    xml_accessor :key_names,            :from => "KeyNames"
    xml_accessor :names_after_key,      :from => "NamesArterKey"
    xml_accessor :suffix_to_key,        :from => "SuffixToKey"
    xml_accessor :letters_after_names,  :from => "LettersAfterNames"
    xml_accessor :titles_after_names,   :from => "TitlesAfterNames"
    xml_accessor :corporate_name,       :from => "CorporateName"
    xml_accessor :biographical_note,    :from => "BiographicalNote"
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
milkfarm-onix-0.7.7 lib/onix/contributor.rb
onix-0.7.8 lib/onix/contributor.rb
onix-0.7.7 lib/onix/contributor.rb
onix-0.7.6 lib/onix/contributor.rb
onix-0.7.5 lib/onix/contributor.rb
onix-0.7.4 lib/onix/contributor.rb
onix-0.7.2 lib/onix/contributor.rb
onix-0.7.3 lib/onix/contributor.rb
onix-0.7.0 lib/onix/contributor.rb
onix-0.7.1 lib/onix/contributor.rb