Reading a Package

The uri parameter of "Enterprise Architect Application" reader can be used for selecting a specific package to read. Two format of uri are allowed:

Note that empty uri means reading of the whole project.

Here is a sample code that shows how to read a specific Package, using the Enterprise Architect Application Reader:
Model umlModel = ...
Map options = ...
umlModel.read("Enterprise Architect Application", "{e3b53655-c00d-4368-beda-eda6772439d7}", options);

Related references
Reading UML Data
Reading Enterprise Architect Data
MDAccess for UML API Reference
MDAccess for Enterprise Architect API Reference