class Pohoda::Parsers::Prm::UserAgendaDefType

Public Instance Methods

documents() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 59
def documents
  at 'prm:documents'
end
documents_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 63
def documents_attributes
  attributes_at 'prm:documents'
end
ids_user_agenda() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 7
def ids_user_agenda
  at 'prm:idsUserAgenda'
end
ids_user_agenda_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 11
def ids_user_agenda_attributes
  attributes_at 'prm:idsUserAgenda'
end
items() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 43
def items
  at 'prm:items'
end
items_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 47
def items_attributes
  attributes_at 'prm:items'
end
list() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 67
def list
  at 'prm:list'
end
list_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 71
def list_attributes
  attributes_at 'prm:list'
end
list_ids() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 75
def list_ids
  at 'prm:listIDS'
end
list_ids_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 79
def list_ids_attributes
  attributes_at 'prm:listIDS'
end
list_s_text() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 83
def list_s_text
  at 'prm:listSText'
end
list_s_text_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 87
def list_s_text_attributes
  attributes_at 'prm:listSText'
end
name() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 15
def name
  at 'prm:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 19
def name_attributes
  attributes_at 'prm:name'
end
number() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 39
def number
  submodel_at(Typ::NumberType, 'prm:number')
end
tab_item() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 31
def tab_item
  at 'prm:tabItem'
end
tab_item_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 35
def tab_item_attributes
  attributes_at 'prm:tabItem'
end
tab_main() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 23
def tab_main
  at 'prm:tabMain'
end
tab_main_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 27
def tab_main_attributes
  attributes_at 'prm:tabMain'
end
templates() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 51
def templates
  at 'prm:templates'
end
templates_attributes() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 55
def templates_attributes
  attributes_at 'prm:templates'
end
to_h() click to toggle source
# File lib/pohoda/parsers/prm/user_agenda_def_type.rb, line 91
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:ids_user_agenda] = ids_user_agenda if has? 'prm:idsUserAgenda'
  hash[:ids_user_agenda_attributes] = ids_user_agenda_attributes if has? 'prm:idsUserAgenda'
  hash[:name] = name if has? 'prm:name'
  hash[:name_attributes] = name_attributes if has? 'prm:name'
  hash[:tab_main] = tab_main if has? 'prm:tabMain'
  hash[:tab_main_attributes] = tab_main_attributes if has? 'prm:tabMain'
  hash[:tab_item] = tab_item if has? 'prm:tabItem'
  hash[:tab_item_attributes] = tab_item_attributes if has? 'prm:tabItem'
  hash[:number] = number.to_h if has? 'prm:number'
  hash[:items] = items if has? 'prm:items'
  hash[:items_attributes] = items_attributes if has? 'prm:items'
  hash[:templates] = templates if has? 'prm:templates'
  hash[:templates_attributes] = templates_attributes if has? 'prm:templates'
  hash[:documents] = documents if has? 'prm:documents'
  hash[:documents_attributes] = documents_attributes if has? 'prm:documents'
  hash[:list] = list if has? 'prm:list'
  hash[:list_attributes] = list_attributes if has? 'prm:list'
  hash[:list_ids] = list_ids if has? 'prm:listIDS'
  hash[:list_ids_attributes] = list_ids_attributes if has? 'prm:listIDS'
  hash[:list_s_text] = list_s_text if has? 'prm:listSText'
  hash[:list_s_text_attributes] = list_s_text_attributes if has? 'prm:listSText'

  hash
end