Class: QDM::ModelFinder

Inherits:
Object
  • Object
show all
Defined in:
app/models/model_finder.rb

Overview

Find the right datatype model.

Class Method Summary collapse

Class Method Details

.by_hqmf_oid(hqmfOid) ⇒ Object



6
7
8
9
10
11
# File 'app/models/model_finder.rb', line 6

def self.by_hqmf_oid(hqmfOid)
  datatype = @hqmfOidToDatatypeMap[hqmfOid]
  return nil if datatype.nil?

  return QDM.const_get(datatype)
end