Questo contenuto non è disponibile nella lingua selezionata.
5.2. Model Extension Definition (MED)
The purpose of a MED is to define one or more sets of extension properties. Each set of extension properties pertains to one model object type (or metaclass). Each MED consists of the following:
- Namespace Prefix - a unique identifier. Typically only a small number of letters and can be used as an abbreviation for the namespace URI.
- Namespace URI - a unique URI.
- Extended Metamodel URI (Model Class) - the metamodel URI that is being extended. Each metamodel URI also has model class and that is typically what is shown in the Designer. The model classes supported for extension are: Relational, Web Service, XML Document, and Function.
- Version - (currently not being used)
- Description - an optional description or purpose.
- Extended Model Object Types (Metaclasses) - a set of model object types, or metaclasses, that have extension properties defined.
- Properties - the extension property definitions grouped by model object type.
A MED file is an XML file with an extension of
mxd
. A MED schema file (see attached modelExtension.xsd
file) is used to validate a MED file. Here is a sample MED file:
The MED Registry is where the MEDs used by Teiid Designer are stored. MED files can be edited by opening the
.mxd
file in the Extension Editor.