Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-01-14 10:27:01 +0000
committerEike Stepper2012-01-14 10:27:01 +0000
commit0266166cb9ff9535c150250073ea1e57b42d2693 (patch)
treec006a3bc0ba1f6e1d8a2bc032eedc346f71eab0d /plugins/org.eclipse.emf.cdo.releng.help/html/writer/examples/XmlSnippets.html
parent7416443692cdda72d1f704ea4fc5ececcc669df7 (diff)
downloadcdo-0266166cb9ff9535c150250073ea1e57b42d2693.tar.gz
cdo-0266166cb9ff9535c150250073ea1e57b42d2693.tar.xz
cdo-0266166cb9ff9535c150250073ea1e57b42d2693.zip
Adjusted copyrights to 2012
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.help/html/writer/examples/XmlSnippets.html')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.help/html/writer/examples/XmlSnippets.html620
1 files changed, 310 insertions, 310 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.help/html/writer/examples/XmlSnippets.html b/plugins/org.eclipse.emf.cdo.releng.help/html/writer/examples/XmlSnippets.html
index cc12cf81c6..4e29157817 100644
--- a/plugins/org.eclipse.emf.cdo.releng.help/html/writer/examples/XmlSnippets.html
+++ b/plugins/org.eclipse.emf.cdo.releng.help/html/writer/examples/XmlSnippets.html
@@ -1,310 +1,310 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<HTML>
-
-<HEAD>
-<TITLE>Embedding XML Snippets (CDO Release Engineering Documentation)</TITLE>
-
-<LINK REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Embedding XML Snippets (CDO Release Engineering Documentation)";
- }
-}
-</SCRIPT>
-<NOSCRIPT></NOSCRIPT>
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<!-- <div class="help_breadcrumbs"><a href="../../Overview.html" title="CDO Release Engineering Documentation">CDO Release Engineering Documentation</a> > <a href="../index.html" title="Category in CDO Release Engineering Documentation">Technical Writer's Guide</a> > <a href="index.html" title="Category in CDO Release Engineering Documentation">Examples</a></div> -->
-
-<table border="0">
- <tr>
- <td width="100%"><h1>Embedding XML Snippets</h1></td>
- <td align="right" valign="middle" nowrap><a href="CreatingTransportConnections.html" title="Backward to Creating Transport Connections"><img src="../../../images/backward.png" border="0"></a>&nbsp;<a href="../../reference/index.html" title="Forward to Reference"><img src="../../../images/forward.png" border="0"></a></td>
- </tr>
-</table>
-<p>
- <p>
-<table border="0">
-<tr><td>1&nbsp;</td><td colspan="3"><a href="XmlSnippets.html#XmlExample" title="Chapter in CDO Release Engineering Documentation">XML Example with a Callout</a></td></tr>
-<tr><td>2&nbsp;</td><td colspan="3"><a href="XmlSnippets.html#XmiExample" title="Chapter in CDO Release Engineering Documentation">XMI Example</a></td></tr>
-</table>
-</p>
-
-
-<h2><a name="XmlExample"></a>1&nbsp;&nbsp;XML Example with a Callout</h2>
-<p>
-
-
-<div class="snippet" style="margin-left:24px;" align="left">
- <a name="snippet_cdoServerXml"></a>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="../../../images/editor-top-left-xml.png"></td>
- <td style="background-image:url(../../../images/editor-top1.png); background-repeat:repeat-x;" width="1px"><font face="Segoe UI,Arial" size="-1">cdo-server.xml</font></td>
- <td width="1px"><img src="../../../images/editor-close.png"></td>
- <td style="background-image:url(../../../images/editor-top2.png); background-repeat:repeat-x;">&nbsp;</td>
- <td><img src="../../../images/editor-top-right.png"></td>
- </tr>
- <tr>
- <td style="background-image:url(../../../images/editor-left.png); background-repeat:repeat-y;">&nbsp;</td>
- <td colspan="3" align="left" valign="top" nowrap>
- <div style="margin:10px 0px 10px 0px;">
- <code>
-<font color="#0000e1">&lt;?xml version=<font color="#000080">'1.0'</font> encoding=<font color="#000080">'UTF-8'</font>?&gt;</font><br/>
-<font color="#0000e1">&lt;cdoServer&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;==============================================================&nbsp;--&gt;</font><br/>
-&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;See&nbsp;http://wiki.eclipse.org/CDO/Server_Configuration_Reference&nbsp;--&gt;</font><br/>
-&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;==============================================================&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;acceptor&nbsp;type<font color="#000080">="tcp"</font>&nbsp;listenAddr<font color="#000080">="0.0.0.0"</font>&nbsp;port<font color="#000080">="2036"</font>/&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Examples:<br/>
-&nbsp;&nbsp;&lt;acceptor&nbsp;type="ssl"&nbsp;listenAddr="0.0.0.0"&nbsp;port="2036"/&gt;<br/>
-&nbsp;&nbsp;&lt;acceptor&nbsp;type="http"/&gt;<br/>
-&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;repository&nbsp;name<font color="#000080">="repo1"</font>&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="overrideUUID"</font>&nbsp;value<font color="#000080">=""</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="supportingAudits"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="supportingBranches"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="supportingEcore"</font>&nbsp;value<font color="#000080">="false"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="ensureReferentialIntegrity"</font>&nbsp;value<font color="#000080">="false"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="allowInterruptRunningQueries"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="idGenerationLocation"</font>&nbsp;value<font color="#000080">="STORE"</font>/&gt;</font>&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Possible&nbsp;values:&nbsp;STORE&nbsp;|&nbsp;CLIENT&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;(see&nbsp;https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775):<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;userManager&nbsp;type="file"&nbsp;description="_database/repo1.users"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;(see&nbsp;https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835):<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;userManager&nbsp;type="TestRepository"&nbsp;description="repo1"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;(see&nbsp;https://bugs.eclipse.org/bugs/show_bug.cgi?id=345431):<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;initialPackage&nbsp;nsURI="http://www.eclipse.org/emf/CDO/examples/company/1.0.0"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;store&nbsp;type<font color="#000080">="db"</font>&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Period&nbsp;at&nbsp;which&nbsp;to&nbsp;execute&nbsp;an&nbsp;SQL&nbsp;statement&nbsp;to&nbsp;keep&nbsp;DB&nbsp;connection&nbsp;alive,&nbsp;in&nbsp;minutes&nbsp;--&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="connectionKeepAlivePeriod"</font>&nbsp;value<font color="#000080">="60"</font>/&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;mappingStrategy&nbsp;type<font color="#000080">="horizontal"</font>&gt;</font>&nbsp;<a name="callout_cdoServerXml_1_code" href="#callout_cdoServerXml_1" alt="The mapping strategy &quot;horizontal&quot; delegates to a mapping strategy chosen to match the repository
- properties supportingAudits and supportingBranches." title="The mapping strategy &quot;horizontal&quot; delegates to a mapping strategy chosen to match the repository
- properties supportingAudits and supportingBranches."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"></a>&nbsp;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="qualifiedNames"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="toManyReferences"</font>&nbsp;value<font color="#000080">="ONE_TABLE_PER_REFERENCE"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="toOneReferences"</font>&nbsp;value<font color="#000080">="LIKE_ATTRIBUTES"</font>/&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Per&nbsp;default,&nbsp;the&nbsp;objectTypeCache&nbsp;is&nbsp;in-memory&nbsp;and&nbsp;contains<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100,000&nbsp;cache&nbsp;entries.&nbsp;If&nbsp;you&nbsp;want&nbsp;to&nbsp;change&nbsp;the&nbsp;size,<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uncomment&nbsp;the&nbsp;following&nbsp;line&nbsp;and&nbsp;set&nbsp;the&nbsp;desired&nbsp;size.<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;cache&nbsp;can&nbsp;be&nbsp;disabled&nbsp;by&nbsp;setting&nbsp;a&nbsp;size&nbsp;of&nbsp;0.<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Optional:&nbsp;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="objectTypeCacheSize"&nbsp;value="100000"&nbsp;/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/mappingStrategy&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;dbAdapter&nbsp;name<font color="#000080">="h2"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;dataSource&nbsp;class<font color="#000080">="org.h2.jdbcx.JdbcDataSource"</font>&nbsp;uRL<font color="#000080">="jdbc:h2:database/repo1"</font>/&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="derby-embedded"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="org.apache.derby.jdbc.EmbeddedDataSource"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;databaseName="/temp/repo1"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createDatabase="create"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="hsqldb"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;database="jdbc:hsqldb:mem:repo1"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user="sa"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="mysql"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url="jdbc:mysql://localhost/repo1"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user="sa"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="postgresql"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="org.postgresql.ds.PGSimpleDataSource"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url="jdbc:postgresql://localhost:5432/repo1"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;databaseName="repo1"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user="cdo"<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;password="cdo"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/store&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;ONLY&nbsp;THE&nbsp;FIRST&nbsp;CONFIGURED&nbsp;STORE&nbsp;IS&nbsp;USED&nbsp;FOR&nbsp;THE&nbsp;REPOSITORY!!!&nbsp;--&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;store&nbsp;type<font color="#000080">="mongodb"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="uri"</font>&nbsp;value<font color="#000080">="mongodb://localhost"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="db"</font>&nbsp;value<font color="#000080">="cdodb"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Optional:<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="drop"&nbsp;value="true"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/store&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/repository&gt;</font><br/>
-<br/>
-&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;of&nbsp;a&nbsp;DB4O&nbsp;repo/store:<br/>
-&nbsp;&nbsp;&lt;repository&nbsp;name="repo1"&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="supportingAudits"&nbsp;value="false"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="supportingBranches"&nbsp;value="false"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;store&nbsp;type="db4o"&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="path"&nbsp;value="/tmp/cdodb4.db4o"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="port"&nbsp;value="50032"/&gt;<br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;/store&gt;<br/>
-&nbsp;&nbsp;&lt;/repository&gt;<br/>
-&nbsp;&nbsp;--&gt;</font>&nbsp;&nbsp;<br/>
-<br/>
-<font color="#0000e1">&lt;/cdoServer&gt;</font>
- </code>
- </div>
- </td>
- <td style="background-image:url(../../../images/editor-right.png); background-repeat:repeat-y;">&nbsp;</td>
- </tr>
- <tr>
- <td><img src="../../../images/editor-bottom-left.png"></td>
- <td style="background-image:url(../../../images/editor-bottom.png); background-repeat:repeat-x;" colspan="3">&nbsp;</td>
- <td><img src="../../../images/editor-bottom-right.png"></td>
- </tr>
- </table>
-</div>
-<p>
-<div style="margin-left:24px;"><a name="callout_cdoServerXml_1" href="#callout_cdoServerXml_1_code" alt="Jump to snippet..." title="Jump to snippet..."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"></a>&nbsp;The mapping strategy "horizontal" delegates to a mapping strategy chosen to match the repository
- properties <i>supportingAudits</i> and <i>supportingBranches</i>.
-
-</div>
-<p>
-
-
-<h2><a name="XmiExample"></a>2&nbsp;&nbsp;XMI Example</h2>
-<p>
-
-
-<div class="snippet" style="margin-left:24px;" align="left">
- <a name="snippet_companyEcore"></a>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="../../../images/editor-top-left-xml.png"></td>
- <td style="background-image:url(../../../images/editor-top1.png); background-repeat:repeat-x;" width="1px"><font face="Segoe UI,Arial" size="-1">company.ecore</font></td>
- <td width="1px"><img src="../../../images/editor-close.png"></td>
- <td style="background-image:url(../../../images/editor-top2.png); background-repeat:repeat-x;">&nbsp;</td>
- <td><img src="../../../images/editor-top-right.png"></td>
- </tr>
- <tr>
- <td style="background-image:url(../../../images/editor-left.png); background-repeat:repeat-y;">&nbsp;</td>
- <td colspan="3" align="left" valign="top" nowrap>
- <div style="margin:10px 0px 10px 0px;">
- <code>
-<font color="#0000e1">&lt;?xml version=<font color="#000080">'1.0'</font> encoding=<font color="#000080">'UTF-8'</font>?&gt;</font><br/>
-<font color="#0000e1">&lt;ecore:EPackage&nbsp;xmi:version<font color="#000080">="2.0"</font>&nbsp;xmlns:xmi<font color="#000080">="http://www.omg.org/XMI"</font>&nbsp;xmlns:xsi<font color="#000080">="http://www.w3.org/2001/XMLSchema-instance"</font>&nbsp;xmlns:ecore<font color="#000080">="http://www.eclipse.org/emf/2002/Ecore"</font>&nbsp;name<font color="#000080">="company"</font>&nbsp;nsURI<font color="#000080">="http://www.eclipse.org/emf/CDO/examples/company/1.0.0"</font>&nbsp;nsPrefix<font color="#000080">="company"</font>&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@hbGenericGenerators({@GenericGenerator(name="system-uuid", strategy = "org.eclipse.emf.cdo.examples.hibernate.server.CDOExampleUUIDHexGenerator")})"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Addressable"</font>&nbsp;abstract<font color="#000080">="true"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="name"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="street"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="city"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Company"</font>&nbsp;eSuperTypes<font color="#000080">="#//Addressable"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="categories"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Category"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="suppliers"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Supplier"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="customers"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Customer"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="purchaseOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//PurchaseOrder"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="salesOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//SalesOrder"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Supplier"</font>&nbsp;eSuperTypes<font color="#000080">="#//Addressable"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="purchaseOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//PurchaseOrder"</font>&nbsp;eOpposite<font color="#000080">="#//PurchaseOrder/supplier"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="preferred"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"</font>&nbsp;defaultValueLiteral<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Customer"</font>&nbsp;eSuperTypes<font color="#000080">="#//Addressable"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="salesOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//SalesOrder"</font>&nbsp;eOpposite<font color="#000080">="#//SalesOrder/customer"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Order"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Entity(name="BaseOrder")"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="orderDetails"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//OrderDetail"</font>&nbsp;containment<font color="#000080">="true"</font>&nbsp;eOpposite<font color="#000080">="#//OrderDetail/order"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="OrderDetail"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="order"</font>&nbsp;lowerBound<font color="#000080">="1"</font>&nbsp;eType<font color="#000080">="#//Order"</font>&nbsp;eOpposite<font color="#000080">="#//Order/orderDetails"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="product"</font>&nbsp;eType<font color="#000080">="#//Product"</font>&nbsp;eOpposite<font color="#000080">="#//Product/orderDetails"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="price"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="PurchaseOrder"</font>&nbsp;eSuperTypes<font color="#000080">="#//Order"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="date"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="supplier"</font>&nbsp;lowerBound<font color="#000080">="1"</font>&nbsp;eType<font color="#000080">="#//Supplier"</font>&nbsp;eOpposite<font color="#000080">="#//Supplier/purchaseOrders"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="SalesOrder"</font>&nbsp;eSuperTypes<font color="#000080">="#//Order"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="id"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="customer"</font>&nbsp;lowerBound<font color="#000080">="1"</font>&nbsp;eType<font color="#000080">="#//Customer"</font>&nbsp;eOpposite<font color="#000080">="#//Customer/salesOrders"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Category"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="name"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Id @GeneratedValue(generator="system-uuid")"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eStructuralFeatures&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="categories"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Category"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="products"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Product"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Product"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="name"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Id"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eStructuralFeatures&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="orderDetails"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//OrderDetail"</font>&nbsp;eOpposite<font color="#000080">="#//OrderDetail/product"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="vat"</font>&nbsp;eType<font color="#000080">="#//VAT"</font>&nbsp;defaultValueLiteral<font color="#000080">="vat15"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Basic(optional=false)
-@Column(nullable=false)"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eStructuralFeatures&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="description"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>&nbsp;transient<font color="#000080">="true"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="price"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EEnum"</font>&nbsp;name<font color="#000080">="VAT"</font>&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eLiterals&nbsp;name<font color="#000080">="vat0"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eLiterals&nbsp;name<font color="#000080">="vat7"</font>&nbsp;value<font color="#000080">="7"</font>/&gt;</font><br/>
-&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eLiterals&nbsp;name<font color="#000080">="vat15"</font>&nbsp;value<font color="#000080">="15"</font>/&gt;</font><br/>
-&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
-<font color="#0000e1">&lt;/ecore:EPackage&gt;</font>
- </code>
- </div>
- </td>
- <td style="background-image:url(../../../images/editor-right.png); background-repeat:repeat-y;">&nbsp;</td>
- </tr>
- <tr>
- <td><img src="../../../images/editor-bottom-left.png"></td>
- <td style="background-image:url(../../../images/editor-bottom.png); background-repeat:repeat-x;" colspan="3">&nbsp;</td>
- <td><img src="../../../images/editor-bottom-right.png"></td>
- </tr>
- </table>
-</div>
-<p>
-
-
-<p align="right">
-<a href="CreatingTransportConnections.html" title="Backward to Creating Transport Connections"><img src="../../../images/backward.png" border="0"></a>&nbsp;<a href="../../reference/index.html" title="Forward to Reference"><img src="../../../images/forward.png" border="0"></a></p>
-<HR>
-<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i>
-</BODY>
-</HTML>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+
+<HEAD>
+<TITLE>Embedding XML Snippets (CDO Release Engineering Documentation)</TITLE>
+
+<LINK REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Embedding XML Snippets (CDO Release Engineering Documentation)";
+ }
+}
+</SCRIPT>
+<NOSCRIPT></NOSCRIPT>
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<!-- <div class="help_breadcrumbs"><a href="../../Overview.html" title="CDO Release Engineering Documentation">CDO Release Engineering Documentation</a> > <a href="../index.html" title="Category in CDO Release Engineering Documentation">Technical Writer's Guide</a> > <a href="index.html" title="Category in CDO Release Engineering Documentation">Examples</a></div> -->
+
+<table border="0">
+ <tr>
+ <td width="100%"><h1>Embedding XML Snippets</h1></td>
+ <td align="right" valign="middle" nowrap><a href="CreatingTransportConnections.html" title="Backward to Creating Transport Connections"><img src="../../../images/backward.png" border="0"></a>&nbsp;<a href="../../reference/index.html" title="Forward to Reference"><img src="../../../images/forward.png" border="0"></a></td>
+ </tr>
+</table>
+<p>
+ <p>
+<table border="0">
+<tr><td>1&nbsp;</td><td colspan="3"><a href="XmlSnippets.html#XmlExample" title="Chapter in CDO Release Engineering Documentation">XML Example with a Callout</a></td></tr>
+<tr><td>2&nbsp;</td><td colspan="3"><a href="XmlSnippets.html#XmiExample" title="Chapter in CDO Release Engineering Documentation">XMI Example</a></td></tr>
+</table>
+</p>
+
+
+<h2><a name="XmlExample"></a>1&nbsp;&nbsp;XML Example with a Callout</h2>
+<p>
+
+
+<div class="snippet" style="margin-left:24px;" align="left">
+ <a name="snippet_cdoServerXml"></a>
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><img src="../../../images/editor-top-left-xml.png"></td>
+ <td style="background-image:url(../../../images/editor-top1.png); background-repeat:repeat-x;" width="1px"><font face="Segoe UI,Arial" size="-1">cdo-server.xml</font></td>
+ <td width="1px"><img src="../../../images/editor-close.png"></td>
+ <td style="background-image:url(../../../images/editor-top2.png); background-repeat:repeat-x;">&nbsp;</td>
+ <td><img src="../../../images/editor-top-right.png"></td>
+ </tr>
+ <tr>
+ <td style="background-image:url(../../../images/editor-left.png); background-repeat:repeat-y;">&nbsp;</td>
+ <td colspan="3" align="left" valign="top" nowrap>
+ <div style="margin:10px 0px 10px 0px;">
+ <code>
+<font color="#0000e1">&lt;?xml version=<font color="#000080">'1.0'</font> encoding=<font color="#000080">'UTF-8'</font>?&gt;</font><br/>
+<font color="#0000e1">&lt;cdoServer&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;==============================================================&nbsp;--&gt;</font><br/>
+&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;See&nbsp;http://wiki.eclipse.org/CDO/Server_Configuration_Reference&nbsp;--&gt;</font><br/>
+&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;==============================================================&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;acceptor&nbsp;type<font color="#000080">="tcp"</font>&nbsp;listenAddr<font color="#000080">="0.0.0.0"</font>&nbsp;port<font color="#000080">="2036"</font>/&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Examples:<br/>
+&nbsp;&nbsp;&lt;acceptor&nbsp;type="ssl"&nbsp;listenAddr="0.0.0.0"&nbsp;port="2036"/&gt;<br/>
+&nbsp;&nbsp;&lt;acceptor&nbsp;type="http"/&gt;<br/>
+&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;repository&nbsp;name<font color="#000080">="repo1"</font>&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="overrideUUID"</font>&nbsp;value<font color="#000080">=""</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="supportingAudits"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="supportingBranches"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="supportingEcore"</font>&nbsp;value<font color="#000080">="false"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="ensureReferentialIntegrity"</font>&nbsp;value<font color="#000080">="false"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="allowInterruptRunningQueries"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="idGenerationLocation"</font>&nbsp;value<font color="#000080">="STORE"</font>/&gt;</font>&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Possible&nbsp;values:&nbsp;STORE&nbsp;|&nbsp;CLIENT&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;(see&nbsp;https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775):<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;userManager&nbsp;type="file"&nbsp;description="_database/repo1.users"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;(see&nbsp;https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835):<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;userManager&nbsp;type="TestRepository"&nbsp;description="repo1"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;(see&nbsp;https://bugs.eclipse.org/bugs/show_bug.cgi?id=345431):<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;initialPackage&nbsp;nsURI="http://www.eclipse.org/emf/CDO/examples/company/1.0.0"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;store&nbsp;type<font color="#000080">="db"</font>&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Period&nbsp;at&nbsp;which&nbsp;to&nbsp;execute&nbsp;an&nbsp;SQL&nbsp;statement&nbsp;to&nbsp;keep&nbsp;DB&nbsp;connection&nbsp;alive,&nbsp;in&nbsp;minutes&nbsp;--&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="connectionKeepAlivePeriod"</font>&nbsp;value<font color="#000080">="60"</font>/&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;mappingStrategy&nbsp;type<font color="#000080">="horizontal"</font>&gt;</font>&nbsp;<a name="callout_cdoServerXml_1_code" href="#callout_cdoServerXml_1" alt="The mapping strategy &quot;horizontal&quot; delegates to a mapping strategy chosen to match the repository
+ properties supportingAudits and supportingBranches." title="The mapping strategy &quot;horizontal&quot; delegates to a mapping strategy chosen to match the repository
+ properties supportingAudits and supportingBranches."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"></a>&nbsp;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="qualifiedNames"</font>&nbsp;value<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="toManyReferences"</font>&nbsp;value<font color="#000080">="ONE_TABLE_PER_REFERENCE"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="toOneReferences"</font>&nbsp;value<font color="#000080">="LIKE_ATTRIBUTES"</font>/&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Per&nbsp;default,&nbsp;the&nbsp;objectTypeCache&nbsp;is&nbsp;in-memory&nbsp;and&nbsp;contains<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100,000&nbsp;cache&nbsp;entries.&nbsp;If&nbsp;you&nbsp;want&nbsp;to&nbsp;change&nbsp;the&nbsp;size,<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uncomment&nbsp;the&nbsp;following&nbsp;line&nbsp;and&nbsp;set&nbsp;the&nbsp;desired&nbsp;size.<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;cache&nbsp;can&nbsp;be&nbsp;disabled&nbsp;by&nbsp;setting&nbsp;a&nbsp;size&nbsp;of&nbsp;0.<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Optional:&nbsp;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="objectTypeCacheSize"&nbsp;value="100000"&nbsp;/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/mappingStrategy&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;dbAdapter&nbsp;name<font color="#000080">="h2"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;dataSource&nbsp;class<font color="#000080">="org.h2.jdbcx.JdbcDataSource"</font>&nbsp;uRL<font color="#000080">="jdbc:h2:database/repo1"</font>/&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="derby-embedded"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="org.apache.derby.jdbc.EmbeddedDataSource"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;databaseName="/temp/repo1"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;createDatabase="create"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="hsqldb"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;database="jdbc:hsqldb:mem:repo1"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user="sa"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="mysql"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url="jdbc:mysql://localhost/repo1"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user="sa"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example:<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dbAdapter&nbsp;name="postgresql"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dataSource&nbsp;class="org.postgresql.ds.PGSimpleDataSource"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url="jdbc:postgresql://localhost:5432/repo1"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;databaseName="repo1"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user="cdo"<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;password="cdo"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/store&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;ONLY&nbsp;THE&nbsp;FIRST&nbsp;CONFIGURED&nbsp;STORE&nbsp;IS&nbsp;USED&nbsp;FOR&nbsp;THE&nbsp;REPOSITORY!!!&nbsp;--&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;store&nbsp;type<font color="#000080">="mongodb"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="uri"</font>&nbsp;value<font color="#000080">="mongodb://localhost"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;property&nbsp;name<font color="#000080">="db"</font>&nbsp;value<font color="#000080">="cdodb"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Optional:<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="drop"&nbsp;value="true"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/store&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/repository&gt;</font><br/>
+<br/>
+&nbsp;&nbsp;<font color="#3f7f5f">&lt;!--&nbsp;Example&nbsp;of&nbsp;a&nbsp;DB4O&nbsp;repo/store:<br/>
+&nbsp;&nbsp;&lt;repository&nbsp;name="repo1"&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="supportingAudits"&nbsp;value="false"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="supportingBranches"&nbsp;value="false"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;store&nbsp;type="db4o"&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="path"&nbsp;value="/tmp/cdodb4.db4o"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property&nbsp;name="port"&nbsp;value="50032"/&gt;<br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/store&gt;<br/>
+&nbsp;&nbsp;&lt;/repository&gt;<br/>
+&nbsp;&nbsp;--&gt;</font>&nbsp;&nbsp;<br/>
+<br/>
+<font color="#0000e1">&lt;/cdoServer&gt;</font>
+ </code>
+ </div>
+ </td>
+ <td style="background-image:url(../../../images/editor-right.png); background-repeat:repeat-y;">&nbsp;</td>
+ </tr>
+ <tr>
+ <td><img src="../../../images/editor-bottom-left.png"></td>
+ <td style="background-image:url(../../../images/editor-bottom.png); background-repeat:repeat-x;" colspan="3">&nbsp;</td>
+ <td><img src="../../../images/editor-bottom-right.png"></td>
+ </tr>
+ </table>
+</div>
+<p>
+<div style="margin-left:24px;"><a name="callout_cdoServerXml_1" href="#callout_cdoServerXml_1_code" alt="Jump to snippet..." title="Jump to snippet..."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"></a>&nbsp;The mapping strategy "horizontal" delegates to a mapping strategy chosen to match the repository
+ properties <i>supportingAudits</i> and <i>supportingBranches</i>.
+
+</div>
+<p>
+
+
+<h2><a name="XmiExample"></a>2&nbsp;&nbsp;XMI Example</h2>
+<p>
+
+
+<div class="snippet" style="margin-left:24px;" align="left">
+ <a name="snippet_companyEcore"></a>
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><img src="../../../images/editor-top-left-xml.png"></td>
+ <td style="background-image:url(../../../images/editor-top1.png); background-repeat:repeat-x;" width="1px"><font face="Segoe UI,Arial" size="-1">company.ecore</font></td>
+ <td width="1px"><img src="../../../images/editor-close.png"></td>
+ <td style="background-image:url(../../../images/editor-top2.png); background-repeat:repeat-x;">&nbsp;</td>
+ <td><img src="../../../images/editor-top-right.png"></td>
+ </tr>
+ <tr>
+ <td style="background-image:url(../../../images/editor-left.png); background-repeat:repeat-y;">&nbsp;</td>
+ <td colspan="3" align="left" valign="top" nowrap>
+ <div style="margin:10px 0px 10px 0px;">
+ <code>
+<font color="#0000e1">&lt;?xml version=<font color="#000080">'1.0'</font> encoding=<font color="#000080">'UTF-8'</font>?&gt;</font><br/>
+<font color="#0000e1">&lt;ecore:EPackage&nbsp;xmi:version<font color="#000080">="2.0"</font>&nbsp;xmlns:xmi<font color="#000080">="http://www.omg.org/XMI"</font>&nbsp;xmlns:xsi<font color="#000080">="http://www.w3.org/2001/XMLSchema-instance"</font>&nbsp;xmlns:ecore<font color="#000080">="http://www.eclipse.org/emf/2002/Ecore"</font>&nbsp;name<font color="#000080">="company"</font>&nbsp;nsURI<font color="#000080">="http://www.eclipse.org/emf/CDO/examples/company/1.0.0"</font>&nbsp;nsPrefix<font color="#000080">="company"</font>&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@hbGenericGenerators({@GenericGenerator(name="system-uuid", strategy = "org.eclipse.emf.cdo.examples.hibernate.server.CDOExampleUUIDHexGenerator")})"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Addressable"</font>&nbsp;abstract<font color="#000080">="true"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="name"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="street"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="city"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Company"</font>&nbsp;eSuperTypes<font color="#000080">="#//Addressable"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="categories"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Category"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="suppliers"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Supplier"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="customers"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Customer"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="purchaseOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//PurchaseOrder"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="salesOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//SalesOrder"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Supplier"</font>&nbsp;eSuperTypes<font color="#000080">="#//Addressable"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="purchaseOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//PurchaseOrder"</font>&nbsp;eOpposite<font color="#000080">="#//PurchaseOrder/supplier"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="preferred"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"</font>&nbsp;defaultValueLiteral<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Customer"</font>&nbsp;eSuperTypes<font color="#000080">="#//Addressable"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="salesOrders"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//SalesOrder"</font>&nbsp;eOpposite<font color="#000080">="#//SalesOrder/customer"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Order"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Entity(name="BaseOrder")"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="orderDetails"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//OrderDetail"</font>&nbsp;containment<font color="#000080">="true"</font>&nbsp;eOpposite<font color="#000080">="#//OrderDetail/order"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="OrderDetail"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="order"</font>&nbsp;lowerBound<font color="#000080">="1"</font>&nbsp;eType<font color="#000080">="#//Order"</font>&nbsp;eOpposite<font color="#000080">="#//Order/orderDetails"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="product"</font>&nbsp;eType<font color="#000080">="#//Product"</font>&nbsp;eOpposite<font color="#000080">="#//Product/orderDetails"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="price"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="PurchaseOrder"</font>&nbsp;eSuperTypes<font color="#000080">="#//Order"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="date"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="supplier"</font>&nbsp;lowerBound<font color="#000080">="1"</font>&nbsp;eType<font color="#000080">="#//Supplier"</font>&nbsp;eOpposite<font color="#000080">="#//Supplier/purchaseOrders"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="SalesOrder"</font>&nbsp;eSuperTypes<font color="#000080">="#//Order"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="id"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="customer"</font>&nbsp;lowerBound<font color="#000080">="1"</font>&nbsp;eType<font color="#000080">="#//Customer"</font>&nbsp;eOpposite<font color="#000080">="#//Customer/salesOrders"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Category"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="name"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Id @GeneratedValue(generator="system-uuid")"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eStructuralFeatures&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="categories"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Category"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="products"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//Product"</font>&nbsp;containment<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EClass"</font>&nbsp;name<font color="#000080">="Product"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="name"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Id"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eStructuralFeatures&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EReference"</font>&nbsp;name<font color="#000080">="orderDetails"</font>&nbsp;upperBound<font color="#000080">="-1"</font>&nbsp;eType<font color="#000080">="#//OrderDetail"</font>&nbsp;eOpposite<font color="#000080">="#//OrderDetail/product"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="vat"</font>&nbsp;eType<font color="#000080">="#//VAT"</font>&nbsp;defaultValueLiteral<font color="#000080">="vat15"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eAnnotations&nbsp;source<font color="#000080">="teneo.jpa"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;details&nbsp;key<font color="#000080">="value"</font>&nbsp;value<font color="#000080">="@Basic(optional=false)
+@Column(nullable=false)"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eAnnotations&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;/eStructuralFeatures&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="description"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"</font>&nbsp;transient<font color="#000080">="true"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eStructuralFeatures&nbsp;xsi:type<font color="#000080">="ecore:EAttribute"</font>&nbsp;name<font color="#000080">="price"</font>&nbsp;eType<font color="#000080">="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;eClassifiers&nbsp;xsi:type<font color="#000080">="ecore:EEnum"</font>&nbsp;name<font color="#000080">="VAT"</font>&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eLiterals&nbsp;name<font color="#000080">="vat0"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eLiterals&nbsp;name<font color="#000080">="vat7"</font>&nbsp;value<font color="#000080">="7"</font>/&gt;</font><br/>
+&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000e1">&lt;eLiterals&nbsp;name<font color="#000080">="vat15"</font>&nbsp;value<font color="#000080">="15"</font>/&gt;</font><br/>
+&nbsp;&nbsp;<font color="#0000e1">&lt;/eClassifiers&gt;</font><br/>
+<font color="#0000e1">&lt;/ecore:EPackage&gt;</font>
+ </code>
+ </div>
+ </td>
+ <td style="background-image:url(../../../images/editor-right.png); background-repeat:repeat-y;">&nbsp;</td>
+ </tr>
+ <tr>
+ <td><img src="../../../images/editor-bottom-left.png"></td>
+ <td style="background-image:url(../../../images/editor-bottom.png); background-repeat:repeat-x;" colspan="3">&nbsp;</td>
+ <td><img src="../../../images/editor-bottom-right.png"></td>
+ </tr>
+ </table>
+</div>
+<p>
+
+
+<p align="right">
+<a href="CreatingTransportConnections.html" title="Backward to Creating Transport Connections"><img src="../../../images/backward.png" border="0"></a>&nbsp;<a href="../../reference/index.html" title="Forward to Reference"><img src="../../../images/forward.png" border="0"></a></p>
+<HR>
+<i>Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.</i>
+</BODY>
+</HTML>

Back to the top