class Pohoda::Parsers::Ipm::IntParamType

Public Instance Methods

description() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 23
def description
  at 'ipm:description'
end
description_attributes() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 27
def description_attributes
  attributes_at 'ipm:description'
end
id() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 7
def id
  at 'ipm:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 11
def id_attributes
  attributes_at 'ipm:id'
end
mark_record() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 43
def mark_record
  at 'ipm:markRecord'
end
mark_record_attributes() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 47
def mark_record_attributes
  attributes_at 'ipm:markRecord'
end
name() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 15
def name
  at 'ipm:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 19
def name_attributes
  attributes_at 'ipm:name'
end
note() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 51
def note
  at 'ipm:note'
end
note_attributes() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 55
def note_attributes
  attributes_at 'ipm:note'
end
parameter_settings() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 39
def parameter_settings
  submodel_at(Ipm::ParameterSettingsType, 'ipm:parameterSettings')
end
parameter_type() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 31
def parameter_type
  at 'ipm:parameterType'
end
parameter_type_attributes() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 35
def parameter_type_attributes
  attributes_at 'ipm:parameterType'
end
to_h() click to toggle source
# File lib/pohoda/parsers/ipm/int_param_type.rb, line 59
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'ipm:id'
  hash[:id_attributes] = id_attributes if has? 'ipm:id'
  hash[:name] = name if has? 'ipm:name'
  hash[:name_attributes] = name_attributes if has? 'ipm:name'
  hash[:description] = description if has? 'ipm:description'
  hash[:description_attributes] = description_attributes if has? 'ipm:description'
  hash[:parameter_type] = parameter_type if has? 'ipm:parameterType'
  hash[:parameter_type_attributes] = parameter_type_attributes if has? 'ipm:parameterType'
  hash[:parameter_settings] = parameter_settings.to_h if has? 'ipm:parameterSettings'
  hash[:mark_record] = mark_record if has? 'ipm:markRecord'
  hash[:mark_record_attributes] = mark_record_attributes if has? 'ipm:markRecord'
  hash[:note] = note if has? 'ipm:note'
  hash[:note_attributes] = note_attributes if has? 'ipm:note'

  hash
end