class Pohoda::Parsers::Stk::IntParameterType
Public Instance Methods
action_type()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 7 def action_type submodel_at(Typ::ActionTypeItem, 'stk:actionType') end
int_parameter_id()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 11 def int_parameter_id at 'stk:intParameterID' end
int_parameter_id_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 15 def int_parameter_id_attributes attributes_at 'stk:intParameterID' end
int_parameter_name()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 19 def int_parameter_name at 'stk:intParameterName' end
int_parameter_name_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 23 def int_parameter_name_attributes attributes_at 'stk:intParameterName' end
int_parameter_order()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 27 def int_parameter_order at 'stk:intParameterOrder' end
int_parameter_order_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 31 def int_parameter_order_attributes attributes_at 'stk:intParameterOrder' end
int_parameter_type()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 35 def int_parameter_type at 'stk:intParameterType' end
int_parameter_type_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 39 def int_parameter_type_attributes attributes_at 'stk:intParameterType' end
int_parameter_values()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 43 def int_parameter_values array_of_at(Stk::IntParameterValueType, ['stk:intParameterValues', 'stk:intParameterValue']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/stk/int_parameter_type.rb, line 47 def to_h hash = {} hash[:attributes] = attributes hash[:action_type] = action_type.to_h if has? 'stk:actionType' hash[:int_parameter_id] = int_parameter_id if has? 'stk:intParameterID' hash[:int_parameter_id_attributes] = int_parameter_id_attributes if has? 'stk:intParameterID' hash[:int_parameter_name] = int_parameter_name if has? 'stk:intParameterName' hash[:int_parameter_name_attributes] = int_parameter_name_attributes if has? 'stk:intParameterName' hash[:int_parameter_order] = int_parameter_order if has? 'stk:intParameterOrder' hash[:int_parameter_order_attributes] = int_parameter_order_attributes if has? 'stk:intParameterOrder' hash[:int_parameter_type] = int_parameter_type if has? 'stk:intParameterType' hash[:int_parameter_type_attributes] = int_parameter_type_attributes if has? 'stk:intParameterType' hash[:int_parameter_values] = int_parameter_values.map(&:to_h) if has? 'stk:intParameterValues' hash end