Class: ONIX::ONIX21::MainSubject

Inherits:
SubsetDSL show all
Defined in:
lib/onix/onix21.rb

Instance Method Summary collapse

Methods inherited from SubsetDSL

get_class, ref_to_short, short_to_ref

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

shortcuts



292
293
294
# File 'lib/onix/onix21.rb', line 292

def code
  @subject_code
end

#heading_textObject



296
297
298
# File 'lib/onix/onix21.rb', line 296

def heading_text
  @subject_heading_text
end

#scheme_identifierObject



300
301
302
# File 'lib/onix/onix21.rb', line 300

def scheme_identifier
  @main_subject_scheme_identifier
end

#scheme_nameObject



304
305
306
# File 'lib/onix/onix21.rb', line 304

def scheme_name
  @subject_scheme_name
end

#scheme_versionObject



308
309
310
# File 'lib/onix/onix21.rb', line 308

def scheme_version
  @subject_scheme_version
end