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-1.0.0-x86-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-1.0.0-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-1.0.0-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-1.0.0-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.27 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.27-x86_64-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.27-x86_64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.27-x86-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.27-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.27-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.27-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.26 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.26-x86_64-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.26-x86_64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.26-x86-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.26-x86-linux original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.26-x64-mingw32 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.26-arm64-darwin original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.25 original/examples/employment/employment_schema___p28inst.rb
expressir-0.2.25-x86_64-linux original/examples/employment/employment_schema___p28inst.rb