class Pohoda::Parsers::Typ::ParameterDocType

Public Instance Methods

boolean_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 39
def boolean_value
  at 'typ:booleanValue'
end
boolean_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 43
def boolean_value_attributes
  attributes_at 'typ:booleanValue'
end
currency_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 31
def currency_value
  at 'typ:currencyValue'
end
currency_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 35
def currency_value_attributes
  attributes_at 'typ:currencyValue'
end
datetime_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 55
def datetime_value
  at 'typ:datetimeValue'
end
datetime_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 59
def datetime_value_attributes
  attributes_at 'typ:datetimeValue'
end
integer_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 75
def integer_value
  at 'typ:integerValue'
end
integer_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 79
def integer_value_attributes
  attributes_at 'typ:integerValue'
end
list() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 83
def list
  submodel_at(Typ::RefType, 'typ:list')
end
list_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 67
def list_value
  at 'typ:listValue'
end
list_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 71
def list_value_attributes
  attributes_at 'typ:listValue'
end
list_value_ref() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 63
def list_value_ref
  submodel_at(Typ::RefType, 'typ:listValueRef')
end
memo_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 23
def memo_value
  at 'typ:memoValue'
end
memo_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 27
def memo_value_attributes
  attributes_at 'typ:memoValue'
end
name() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 7
def name
  at 'typ:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 11
def name_attributes
  attributes_at 'typ:name'
end
number_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 47
def number_value
  at 'typ:numberValue'
end
number_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 51
def number_value_attributes
  attributes_at 'typ:numberValue'
end
text_value() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 15
def text_value
  at 'typ:textValue'
end
text_value_attributes() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 19
def text_value_attributes
  attributes_at 'typ:textValue'
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/parameter_doc_type.rb, line 87
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:name] = name if has? 'typ:name'
  hash[:name_attributes] = name_attributes if has? 'typ:name'
  hash[:text_value] = text_value if has? 'typ:textValue'
  hash[:text_value_attributes] = text_value_attributes if has? 'typ:textValue'
  hash[:memo_value] = memo_value if has? 'typ:memoValue'
  hash[:memo_value_attributes] = memo_value_attributes if has? 'typ:memoValue'
  hash[:currency_value] = currency_value if has? 'typ:currencyValue'
  hash[:currency_value_attributes] = currency_value_attributes if has? 'typ:currencyValue'
  hash[:boolean_value] = boolean_value if has? 'typ:booleanValue'
  hash[:boolean_value_attributes] = boolean_value_attributes if has? 'typ:booleanValue'
  hash[:number_value] = number_value if has? 'typ:numberValue'
  hash[:number_value_attributes] = number_value_attributes if has? 'typ:numberValue'
  hash[:datetime_value] = datetime_value if has? 'typ:datetimeValue'
  hash[:datetime_value_attributes] = datetime_value_attributes if has? 'typ:datetimeValue'
  hash[:list_value_ref] = list_value_ref.to_h if has? 'typ:listValueRef'
  hash[:list_value] = list_value if has? 'typ:listValue'
  hash[:list_value_attributes] = list_value_attributes if has? 'typ:listValue'
  hash[:integer_value] = integer_value if has? 'typ:integerValue'
  hash[:integer_value_attributes] = integer_value_attributes if has? 'typ:integerValue'
  hash[:list] = list.to_h if has? 'typ:list'

  hash
end