class Pohoda::Parsers::Typ::ExtIdType

Public Instance Methods

ex_system_name() click to toggle source
# File lib/pohoda/parsers/typ/ext_id_type.rb, line 15
def ex_system_name
  at 'typ:exSystemName'
end
ex_system_name_attributes() click to toggle source
# File lib/pohoda/parsers/typ/ext_id_type.rb, line 19
def ex_system_name_attributes
  attributes_at 'typ:exSystemName'
end
ex_system_text() click to toggle source
# File lib/pohoda/parsers/typ/ext_id_type.rb, line 23
def ex_system_text
  at 'typ:exSystemText'
end
ex_system_text_attributes() click to toggle source
# File lib/pohoda/parsers/typ/ext_id_type.rb, line 27
def ex_system_text_attributes
  attributes_at 'typ:exSystemText'
end
ids() click to toggle source
# File lib/pohoda/parsers/typ/ext_id_type.rb, line 7
def ids
  at 'typ:ids'
end
ids_attributes() click to toggle source
# File lib/pohoda/parsers/typ/ext_id_type.rb, line 11
def ids_attributes
  attributes_at 'typ:ids'
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/ext_id_type.rb, line 31
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:ids] = ids if has? 'typ:ids'
  hash[:ids_attributes] = ids_attributes if has? 'typ:ids'
  hash[:ex_system_name] = ex_system_name if has? 'typ:exSystemName'
  hash[:ex_system_name_attributes] = ex_system_name_attributes if has? 'typ:exSystemName'
  hash[:ex_system_text] = ex_system_text if has? 'typ:exSystemText'
  hash[:ex_system_text_attributes] = ex_system_text_attributes if has? 'typ:exSystemText'

  hash
end