]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.layer0/adapters.xml
Sync git svn branch with SVN repository r33205.
[simantics/platform.git] / bundles / org.simantics.db.layer0 / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r<!--\r
2     Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
3     in Industry THTH ry.\r
4     All rights reserved. This program and the accompanying materials\r
5     are made available under the terms of the Eclipse Public License v1.0\r
6     which accompanies this distribution, and is available at\r
7     http://www.eclipse.org/legal/epl-v10.html\r
8    \r
9     Contributors:\r
10         VTT Technical Research Centre of Finland - initial API and implementation\r        Semantum Oy - issue #4190\r
11  -->\r
12
13 <adapters>\r\r    <target interface="java.lang.Double">\r          <adapter uri="http://www.simantics.org/Layer0-0.0/Double"\r                      contextClass="org.simantics.db.RelationContext" adapterClass="org.simantics.db.layer0.adapter.LiteralDoubleAdapter" />\r </target>\r\r     <target interface="java.lang.String">\r          <adapter uri="http://www.simantics.org/Layer0-0.0/String"\r                  contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.db.layer0.adapter.LiteralStringAdapter"/>\r          <adapter uri="http://www.simantics.org/Layer0-0.0/RVI"\r                 adapterClass="org.simantics.db.layer0.adapter.RVIStringAdapter"/>\r      </target>\r\r     <target interface="java.lang.String">\r          <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                  contextClass="org.simantics.db.layer0.variable.Variable"\r                   adapterClass="org.simantics.db.layer0.adapter.LiteralVariableStringAdapter"/>\r  </target>\r\r     <target interface="org.simantics.db.layer0.variable.VariableBuilder">\r          <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r                 class="org.simantics.db.layer0.variable.StandardVariableBuilder" >\r             </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.variable.Variable">\r         <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                      adapterClass="org.simantics.db.layer0.variable.URIResourceVariableAdapter" />\r          <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                      contextClass="org.simantics.db.layer0.variable.Variable"\r                       adapterClass="org.simantics.db.layer0.variable.StandardGraphChildVariableAdapter" />\r           <adapter uri="http://www.simantics.org/Layer0-0.0/Value"\r                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />\r            <adapter uri="http://www.simantics.org/Layer0-0.0/ExternalValue"\r                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />\r            <adapter uri="http://www.simantics.org/Layer0-0.0/Property"\r                    contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />\r            <adapter uri="http://www.simantics.org/Layer0X-0.0/ResourcePropertyRelation"\r                   contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.ResourcePropertyVariableAdapter" />\r     </target>\r\r     <target interface="org.simantics.db.layer0.variable.VariableModifier">\r         <adapter uri="http://www.simantics.org/Layer0-0.0/Literal"\r                 contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.db.layer0.variable.StandardVariableModifierAdapter"/>\r      </target>\r\r     <!--  <target interface="org.simantics.db.layer0.variable.PropertyVariableFactory">\r            <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r                 class="org.simantics.db.layer0.variable.StandardPropertyVariableFactory" >\r             </type>\r        </target> -->\r\r <target interface="org.simantics.db.layer0.variable.RVIResolver">\r              <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r                 class="org.simantics.db.layer0.variable.StandardRVIResolver" >\r         </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.variable.GraphPropertyFactory">\r             <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                      contextClass="org.simantics.db.RelationContext"\r                        adapterClass="org.simantics.db.layer0.adapter.StandardGraphPropertyFactoryAdapter" />\r  </target>\r\r     <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">\r            <resource uri="http://www.simantics.org/Layer0X-0.0/EntitySubgraphExtent"\r                      class="org.simantics.db.layer0.adapter.impl.EntitySubgraphExtent" >\r            </resource>\r    </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.InstanceFactory">\r           <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <resource\r                      uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultInstanceFactory">\r                   <this />\r               </resource>\r    </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.PasteHandler">\r              <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <!--  <type\r                    uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type> -->\r            <type\r                  uri="http://www.simantics.org/Simulation-0.0/Model"\r                    class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Layer0-0.0/Library"\r                      class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r        </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.CopyHandler">\r               <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultCopyHandler">\r                       <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                       class="org.simantics.db.layer0.adapter.impl.SharedOntologyCopyHandler">\r                        <this />\r               </type>\r        </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.Instances">\r         <resource\r                      uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.EntityInstances">\r                  <this/>\r                </resource>\r    </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.StringModifier">\r            <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.StringModifierImpl">\r                       <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.StringIndexModifier">\r               <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.StringIndexModifierImpl">\r                  <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">\r             <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />\r          <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.EntityStringModifierFactory">\r                      <this />\r               </type>\r        </target>\r\r
14         <target interface="org.simantics.db.layer0.adapter.Valuations">\r
15                 <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r
16                         class="org.simantics.db.layer0.adapter.impl.DefaultValuations">\r
17                         <this />\r
18                 </type>\r
19         </target>\r
20 \r
21         <target interface="org.simantics.db.layer0.adapter.GenericRelation">\r
22                 <baseType uri="http://www.simantics.org/Layer0X-0.0/GenericRelation" />\r                <resource uri = "http://www.simantics.org/Layer0X-0.0/DependenciesRelation"\r
23                         class="org.simantics.db.layer0.genericrelation.DependenciesRelation">\r
24                         <graph />\r
25                         <this />\r
26                 </resource>\r
27         </target>\r
28 \r
29         <target interface="org.simantics.db.layer0.adapter.GenericRelationIndex">\r
30                 <baseType uri="http://www.simantics.org/Layer0X-0.0/GenericRelation" />\r                <resource uri = "http://www.simantics.org/Layer0X-0.0/DependenciesRelation"\r
31                         class="org.simantics.db.layer0.genericrelation.DependenciesRelation">\r
32                         <graph />\r
33                         <this />\r
34                 </resource>\r
35         </target>\r\r     <target interface="org.simantics.scl.runtime.function.Function">\r               <resource uri = "http://www.simantics.org/Layer0X-0.0/Dependencies"\r                    class="org.simantics.db.layer0.genericrelation.Dependencies">\r          </resource>\r            <resource uri = "http://www.simantics.org/Layer0X-0.0/DependencyResources"\r                     class="org.simantics.db.layer0.genericrelation.DependencyResources">\r           </resource>\r    </target>\r\r     <target interface="org.simantics.db.layer0.adapter.Remover">\r           <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />\r          <type uri="http://www.simantics.org/Layer0-0.0/Entity" class="org.simantics.db.layer0.adapter.impl.EntityRemover">\r                     <this />\r               </type>\r                <type uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                 class="org.simantics.db.layer0.adapter.SharedOntologyRemover">\r                 <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.Template">\r          <baseType uri="http://www.simantics.org/Layer0-0.0/Template" />\r\r               <type uri="http://www.simantics.org/Layer0-0.0/Template" class="org.simantics.db.layer0.adapter.impl.GraphTemplate"\r                    constructor="create">\r                  <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r             <baseType uri="http://www.simantics.org/Action-0.0/Action" />\r  </target>\r\r     <target interface="org.simantics.db.layer0.migration.MigrationStep">\r           <type uri = "http://www.simantics.org/Layer0-0.0/MigrationSequence"\r                    class="org.simantics.db.layer0.migration.MigrationSequence">\r                   <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.migration.MigrationStep">\r           <type uri = "http://www.simantics.org/Layer0-0.0/NamespaceMigrationStep"\r                       class="org.simantics.db.layer0.migration.NamespaceMigrationStep">\r                      <graph />\r                      <this />\r               </type>\r                <type uri = "http://www.simantics.org/Layer0-0.0/OrderedSetToListMigrationStep"\r                        class="org.simantics.db.layer0.migration.OrderedSetToListMigrationStep">\r                       <graph />\r                      <this />\r               </type>         \r       </target>\r\r     <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">\r         <resource\r                      uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                       class="org.simantics.db.layer0.adapter.impl.SharedOntologyImportAdvisorFactory">\r               </resource>\r            <resource\r                      uri="http://www.simantics.org/Simulation-0.0/Model"\r                    class="org.simantics.db.layer0.adapter.impl.ModelImportAdvisorFactory">\r                </resource>\r    </target>\r      \r
36 </adapters>\r