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.8-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.8-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.8-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.7 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.7-x86-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.7-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.7-x86_64-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.7-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.7-x86_64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.7-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.5-x86_64-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.5-x86_64-darwin-19 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.5 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.4 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.3 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.2 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.1 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.0 original/examples/employment/employment_schema___p28inst.rb
expressir-0.1.0 original/examples/employment/employment_schema___p28inst.rb