Accessing Enterprise Architect Model properties

The access to Enterprise Architect model properties can be done via the class PropertiesManager.

Here is a sample code that shows how to access the version of Enterprise Architect used to produce the XMI:
Model umlModel = ...
Map options = ...
umlModel.read("Enterprise Architect Application", options);
List<com.sodius.mdw.metamodel.uml21.Model> models = umlModel.<com.sodius.mdw.metamodel.uml21.Model> getInstances(UMLPackage.Literals.MODEL);
String eaVersion = null;
for (com.sodius.mdw.metamodel.uml21.Model model : models) {
	eaVersion = PropertiesManager.getEAVersion(model);
	if (eaVersion != null)
		break;
	}
}

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