class Pohoda::Parsers::Prm::ParameterDefType

Public Instance Methods

definition() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 47
def definition
  at 'prm:definition'
end
definition_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 51
def definition_attributes
  attributes_at 'prm:definition'
end
id() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 7
def id
  at 'prm:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 11
def id_attributes
  attributes_at 'prm:id'
end
label() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 15
def label
  at 'prm:label'
end
label_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 19
def label_attributes
  attributes_at 'prm:label'
end
length() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 39
def length
  at 'prm:length'
end
length_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 43
def length_attributes
  attributes_at 'prm:length'
end
list() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 55
def list
  submodel_at(Typ::RefType, 'prm:list')
end
name() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 23
def name
  at 'prm:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 27
def name_attributes
  attributes_at 'prm:name'
end
to_h() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 107
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'prm:id'
  hash[:id_attributes] = id_attributes if has? 'prm:id'
  hash[:label] = label if has? 'prm:label'
  hash[:label_attributes] = label_attributes if has? 'prm:label'
  hash[:name] = name if has? 'prm:name'
  hash[:name_attributes] = name_attributes if has? 'prm:name'
  hash[:type] = type if has? 'prm:type'
  hash[:type_attributes] = type_attributes if has? 'prm:type'
  hash[:length] = length if has? 'prm:length'
  hash[:length_attributes] = length_attributes if has? 'prm:length'
  hash[:definition] = definition if has? 'prm:definition'
  hash[:definition_attributes] = definition_attributes if has? 'prm:definition'
  hash[:list] = list.to_h if has? 'prm:list'
  hash[:use0] = use0 if has? 'prm:use0'
  hash[:use0_attributes] = use0_attributes if has? 'prm:use0'
  hash[:use1] = use1 if has? 'prm:use1'
  hash[:use1_attributes] = use1_attributes if has? 'prm:use1'
  hash[:use2] = use2 if has? 'prm:use2'
  hash[:use2_attributes] = use2_attributes if has? 'prm:use2'
  hash[:use3] = use3 if has? 'prm:use3'
  hash[:use3_attributes] = use3_attributes if has? 'prm:use3'
  hash[:use4] = use4 if has? 'prm:use4'
  hash[:use4_attributes] = use4_attributes if has? 'prm:use4'
  hash[:use5] = use5 if has? 'prm:use5'
  hash[:use5_attributes] = use5_attributes if has? 'prm:use5'

  hash
end
type() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 31
def type
  at 'prm:type'
end
type_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 35
def type_attributes
  attributes_at 'prm:type'
end
use0() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 59
def use0
  at 'prm:use0'
end
use0_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 63
def use0_attributes
  attributes_at 'prm:use0'
end
use1() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 67
def use1
  at 'prm:use1'
end
use1_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 71
def use1_attributes
  attributes_at 'prm:use1'
end
use2() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 75
def use2
  at 'prm:use2'
end
use2_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 79
def use2_attributes
  attributes_at 'prm:use2'
end
use3() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 83
def use3
  at 'prm:use3'
end
use3_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 87
def use3_attributes
  attributes_at 'prm:use3'
end
use4() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 91
def use4
  at 'prm:use4'
end
use4_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 95
def use4_attributes
  attributes_at 'prm:use4'
end
use5() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 99
def use5
  at 'prm:use5'
end
use5_attributes() click to toggle source
# File lib/pohoda/parsers/prm/parameter_def_type.rb, line 103
def use5_attributes
  attributes_at 'prm:use5'
end