| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| |
| <TITLE> |
| IMappingStrategy (CDO Model Repository Documentation) |
| </TITLE> |
| |
| <META NAME="date" CONTENT=""> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../html/book.css" TITLE="Style"> |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="IMappingStrategy (CDO Model Repository Documentation)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IMappingStrategy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IListMappingDeltaSupport.html" title="interface in org.eclipse.emf.cdo.server.db.mapping"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IMappingStrategy.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.eclipse.emf.cdo.server.db.mapping</FONT> |
| <BR> |
| Interface IMappingStrategy</H2> |
| <HR> |
| <DL> |
| <DT>public interface <B>IMappingStrategy</B> |
| </DL> |
| |
| <map id="APIVIZ" name="APIVIZ"> |
| <area shape="rect" id="node1" href="IMappingStrategy.html" title="«interface» IMappingStrategy" alt="" coords="140,101,263,141"/> |
| <area shape="rect" id="node2" href="IClassMappingDeltaSupport.html" title="«interface» IClassMappingDeltaSupport" alt="" coords="5,5,187,45"/> |
| <area shape="rect" id="node3" href="IClassMappingAuditSupport.html" title="«interface» IClassMappingAuditSupport" alt="" coords="217,5,399,45"/> |
| </map> |
| |
| <CENTER><IMG SRC="IMappingStrategy.png" USEMAP="#APIVIZ" BORDER="0"></CENTER> |
| |
| |
| |
| <P> |
| The mapping strategy acts as a connection between the DBStore and the database management (and OR-mapping) classes. |
| The <CODE>DBStore</CODE> uses methods of this interface to create and lookup mappings (or mappers, as they could also be |
| named as such) and to get properties and informations about the mappings used. The mapping classes (e.g., instances |
| of IClassMapping and IListMapping) also use this class as a central point of information and as a resource of common |
| functionalities. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.0</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#PROP_COLUMN_TYPE_MODIFIER">PROP_COLUMN_TYPE_MODIFIER</A></B></CODE> |
| |
| <BR> |
| Name of a String property that specifies the name of a <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ColumnTypeModifier.html" title="class in org.eclipse.emf.cdo.server.db.mapping"><CODE>column type modifier</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#PROP_FORCE_NAMES_WITH_ID">PROP_FORCE_NAMES_WITH_ID</A></B></CODE> |
| |
| <BR> |
| Name of the boolean property that configures whether table names and column names are always suffixed with the |
| internal DBID or only in cases where generated names violate the naming constraints of the underlying backend.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#PROP_MAX_FIELD_NAME_LENGTH">PROP_MAX_FIELD_NAME_LENGTH</A></B></CODE> |
| |
| <BR> |
| Name of the integer property that configures the maximum length for column names.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#PROP_MAX_TABLE_NAME_LENGTH">PROP_MAX_TABLE_NAME_LENGTH</A></B></CODE> |
| |
| <BR> |
| Name of the integer property that configures the maximum length for table names.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#PROP_OBJECT_TYPE_CACHE_SIZE">PROP_OBJECT_TYPE_CACHE_SIZE</A></B></CODE> |
| |
| <BR> |
| Name of the integer property that configures the size of the object type in-memory cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#PROP_QUALIFIED_NAMES">PROP_QUALIFIED_NAMES</A></B></CODE> |
| |
| <BR> |
| Name of the boolean property that configures whether the table names are made of simple class names or of qualified |
| class names.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#PROP_TABLE_NAME_PREFIX">PROP_TABLE_NAME_PREFIX</A></B></CODE> |
| |
| <BR> |
| Name of the String property that specifies a common prefix for table names.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IListMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IListMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#createListMapping(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EStructuralFeature)">createListMapping</A></B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> containingClass, |
| <A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</CODE> |
| |
| <BR> |
| Factory for value mappings of multi-valued-attributes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#createMapping(java.sql.Connection, org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageUnit[], org.eclipse.net4j.util.om.monitor.OMMonitor)">createMapping</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</A> connection, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/spi/common/model/InternalCDOPackageUnit.html" title="interface in org.eclipse.emf.cdo.spi.common.model">InternalCDOPackageUnit</A>[] packageUnits, |
| <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/om/monitor/OMMonitor.html?is-external=true" title="class or interface in org.eclipse.net4j.util.om.monitor">OMMonitor</A> monitor)</CODE> |
| |
| <BR> |
| Create and initialize the mapping infrastructure for the given packages.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#createValueMapping(org.eclipse.emf.ecore.EStructuralFeature)">createValueMapping</A></B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</CODE> |
| |
| <BR> |
| Factory for value mappings of single-valued attributes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IClassMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getClassMapping(org.eclipse.emf.ecore.EClass)">getClassMapping</A></B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> eClass)</CODE> |
| |
| <BR> |
| Look up an existing class mapping for the given class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A>,<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IClassMapping</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getClassMappings()">getClassMappings</A></B>()</CODE> |
| |
| <BR> |
| Returns all class mappings of this strategy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A>,<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IClassMapping</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getClassMappings(boolean)">getClassMappings</A></B>(boolean createOnDemand)</CODE> |
| |
| <BR> |
| Returns all class mappings of this strategy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getFieldName(org.eclipse.emf.ecore.EStructuralFeature)">getFieldName</A></B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</CODE> |
| |
| <BR> |
| Create a suitable column name which can be used to map the given element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getListJoin(java.lang.String, java.lang.String)">getListJoin</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> attrTable, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> listTable)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getProperties()">getProperties</A></B>()</CODE> |
| |
| <BR> |
| Returns the configuration properties of this mapping strategy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStore.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStore</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getStore()">getStore</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getTableName(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EStructuralFeature)">getTableName</A></B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> containingClass, |
| <A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</CODE> |
| |
| <BR> |
| Create a suitable table name which can be used to map the given element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getTableName(org.eclipse.emf.ecore.ENamedElement)">getTableName</A></B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/ENamedElement.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">ENamedElement</A> element)</CODE> |
| |
| <BR> |
| Create a suitable table name which can be used to map the given element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#handleRevisions(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.ecore.EClass, org.eclipse.emf.cdo.common.branch.CDOBranch, long, boolean, org.eclipse.emf.cdo.common.revision.CDORevisionHandler)">handleRevisions</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> eClass, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/branch/CDOBranch.html" title="interface in org.eclipse.emf.cdo.common.branch">CDOBranch</A> branch, |
| long timeStamp, |
| boolean exactTime, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/revision/CDORevisionHandler.html" title="interface in org.eclipse.emf.cdo.common.revision">CDORevisionHandler</A> handler)</CODE> |
| |
| <BR> |
| Passes all revisions of the store to the <A HREF="../../../../../../../org/eclipse/emf/cdo/common/revision/CDORevisionHandler.html" title="interface in org.eclipse.emf.cdo.common.revision"><CODE>handler</CODE></A> if <b>all</b> of the following |
| conditions are met: |
| |
| The <code>eClass</code> parameter is <code>null</code> or equal to <code>revision.getEClass()</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#hasAuditSupport()">hasAuditSupport</A></B>()</CODE> |
| |
| <BR> |
| Query if this mapping supports audits.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#hasBranchingSupport()">hasBranchingSupport</A></B>()</CODE> |
| |
| <BR> |
| Query if this mapping supports branches.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#hasDeltaSupport()">hasDeltaSupport</A></B>()</CODE> |
| |
| <BR> |
| Query if this mapping supports revision deltas.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#queryResources(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.server.IStoreAccessor.QueryResourcesContext)">queryResources</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/IStoreAccessor.QueryResourcesContext.html" title="interface in org.eclipse.emf.cdo.server">IStoreAccessor.QueryResourcesContext</A> context)</CODE> |
| |
| <BR> |
| Executes a resource query.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#queryXRefs(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.server.IStoreAccessor.QueryXRefsContext)">queryXRefs</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/IStoreAccessor.QueryXRefsContext.html" title="interface in org.eclipse.emf.cdo.server">IStoreAccessor.QueryXRefsContext</A> context)</CODE> |
| |
| <BR> |
| Executes a cross reference query.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#rawExport(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.common.protocol.CDODataOutput, int, int, long, long)">rawExport</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/protocol/CDODataOutput.html" title="interface in org.eclipse.emf.cdo.common.protocol">CDODataOutput</A> out, |
| int lastReplicatedBranchID, |
| int lastBranchID, |
| long lastReplicatedCommitTime, |
| long lastCommitTime)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#rawImport(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.common.protocol.CDODataInput, long, long, org.eclipse.net4j.util.om.monitor.OMMonitor)">rawImport</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/protocol/CDODataInput.html" title="interface in org.eclipse.emf.cdo.common.protocol">CDODataInput</A> in, |
| long fromCommitTime, |
| long toCommitTime, |
| <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/om/monitor/OMMonitor.html?is-external=true" title="class or interface in org.eclipse.net4j.util.om.monitor">OMMonitor</A> monitor)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="../../../../../../../org/eclipse/emf/cdo/common/id/CDOID.html" title="interface in org.eclipse.emf.cdo.common.id">CDOID</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#readChangeSet(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.net4j.util.om.monitor.OMMonitor, org.eclipse.emf.cdo.spi.common.commit.CDOChangeSetSegment[])">readChangeSet</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/om/monitor/OMMonitor.html?is-external=true" title="class or interface in org.eclipse.net4j.util.om.monitor">OMMonitor</A> monitor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/spi/common/commit/CDOChangeSetSegment.html" title="class in org.eclipse.emf.cdo.spi.common.commit">CDOChangeSetSegment</A>[] segments)</CODE> |
| |
| <BR> |
| Returns a set of CDOIDs that have at least one revision in any of the passed branches and time ranges.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/collection/CloseableIterator.html?is-external=true" title="class or interface in org.eclipse.net4j.util.collection">CloseableIterator</A><<A HREF="../../../../../../../org/eclipse/emf/cdo/common/id/CDOID.html" title="interface in org.eclipse.emf.cdo.common.id">CDOID</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#readObjectIDs(org.eclipse.emf.cdo.server.db.IDBStoreAccessor)">readObjectIDs</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor)</CODE> |
| |
| <BR> |
| Get an iterator over all instances of objects in the store.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../org/eclipse/emf/cdo/common/model/CDOClassifierRef.html" title="class in org.eclipse.emf.cdo.common.model">CDOClassifierRef</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#readObjectType(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.common.id.CDOID)">readObjectType</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/id/CDOID.html" title="interface in org.eclipse.emf.cdo.common.id">CDOID</A> id)</CODE> |
| |
| <BR> |
| Read the type (i.e. class) of the object referred to by a given ID.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#removeMapping(java.sql.Connection, org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageUnit[])">removeMapping</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</A> connection, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/spi/common/model/InternalCDOPackageUnit.html" title="interface in org.eclipse.emf.cdo.spi.common.model">InternalCDOPackageUnit</A>[] packageUnits)</CODE> |
| |
| <BR> |
| Remove the mapping infrastructure for the given packages.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#repairAfterCrash(org.eclipse.net4j.db.IDBAdapter, java.sql.Connection)">repairAfterCrash</A></B>(<A HREF="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBAdapter.html?is-external=true" title="class or interface in org.eclipse.net4j.db">IDBAdapter</A> dbAdapter, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</A> connection)</CODE> |
| |
| <BR> |
| Return the maximum object id used in the store.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#setProperties(java.util.Map)">setProperties</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> properties)</CODE> |
| |
| <BR> |
| Set configuration properties for this mapping strategy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#setStore(org.eclipse.emf.cdo.server.db.IDBStore)">setStore</A></B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStore.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStore</A> dbStore)</CODE> |
| |
| <BR> |
| Set the store to which this MappingStrategy instance belongs.</TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="PROP_MAX_TABLE_NAME_LENGTH"><!-- --></A><H3> |
| PROP_MAX_TABLE_NAME_LENGTH</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>PROP_MAX_TABLE_NAME_LENGTH</B></PRE> |
| <DL> |
| <DD>Name of the integer property that configures the maximum length for table names. A value of zero indicates the |
| value of the <A HREF="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBAdapter.html?is-external=true#getMaxTableNameLength()" title="class or interface in org.eclipse.net4j.db"><CODE>db adapter</CODE></A> to be used. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy.PROP_MAX_TABLE_NAME_LENGTH">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PROP_MAX_FIELD_NAME_LENGTH"><!-- --></A><H3> |
| PROP_MAX_FIELD_NAME_LENGTH</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>PROP_MAX_FIELD_NAME_LENGTH</B></PRE> |
| <DL> |
| <DD>Name of the integer property that configures the maximum length for column names. A value of zero indicates the |
| value of the <A HREF="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBAdapter.html?is-external=true#getMaxFieldNameLength()" title="class or interface in org.eclipse.net4j.db"><CODE>db adapter</CODE></A> to be used. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy.PROP_MAX_FIELD_NAME_LENGTH">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PROP_TABLE_NAME_PREFIX"><!-- --></A><H3> |
| PROP_TABLE_NAME_PREFIX</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>PROP_TABLE_NAME_PREFIX</B></PRE> |
| <DL> |
| <DD>Name of the String property that specifies a common prefix for table names. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy.PROP_TABLE_NAME_PREFIX">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PROP_QUALIFIED_NAMES"><!-- --></A><H3> |
| PROP_QUALIFIED_NAMES</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>PROP_QUALIFIED_NAMES</B></PRE> |
| <DL> |
| <DD>Name of the boolean property that configures whether the table names are made of simple class names or of qualified |
| class names. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy.PROP_QUALIFIED_NAMES">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PROP_FORCE_NAMES_WITH_ID"><!-- --></A><H3> |
| PROP_FORCE_NAMES_WITH_ID</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>PROP_FORCE_NAMES_WITH_ID</B></PRE> |
| <DL> |
| <DD>Name of the boolean property that configures whether table names and column names are always suffixed with the |
| internal DBID or only in cases where generated names violate the naming constraints of the underlying backend. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy.PROP_FORCE_NAMES_WITH_ID">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PROP_OBJECT_TYPE_CACHE_SIZE"><!-- --></A><H3> |
| PROP_OBJECT_TYPE_CACHE_SIZE</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>PROP_OBJECT_TYPE_CACHE_SIZE</B></PRE> |
| <DL> |
| <DD>Name of the integer property that configures the size of the object type in-memory cache. Possible configuration |
| values are: |
| <ul> |
| <li>0 (zero). Don't use memory caching. |
| <li>>0. Use memory caching with the cache size given. |
| </ul> |
| Default is a memory cache size of 10,000,000. |
| <p> |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy.PROP_OBJECT_TYPE_CACHE_SIZE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PROP_COLUMN_TYPE_MODIFIER"><!-- --></A><H3> |
| PROP_COLUMN_TYPE_MODIFIER</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>PROP_COLUMN_TYPE_MODIFIER</B></PRE> |
| <DL> |
| <DD>Name of a String property that specifies the name of a <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ColumnTypeModifier.html" title="class in org.eclipse.emf.cdo.server.db.mapping"><CODE>column type modifier</CODE></A>. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.2</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy.PROP_COLUMN_TYPE_MODIFIER">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getStore()"><!-- --></A><H3> |
| getStore</H3> |
| <PRE> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStore.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStore</A> <B>getStore</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the store, this MappingStrategy instance belongs to.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStore(org.eclipse.emf.cdo.server.db.IDBStore)"><!-- --></A><H3> |
| setStore</H3> |
| <PRE> |
| void <B>setStore</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStore.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStore</A> dbStore)</PRE> |
| <DL> |
| <DD>Set the store to which this MappingStrategy instance belongs. Should only be called by the <CODE>DBStore</CODE>, and |
| only once to initialize the connection between <CODE>DBStore</CODE> and mapping strategy. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>dbStore</CODE> - the DBStore instance to which this MappingStrategy instance belongs.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createValueMapping(org.eclipse.emf.ecore.EStructuralFeature)"><!-- --></A><H3> |
| createValueMapping</H3> |
| <PRE> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping</A> <B>createValueMapping</B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</PRE> |
| <DL> |
| <DD>Factory for value mappings of single-valued attributes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>feature</CODE> - the feature for which a mapping should be created. It must hold <code>feature.isMany() == false</code>. |
| <DT><B>Returns:</B><DD>the mapping created.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createListMapping(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EStructuralFeature)"><!-- --></A><H3> |
| createListMapping</H3> |
| <PRE> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IListMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IListMapping</A> <B>createListMapping</B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> containingClass, |
| <A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</PRE> |
| <DL> |
| <DD>Factory for value mappings of multi-valued-attributes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>containingClass</CODE> - the class containing the feature.<DD><CODE>feature</CODE> - the feature for which a mapping should be created. It must hold <code>feature.isMany() == true</code>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTableName(org.eclipse.emf.ecore.ENamedElement)"><!-- --></A><H3> |
| getTableName</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getTableName</B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/ENamedElement.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">ENamedElement</A> element)</PRE> |
| <DL> |
| <DD>Create a suitable table name which can be used to map the given element. Should only be called by mapping classes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>element</CODE> - the element for which the name should be created. It must hold: |
| <code>element instanceof EClass || element instanceof EPackage</code>. |
| <DT><B>Returns:</B><DD>the created table name. It is guaranteed that the table name is compatible with the chosen database.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTableName(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EStructuralFeature)"><!-- --></A><H3> |
| getTableName</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getTableName</B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> containingClass, |
| <A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</PRE> |
| <DL> |
| <DD>Create a suitable table name which can be used to map the given element. Should only be called by mapping classes. |
| Should only be called by mapping classes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>containingClass</CODE> - the class containeng the feature.<DD><CODE>feature</CODE> - the feature for which the table name should be created. |
| <DT><B>Returns:</B><DD>the created table name. It is guaranteed that the table name is compatible with the chosen database.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFieldName(org.eclipse.emf.ecore.EStructuralFeature)"><!-- --></A><H3> |
| getFieldName</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getFieldName</B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</A> feature)</PRE> |
| <DL> |
| <DD>Create a suitable column name which can be used to map the given element. Should only be called by mapping classes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>feature</CODE> - the feature for which the column name should be created. |
| <DT><B>Returns:</B><DD>the created column name. It is guaranteed that the name is compatible with the chosen database.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createMapping(java.sql.Connection, org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageUnit[], org.eclipse.net4j.util.om.monitor.OMMonitor)"><!-- --></A><H3> |
| createMapping</H3> |
| <PRE> |
| void <B>createMapping</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</A> connection, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/spi/common/model/InternalCDOPackageUnit.html" title="interface in org.eclipse.emf.cdo.spi.common.model">InternalCDOPackageUnit</A>[] packageUnits, |
| <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/om/monitor/OMMonitor.html?is-external=true" title="class or interface in org.eclipse.net4j.util.om.monitor">OMMonitor</A> monitor)</PRE> |
| <DL> |
| <DD>Create and initialize the mapping infrastructure for the given packages. Should be called from the DBStore or the |
| DBStoreAccessor. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>connection</CODE> - the connection to use.<DD><CODE>packageUnits</CODE> - the packages whose elements should be mapped.<DD><CODE>monitor</CODE> - the monitor to report progress.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeMapping(java.sql.Connection, org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageUnit[])"><!-- --></A><H3> |
| removeMapping</H3> |
| <PRE> |
| void <B>removeMapping</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</A> connection, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/spi/common/model/InternalCDOPackageUnit.html" title="interface in org.eclipse.emf.cdo.spi.common.model">InternalCDOPackageUnit</A>[] packageUnits)</PRE> |
| <DL> |
| <DD>Remove the mapping infrastructure for the given packages. Should be called from the DBStore or the DBStoreAccessor. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>connection</CODE> - the connection to use.<DD><CODE>packageUnits</CODE> - the packages for which the mappings should be removed<DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getClassMapping(org.eclipse.emf.ecore.EClass)"><!-- --></A><H3> |
| getClassMapping</H3> |
| <PRE> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IClassMapping</A> <B>getClassMapping</B>(<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> eClass)</PRE> |
| <DL> |
| <DD>Look up an existing class mapping for the given class. Before this method is called, the class mapping must have |
| been initialized by calling <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#createMapping(java.sql.Connection, org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageUnit[], org.eclipse.net4j.util.om.monitor.OMMonitor)"><CODE>createMapping(Connection, InternalCDOPackageUnit[], OMMonitor)</CODE></A> on its |
| containing package. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>eClass</CODE> - the class to look up. |
| <DT><B>Returns:</B><DD>the class mapping.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getClassMappings()"><!-- --></A><H3> |
| getClassMappings</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A>,<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IClassMapping</A>> <B>getClassMappings</B>()</PRE> |
| <DL> |
| <DD>Returns all class mappings of this strategy. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getClassMappings(boolean)"><!-- --></A><H3> |
| getClassMappings</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A>,<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IClassMapping</A>> <B>getClassMappings</B>(boolean createOnDemand)</PRE> |
| <DL> |
| <DD>Returns all class mappings of this strategy. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasDeltaSupport()"><!-- --></A><H3> |
| hasDeltaSupport</H3> |
| <PRE> |
| boolean <B>hasDeltaSupport</B>()</PRE> |
| <DL> |
| <DD>Query if this mapping supports revision deltas. <br> |
| If this method returns <code>true</code>, it is guaranteed that all class mappings returned by |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getClassMapping(org.eclipse.emf.ecore.EClass)"><CODE>getClassMapping(EClass)</CODE></A> implement <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMappingDeltaSupport.html" title="interface in org.eclipse.emf.cdo.server.db.mapping"><CODE>IClassMappingDeltaSupport</CODE></A>. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD><code>true</code> if revision deltas are supported, <code>false</code> else.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasAuditSupport()"><!-- --></A><H3> |
| hasAuditSupport</H3> |
| <PRE> |
| boolean <B>hasAuditSupport</B>()</PRE> |
| <DL> |
| <DD>Query if this mapping supports audits. <br> |
| If this method returns <code>true</code>, it is guaranteed that all class mappings returned by |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html#getClassMapping(org.eclipse.emf.ecore.EClass)"><CODE>getClassMapping(EClass)</CODE></A> implement <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IClassMappingAuditSupport.html" title="interface in org.eclipse.emf.cdo.server.db.mapping"><CODE>IClassMappingAuditSupport</CODE></A>. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD><code>true</code> if audits are supported, <code>false</code> else.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasBranchingSupport()"><!-- --></A><H3> |
| hasBranchingSupport</H3> |
| <PRE> |
| boolean <B>hasBranchingSupport</B>()</PRE> |
| <DL> |
| <DD>Query if this mapping supports branches. <br> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD><code>true</code> if branches are supported, <code>false</code> else.<DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="queryResources(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.server.IStoreAccessor.QueryResourcesContext)"><!-- --></A><H3> |
| queryResources</H3> |
| <PRE> |
| void <B>queryResources</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/IStoreAccessor.QueryResourcesContext.html" title="interface in org.eclipse.emf.cdo.server">IStoreAccessor.QueryResourcesContext</A> context)</PRE> |
| <DL> |
| <DD>Executes a resource query. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>accessor</CODE> - the accessor to use.<DD><CODE>context</CODE> - the context from which the query parameters are read and to which the result is written.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="queryXRefs(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.server.IStoreAccessor.QueryXRefsContext)"><!-- --></A><H3> |
| queryXRefs</H3> |
| <PRE> |
| void <B>queryXRefs</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/IStoreAccessor.QueryXRefsContext.html" title="interface in org.eclipse.emf.cdo.server">IStoreAccessor.QueryXRefsContext</A> context)</PRE> |
| <DL> |
| <DD>Executes a cross reference query. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>accessor</CODE> - the accessor to use.<DD><CODE>context</CODE> - the context from which the query parameters are read and to which the result is written.<DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readObjectType(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.common.id.CDOID)"><!-- --></A><H3> |
| readObjectType</H3> |
| <PRE> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/model/CDOClassifierRef.html" title="class in org.eclipse.emf.cdo.common.model">CDOClassifierRef</A> <B>readObjectType</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/id/CDOID.html" title="interface in org.eclipse.emf.cdo.common.id">CDOID</A> id)</PRE> |
| <DL> |
| <DD>Read the type (i.e. class) of the object referred to by a given ID. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>accessor</CODE> - the accessor to use to look up the type.<DD><CODE>id</CODE> - the ID of the object for which the type is to be determined. |
| <DT><B>Returns:</B><DD>the type of the object.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readObjectIDs(org.eclipse.emf.cdo.server.db.IDBStoreAccessor)"><!-- --></A><H3> |
| readObjectIDs</H3> |
| <PRE> |
| <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/collection/CloseableIterator.html?is-external=true" title="class or interface in org.eclipse.net4j.util.collection">CloseableIterator</A><<A HREF="../../../../../../../org/eclipse/emf/cdo/common/id/CDOID.html" title="interface in org.eclipse.emf.cdo.common.id">CDOID</A>> <B>readObjectIDs</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor)</PRE> |
| <DL> |
| <DD>Get an iterator over all instances of objects in the store. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>accessor</CODE> - the accessor to use. |
| <DT><B>Returns:</B><DD>the iterator.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="repairAfterCrash(org.eclipse.net4j.db.IDBAdapter, java.sql.Connection)"><!-- --></A><H3> |
| repairAfterCrash</H3> |
| <PRE> |
| void <B>repairAfterCrash</B>(<A HREF="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBAdapter.html?is-external=true" title="class or interface in org.eclipse.net4j.db">IDBAdapter</A> dbAdapter, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</A> connection)</PRE> |
| <DL> |
| <DD>Return the maximum object id used in the store. This is used by the DBStore if a previous crash is discovered |
| during the startup process. Should only be called by the DBStore and only during startup. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>dbAdapter</CODE> - the dbAdapter to use to access the database<DD><CODE>connection</CODE> - the connection to use to access the database<DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getProperties()"><!-- --></A><H3> |
| getProperties</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getProperties</B>()</PRE> |
| <DL> |
| <DD>Returns the configuration properties of this mapping strategy. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setProperties(java.util.Map)"><!-- --></A><H3> |
| setProperties</H3> |
| <PRE> |
| void <B>setProperties</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> properties)</PRE> |
| <DL> |
| <DD>Set configuration properties for this mapping strategy. Should only be called by the factory creating the mapping |
| strategy instance. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>properties</CODE> - the configuration properties to set.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="handleRevisions(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.ecore.EClass, org.eclipse.emf.cdo.common.branch.CDOBranch, long, boolean, org.eclipse.emf.cdo.common.revision.CDORevisionHandler)"><!-- --></A><H3> |
| handleRevisions</H3> |
| <PRE> |
| void <B>handleRevisions</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="http://download.eclipse.org/modeling/emf/emf/javadoc/2.8.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</A> eClass, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/branch/CDOBranch.html" title="interface in org.eclipse.emf.cdo.common.branch">CDOBranch</A> branch, |
| long timeStamp, |
| boolean exactTime, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/revision/CDORevisionHandler.html" title="interface in org.eclipse.emf.cdo.common.revision">CDORevisionHandler</A> handler)</PRE> |
| <DL> |
| <DD>Passes all revisions of the store to the <A HREF="../../../../../../../org/eclipse/emf/cdo/common/revision/CDORevisionHandler.html" title="interface in org.eclipse.emf.cdo.common.revision"><CODE>handler</CODE></A> if <b>all</b> of the following |
| conditions are met: |
| <ul> |
| <li>The <code>eClass</code> parameter is <code>null</code> or equal to <code>revision.getEClass()</code>. |
| <li>The <code>branch</code> parameter is <code>null</code> or equal to <code>revision.getBranch()</code>. |
| <li>The <code>timeStamp</code> parameter is <A HREF="../../../../../../../org/eclipse/emf/cdo/common/branch/CDOBranchPoint.html#UNSPECIFIED_DATE"><CODE>CDOBranchPoint.UNSPECIFIED_DATE</CODE></A> or equal to |
| <code>revision.getTimeStamp()</code>. |
| </ul> |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readChangeSet(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.net4j.util.om.monitor.OMMonitor, org.eclipse.emf.cdo.spi.common.commit.CDOChangeSetSegment[])"><!-- --></A><H3> |
| readChangeSet</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="../../../../../../../org/eclipse/emf/cdo/common/id/CDOID.html" title="interface in org.eclipse.emf.cdo.common.id">CDOID</A>> <B>readChangeSet</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/om/monitor/OMMonitor.html?is-external=true" title="class or interface in org.eclipse.net4j.util.om.monitor">OMMonitor</A> monitor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/spi/common/commit/CDOChangeSetSegment.html" title="class in org.eclipse.emf.cdo.spi.common.commit">CDOChangeSetSegment</A>[] segments)</PRE> |
| <DL> |
| <DD>Returns a set of CDOIDs that have at least one revision in any of the passed branches and time ranges. |
| DetachedCDORevisions must also be considered! |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../../org/eclipse/emf/cdo/server/IStoreAccessor.html#readChangeSet(org.eclipse.net4j.util.om.monitor.OMMonitor, org.eclipse.emf.cdo.spi.common.commit.CDOChangeSetSegment...)"><CODE>IStoreAccessor.readChangeSet(OMMonitor, CDOChangeSetSegment...)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rawExport(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.common.protocol.CDODataOutput, int, int, long, long)"><!-- --></A><H3> |
| rawExport</H3> |
| <PRE> |
| void <B>rawExport</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/protocol/CDODataOutput.html" title="interface in org.eclipse.emf.cdo.common.protocol">CDODataOutput</A> out, |
| int lastReplicatedBranchID, |
| int lastBranchID, |
| long lastReplicatedCommitTime, |
| long lastCommitTime) |
| throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rawImport(org.eclipse.emf.cdo.server.db.IDBStoreAccessor, org.eclipse.emf.cdo.common.protocol.CDODataInput, long, long, org.eclipse.net4j.util.om.monitor.OMMonitor)"><!-- --></A><H3> |
| rawImport</H3> |
| <PRE> |
| void <B>rawImport</B>(<A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/IDBStoreAccessor.html" title="interface in org.eclipse.emf.cdo.server.db">IDBStoreAccessor</A> accessor, |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/common/protocol/CDODataInput.html" title="interface in org.eclipse.emf.cdo.common.protocol">CDODataInput</A> in, |
| long fromCommitTime, |
| long toCommitTime, |
| <A HREF="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/om/monitor/OMMonitor.html?is-external=true" title="class or interface in org.eclipse.net4j.util.om.monitor">OMMonitor</A> monitor) |
| throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getListJoin(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| getListJoin</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getListJoin</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> attrTable, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> listTable)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>4.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IMappingStrategy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IListMappingDeltaSupport.html" title="interface in org.eclipse.emf.cdo.server.db.mapping"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IMappingStrategy.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| <i>Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.</i> |
| </BODY> |
| </HTML> |