10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb', line 10
def self.unpack(hRangeElementDescription, responseObj, inContext = nil)
@MessagePath = ADIWG::Mdtranslator::Readers::MdJson::MdJson
outContext = 'range element description'
outContext = inContext + ' > ' + outContext unless inContext.nil?
intRangeElementDescription = {}
if hRangeElementDescription.has_key?('name')
intRangeElementDescription[:name] = hRangeElementDescription['name']
end
if hRangeElementDescription.has_key?('definition')
intRangeElementDescription[:definition] = hRangeElementDescription['definition']
end
if hRangeElementDescription.has_key?('rangeElements')
intRangeElementDescription[:rangeElements] = hRangeElementDescription['rangeElements']
end
return intRangeElementDescription
end
|