Sha256: 71746119c7ea6f4e87abc6a38abceedd29856cf535fad54da692a9fb7f397725

Contents?: true

Size: 690 Bytes

Versions: 179

Compression:

Stored size: 690 Bytes

Contents

def read_P28_entity_instances(p28doc,m)
  uos = p28doc.root
  for entity in uos.elements.to_a()
    id = entity.attribute('id')
    if entity.name == 'Person'
      r = EMP::Person.new
      m.model_elements.push r
      r.putP28id(id.to_s)
    end
    if entity.name == 'Organization'
      r = EMP::Organization.new
      m.model_elements.push r
      r.putP28id(id.to_s)
    end
    if entity.name == 'PersonOrganizationRelationship'
      r = EMP::PersonOrganizationRelationship.new
      m.model_elements.push r
      r.putP28id(id.to_s)
    end
    if entity.name == 'Employment'
      r = EMP::Employment.new
      m.model_elements.push r
      r.putP28id(id.to_s)
    end
  end
end

Version data entries

179 entries across 179 versions & 1 rubygems

Version Path
expressir-0.2.25-x86_64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.25-x86-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.25-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.25-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.25-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.24 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.24-x86_64-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.24-x86_64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.24-x86-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.24-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.24-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.24-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.21 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.21-x86_64-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.21-x86_64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.21-x86-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.21-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.21-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.21-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.19 original/examples/employment/employment_schema___p28inst.rb