blob: e58420bdbcd79f7843af169d141efdda1c6018a2 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>AbstractTypeMapping (CDO Model Repository Documentation)</title>
<meta name="date" content="">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractTypeMapping (CDO Model Repository Documentation)";
}
}
catch(err) {
}
//-->
var methods = {"i0":42,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":6,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractTypeMapping.html">Use</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMappingFactory.html" title="class in org.eclipse.emf.cdo.server.db.mapping"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html" target="_top">Frames</a></li>
<li><a href="AbstractTypeMapping.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.emf.cdo.server.db.mapping</div>
<h2 title="Class AbstractTypeMapping" class="title">Class AbstractTypeMapping</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.emf.cdo.server.db.mapping.AbstractTypeMapping</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractTypeMapping</span>
extends java.lang.Object
implements <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping</a></pre>
<div class="block">This is a default implementation for the <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping"><code>ITypeMapping</code></a> interface which provides default behavor for all common
types. Implementors should provide a constructor which the factory (see below) can use and implement
<a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getResultSetValue-java.sql.ResultSet-"><code>getResultSetValue(ResultSet)</code></a>. If needed, <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#doSetValue-java.sql.PreparedStatement-int-java.lang.Object-"><code>doSetValue(PreparedStatement, int, Object)</code></a> can also be
overridden as a counterpart to <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getResultSetValue-java.sql.ResultSet-"><code>getResultSetValue(ResultSet)</code></a>. Finally, an implementor should also implement a
suitable factory for the <code>TypeMappingRegistry</code> and register it either manually using
<a href="../../../../../../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/container/IManagedContainer.html?is-external=true#registerFactory-org.eclipse.net4j.util.factory.IFactory-" title="class or interface in org.eclipse.net4j.util.container"><code>IManagedContainer.registerFactory(org.eclipse.net4j.util.factory.IFactory)</code></a> or using the Net4j Extension Point
<code>factories</code>.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Eike Stepper, Stefan Winkler</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.emf.cdo.server.db.mapping.ITypeMapping">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.emf.cdo.server.db.mapping.<a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping</a></h3>
<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.Descriptor.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping.Descriptor</a>, <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.Factory.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping.Factory</a>, <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.Provider.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping.Provider</a>, <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.Registry.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">ITypeMapping.Registry</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#AbstractTypeMapping--">AbstractTypeMapping</a></span>()</code>
<div class="block">Create a new type mapping</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#createDBField-org.eclipse.net4j.db.ddl.IDBTable-">createDBField</a></span>(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBTable.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBTable</a>&nbsp;table)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#createDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">createDBField</a></span>(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBTable.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBTable</a>&nbsp;table,
java.lang.String&nbsp;fieldName)</code>
<div class="block">Creates the DBField and adds it to the given table.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#doSetValue-java.sql.PreparedStatement-int-java.lang.Object-">doSetValue</a></span>(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index,
java.lang.Object&nbsp;value)</code>
<div class="block">Implementors could override this method to convert a given value to the database representation and set it to the
prepared statement.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getDBLength-org.eclipse.net4j.db.DBType-">getDBLength</a></span>(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/DBType.html?is-external=true" title="class or interface in org.eclipse.net4j.db">DBType</a>&nbsp;type)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/DBType.html?is-external=true" title="class or interface in org.eclipse.net4j.db">DBType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getDBType--">getDBType</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getDefaultValue--">getDefaultValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.11/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getFeature--">getFeature</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBField.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBField</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getField--">getField</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IMappingStrategy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getMappingStrategy--">getMappingStrategy</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected abstract java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getResultSetValue-java.sql.ResultSet-">getResultSetValue</a></span>(java.sql.ResultSet&nbsp;resultSet)</code>
<div class="block">Subclasses should implement this method to read the value from the result set.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getRevisionValue-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">getRevisionValue</a></span>(<a href="../../../../../../../org/eclipse/emf/cdo/spi/common/revision/InternalCDORevision.html" title="interface in org.eclipse.emf.cdo.spi.common.revision">InternalCDORevision</a>&nbsp;revision)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#getSqlType--">getSqlType</a></span>()</code>
<div class="block">Returns the SQL type of this TypeMapping.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#readValue-java.sql.ResultSet-">readValue</a></span>(java.sql.ResultSet&nbsp;resultSet)</code>
<div class="block">Read the value from a <code>ResultSet</code> and convert it from the DB to the CDO representation.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#readValueToRevision-java.sql.ResultSet-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">readValueToRevision</a></span>(java.sql.ResultSet&nbsp;resultSet,
<a href="../../../../../../../org/eclipse/emf/cdo/spi/common/revision/InternalCDORevision.html" title="interface in org.eclipse.emf.cdo.spi.common.revision">InternalCDORevision</a>&nbsp;revision)</code>
<div class="block">Read a value from a <code>ResultSet</code>, convert it from the DB to the CDO representation and set it to the feature
of the revision.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#setDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">setDBField</a></span>(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBTable.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBTable</a>&nbsp;table,
java.lang.String&nbsp;fieldName)</code>
<div class="block">Sets the DBField.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#setDBType-org.eclipse.net4j.db.DBType-">setDBType</a></span>(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/DBType.html?is-external=true" title="class or interface in org.eclipse.net4j.db">DBType</a>&nbsp;dbType)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#setDefaultValue-java.sql.PreparedStatement-int-">setDefaultValue</a></span>(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index)</code>
<div class="block">Set the feature's default value to the JDBC <a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBPreparedStatement.html?is-external=true" title="class or interface in org.eclipse.net4j.db"><code>IDBPreparedStatement</code></a> using an appropriate <code>setXxx</code>
method.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#setFeature-org.eclipse.emf.ecore.EStructuralFeature-">setFeature</a></span>(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.11/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</a>&nbsp;feature)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#setMappingStrategy-org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy-">setMappingStrategy</a></span>(<a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IMappingStrategy</a>&nbsp;mappingStrategy)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#setValue-java.sql.PreparedStatement-int-java.lang.Object-">setValue</a></span>(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index,
java.lang.Object&nbsp;value)</code>
<div class="block">Set the given value to the JDBC <a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBPreparedStatement.html?is-external=true" title="class or interface in org.eclipse.net4j.db"><code>IDBPreparedStatement</code></a> using an appropriate <code>setXxx</code> method.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#setValueFromRevision-java.sql.PreparedStatement-int-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">setValueFromRevision</a></span>(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index,
<a href="../../../../../../../org/eclipse/emf/cdo/spi/common/revision/InternalCDORevision.html" title="interface in org.eclipse.emf.cdo.spi.common.revision">InternalCDORevision</a>&nbsp;revision)</code>
<div class="block">Set a value of the given revision to the JDBC <a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBPreparedStatement.html?is-external=true" title="class or interface in org.eclipse.net4j.db"><code>IDBPreparedStatement</code></a> using an appropriate <code>setXxx</code>
method.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractTypeMapping--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractTypeMapping</h4>
<pre>public&nbsp;AbstractTypeMapping()</pre>
<div class="block">Create a new type mapping</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMappingStrategy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMappingStrategy</h4>
<pre>public final&nbsp;<a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IMappingStrategy</a>&nbsp;getMappingStrategy()</pre>
</li>
</ul>
<a name="setMappingStrategy-org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMappingStrategy</h4>
<pre>public final&nbsp;void&nbsp;setMappingStrategy(<a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/IMappingStrategy.html" title="interface in org.eclipse.emf.cdo.server.db.mapping">IMappingStrategy</a>&nbsp;mappingStrategy)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setMappingStrategy-org.eclipse.emf.cdo.server.db.mapping.IMappingStrategy-">setMappingStrategy</a></code>&nbsp;in interface&nbsp;<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></dd>
</dl>
</li>
</ul>
<a name="getFeature--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFeature</h4>
<pre>public final&nbsp;<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.11/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</a>&nbsp;getFeature()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#getFeature--">getFeature</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The feature which is associated with this mapping.</dd>
</dl>
</li>
</ul>
<a name="setFeature-org.eclipse.emf.ecore.EStructuralFeature-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFeature</h4>
<pre>public final&nbsp;void&nbsp;setFeature(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.11/org/eclipse/emf/ecore/EStructuralFeature.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EStructuralFeature</a>&nbsp;feature)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setFeature-org.eclipse.emf.ecore.EStructuralFeature-">setFeature</a></code>&nbsp;in interface&nbsp;<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></dd>
</dl>
</li>
</ul>
<a name="setDBType-org.eclipse.net4j.db.DBType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDBType</h4>
<pre>public final&nbsp;void&nbsp;setDBType(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/DBType.html?is-external=true" title="class or interface in org.eclipse.net4j.db">DBType</a>&nbsp;dbType)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setDBType-org.eclipse.net4j.db.DBType-">setDBType</a></code>&nbsp;in interface&nbsp;<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></dd>
</dl>
</li>
</ul>
<a name="getDBType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDBType</h4>
<pre>public&nbsp;<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/DBType.html?is-external=true" title="class or interface in org.eclipse.net4j.db">DBType</a>&nbsp;getDBType()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#getDBType--">getDBType</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The db type which is associated with this mapping.</dd>
</dl>
</li>
</ul>
<a name="setValueFromRevision-java.sql.PreparedStatement-int-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValueFromRevision</h4>
<pre>public final&nbsp;void&nbsp;setValueFromRevision(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index,
<a href="../../../../../../../org/eclipse/emf/cdo/spi/common/revision/InternalCDORevision.html" title="interface in org.eclipse.emf.cdo.spi.common.revision">InternalCDORevision</a>&nbsp;revision)
throws java.sql.SQLException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setValueFromRevision-java.sql.PreparedStatement-int-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">ITypeMapping</a></code></span></div>
<div class="block">Set a value of the given revision to the JDBC <a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBPreparedStatement.html?is-external=true" title="class or interface in org.eclipse.net4j.db"><code>IDBPreparedStatement</code></a> using an appropriate <code>setXxx</code>
method. The feature from which the value is taken is determined by <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#getFeature--"><code>ITypeMapping.getFeature()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setValueFromRevision-java.sql.PreparedStatement-int-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">setValueFromRevision</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stmt</code> - the prepared statement to set the value</dd>
<dd><code>index</code> - the index to use for the <code>setXxx</code> method.</dd>
<dd><code>revision</code> - the revision to get the value to set from.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if the <code>setXxx</code> throws it.</dd>
</dl>
</li>
</ul>
<a name="setDefaultValue-java.sql.PreparedStatement-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultValue</h4>
<pre>public final&nbsp;void&nbsp;setDefaultValue(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index)
throws java.sql.SQLException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setDefaultValue-java.sql.PreparedStatement-int-">ITypeMapping</a></code></span></div>
<div class="block">Set the feature's default value to the JDBC <a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBPreparedStatement.html?is-external=true" title="class or interface in org.eclipse.net4j.db"><code>IDBPreparedStatement</code></a> using an appropriate <code>setXxx</code>
method.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setDefaultValue-java.sql.PreparedStatement-int-">setDefaultValue</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stmt</code> - the prepared statement to set the value</dd>
<dd><code>index</code> - the index to use for the <code>setXxx</code> method.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if the <code>setXxx</code> throws it.</dd>
</dl>
</li>
</ul>
<a name="setValue-java.sql.PreparedStatement-int-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public final&nbsp;void&nbsp;setValue(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index,
java.lang.Object&nbsp;value)
throws java.sql.SQLException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setValue-java.sql.PreparedStatement-int-java.lang.Object-">ITypeMapping</a></code></span></div>
<div class="block">Set the given value to the JDBC <a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBPreparedStatement.html?is-external=true" title="class or interface in org.eclipse.net4j.db"><code>IDBPreparedStatement</code></a> using an appropriate <code>setXxx</code> method.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setValue-java.sql.PreparedStatement-int-java.lang.Object-">setValue</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stmt</code> - the prepared statement to set the value</dd>
<dd><code>index</code> - the index to use for the <code>setXxx</code> method.</dd>
<dd><code>value</code> - the value to set.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if the <code>setXxx</code> throws it.</dd>
</dl>
</li>
</ul>
<a name="createDBField-org.eclipse.net4j.db.ddl.IDBTable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDBField</h4>
<pre>@Deprecated
public final&nbsp;void&nbsp;createDBField(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBTable.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBTable</a>&nbsp;table)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#createDBField-org.eclipse.net4j.db.ddl.IDBTable-">createDBField</a></code>&nbsp;in interface&nbsp;<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></dd>
</dl>
</li>
</ul>
<a name="createDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDBField</h4>
<pre>public final&nbsp;void&nbsp;createDBField(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBTable.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBTable</a>&nbsp;table,
java.lang.String&nbsp;fieldName)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#createDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">ITypeMapping</a></code></span></div>
<div class="block">Creates the DBField and adds it to the given table. The name of the DBField is explicitly determined by the
corresponding parameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#createDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">createDBField</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>table</code> - the table to add this field to.</dd>
<dd><code>fieldName</code> - the name for the DBField.</dd>
</dl>
</li>
</ul>
<a name="getField--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getField</h4>
<pre>public final&nbsp;<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBField.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBField</a>&nbsp;getField()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#getField--">getField</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The db field which is associated with this mapping.</dd>
</dl>
</li>
</ul>
<a name="setDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDBField</h4>
<pre>public final&nbsp;void&nbsp;setDBField(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/ddl/IDBTable.html?is-external=true" title="class or interface in org.eclipse.net4j.db.ddl">IDBTable</a>&nbsp;table,
java.lang.String&nbsp;fieldName)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">ITypeMapping</a></code></span></div>
<div class="block">Sets the DBField. The name of the DBField is explicitly determined by the corresponding parameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#setDBField-org.eclipse.net4j.db.ddl.IDBTable-java.lang.String-">setDBField</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>table</code> - the table to add this field to.</dd>
<dd><code>fieldName</code> - the name for the DBField.</dd>
</dl>
</li>
</ul>
<a name="readValueToRevision-java.sql.ResultSet-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readValueToRevision</h4>
<pre>public final&nbsp;void&nbsp;readValueToRevision(java.sql.ResultSet&nbsp;resultSet,
<a href="../../../../../../../org/eclipse/emf/cdo/spi/common/revision/InternalCDORevision.html" title="interface in org.eclipse.emf.cdo.spi.common.revision">InternalCDORevision</a>&nbsp;revision)
throws java.sql.SQLException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#readValueToRevision-java.sql.ResultSet-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">ITypeMapping</a></code></span></div>
<div class="block">Read a value from a <code>ResultSet</code>, convert it from the DB to the CDO representation and set it to the feature
of the revision. The feature is determined by getFeature() The resultSet field to read from is determined
automatically by the internal <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#getField--"><code>ITypeMapping.getField()</code></a> name.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#readValueToRevision-java.sql.ResultSet-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">readValueToRevision</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resultSet</code> - the result set to read from</dd>
<dd><code>revision</code> - the revision to which the value should be set.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if reading the value throws an SQLException</dd>
</dl>
</li>
</ul>
<a name="readValue-java.sql.ResultSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readValue</h4>
<pre>public final&nbsp;java.lang.Object&nbsp;readValue(java.sql.ResultSet&nbsp;resultSet)
throws java.sql.SQLException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#readValue-java.sql.ResultSet-">ITypeMapping</a></code></span></div>
<div class="block">Read the value from a <code>ResultSet</code> and convert it from the DB to the CDO representation. The resultSet field
to read from is determined automatically by the internal <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#getField--"><code>ITypeMapping.getField()</code></a> name.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/ITypeMapping.html#readValue-java.sql.ResultSet-">readValue</a></code>&nbsp;in interface&nbsp;<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></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resultSet</code> - the result set to read from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the read value</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if reading the value throws an SQLException</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="getDefaultValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultValue</h4>
<pre>protected&nbsp;java.lang.Object&nbsp;getDefaultValue()</pre>
</li>
</ul>
<a name="getRevisionValue-org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRevisionValue</h4>
<pre>protected final&nbsp;java.lang.Object&nbsp;getRevisionValue(<a href="../../../../../../../org/eclipse/emf/cdo/spi/common/revision/InternalCDORevision.html" title="interface in org.eclipse.emf.cdo.spi.common.revision">InternalCDORevision</a>&nbsp;revision)</pre>
</li>
</ul>
<a name="doSetValue-java.sql.PreparedStatement-int-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doSetValue</h4>
<pre>protected&nbsp;void&nbsp;doSetValue(java.sql.PreparedStatement&nbsp;stmt,
int&nbsp;index,
java.lang.Object&nbsp;value)
throws java.sql.SQLException</pre>
<div class="block">Implementors could override this method to convert a given value to the database representation and set it to the
prepared statement.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stmt</code> - the <a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/IDBPreparedStatement.html?is-external=true" title="class or interface in org.eclipse.net4j.db"><code>IDBPreparedStatement</code></a> which is used for DB access</dd>
<dd><code>index</code> - the parameter index in the statement which should be set</dd>
<dd><code>value</code> - the value of the feature which should be written into the DB</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd>
</dl>
</li>
</ul>
<a name="getSqlType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSqlType</h4>
<pre>protected&nbsp;int&nbsp;getSqlType()</pre>
<div class="block">Returns the SQL type of this TypeMapping. The default implementation considers the type map held by the
<code>meta-data manager</code>. Subclasses may override.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The sql type of this TypeMapping.</dd>
</dl>
</li>
</ul>
<a name="getDBLength-org.eclipse.net4j.db.DBType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDBLength</h4>
<pre>protected&nbsp;int&nbsp;getDBLength(<a href="../../../../../../../../../org.eclipse.net4j.db.doc/javadoc/org/eclipse/net4j/db/DBType.html?is-external=true" title="class or interface in org.eclipse.net4j.db">DBType</a>&nbsp;type)</pre>
</li>
</ul>
<a name="getResultSetValue-java.sql.ResultSet-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getResultSetValue</h4>
<pre>protected abstract&nbsp;java.lang.Object&nbsp;getResultSetValue(java.sql.ResultSet&nbsp;resultSet)
throws java.sql.SQLException</pre>
<div class="block">Subclasses should implement this method to read the value from the result set. Typical implementations should look
similar to this one: <code>resultSet.getString(getField().getName())</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resultSet</code> - the result set to read from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the result value read (this has to be compatible with the <a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html#feature"><code>feature</code></a>.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractTypeMapping.html">Use</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../../org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMappingFactory.html" title="class in org.eclipse.emf.cdo.server.db.mapping"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/eclipse/emf/cdo/server/db/mapping/AbstractTypeMapping.html" target="_top">Frames</a></li>
<li><a href="AbstractTypeMapping.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i class="copyright">Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.<br>All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html</i></small></p>
</body>
</html>