# UML Generated Package Registry

###### Identifier:

org.eclipse.uml2.uml.generated_package

###### Since:

2.1.0

###### Description:

This extension point is used to register the location of a UML package against the namespace URI (Uniform Resource Identifier) of its generated Ecore representation.

###### Configuration Markup:

<!ELEMENT extension (profile*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

- point - A fully qualified identifier of the target extension point.
- id - An optional identifier of the extension instance.
- name - An optional name of the extension instance.

<!ELEMENT profile EMPTY>

<!ATTLIST profile

uri CDATA #REQUIRED

location CDATA #IMPLIED

>

- uri - A namespace URI that uniquely identifies a generated Ecore package.
- location - The absolute or relative URI of the UML profile represented by the generated Ecore package.

###### Examples:

Following is an example of how a (statically defined) profile location can be registered:

      <extension point="org.eclipse.uml2.uml.generated_package">
         <profile uri="http://www.eclipse.org/uml2/schemas/Ecore/4" location="pathmap://UML_PROFILES/Ecore.profile.uml#_0"/>
      </extension>

###### Supplied Implementation:

For any statically defined UML profile, an extension to this extension point should be included in the manifest file to register the location of the profile.

Copyright (c) 2007, 2008 IBM Corporation, Embarcadero Technologies, and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html