class Pohoda::Parsers::Typ::EETType
Public Instance Methods
detail_eet()
click to toggle source
# File lib/pohoda/parsers/typ/eet_type.rb, line 15 def detail_eet array_of_at(Typ::DetailEETType, ['typ:detailEET']) end
profile()
click to toggle source
# File lib/pohoda/parsers/typ/eet_type.rb, line 19 def profile submodel_at(Typ::RefType, 'typ:profile') end
state_eet()
click to toggle source
# File lib/pohoda/parsers/typ/eet_type.rb, line 7 def state_eet at 'typ:stateEET' end
state_eet_attributes()
click to toggle source
# File lib/pohoda/parsers/typ/eet_type.rb, line 11 def state_eet_attributes attributes_at 'typ:stateEET' end
to_h()
click to toggle source
# File lib/pohoda/parsers/typ/eet_type.rb, line 23 def to_h hash = {} hash[:attributes] = attributes hash[:state_eet] = state_eet if has? 'typ:stateEET' hash[:state_eet_attributes] = state_eet_attributes if has? 'typ:stateEET' hash[:detail_eet] = detail_eet.map(&:to_h) if has? 'typ:detailEET' hash[:profile] = profile.to_h if has? 'typ:profile' hash end