Class: ONIX::RelatedWork

Inherits:
SubsetDSL show all
Includes:
EanMethods
Defined in:
lib/onix/related_work.rb

Instance Method Summary collapse

Methods included from EanMethods

#ean

Methods inherited from SubsetDSL

_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported

Methods inherited from Subset

parse, #parse, tag_match, #tag_match, #unsupported

Constructor Details

This class inherits a constructor from ONIX::SubsetDSL

Instance Method Details

#codeObject



7
8
9
# File 'lib/onix/related_work.rb', line 7

def code
  @work_relation_code
end

#identifiersObject



11
12
13
# File 'lib/onix/related_work.rb', line 11

def identifiers
  @work_identifiers
end

#productObject

full Product if referenced in ONIXMessage



16
17
18
# File 'lib/onix/related_work.rb', line 16

def product
  @product
end

#product=(v) ⇒ Object



20
21
22
# File 'lib/onix/related_work.rb', line 20

def product=v
  @product=v
end