blob: 1f0a51f9ecb8634f0b521b8db03d414df7da3a6a [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>
<!-- Generated by javadoc (1.8.0_112) on Mon Oct 14 11:36:20 MSK 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.apache.cayenne.access.types (cayenne-doc: Cayenne Documentation 4.0.2 API)</title>
<meta name="date" content="2019-10-14">
<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="org.apache.cayenne.access.types (cayenne-doc: Cayenne Documentation 4.0.2 API)";
}
}
catch(err) {
}
//-->
</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 class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</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><a href="../../../../../org/apache/cayenne/access/translator/select/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../../../../org/apache/cayenne/access/util/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/cayenne/access/types/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.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>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;org.apache.cayenne.access.types</h1>
<div class="docSummary">
<div class="block">Defines an extendable mechanism to map Java types to JDBC types.</div>
</div>
<p>See:&nbsp;<a href="#package.description">Description</a></p>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ExtendedType.html" title="interface in org.apache.cayenne.access.types">ExtendedType</a>&lt;T&gt;</td>
<td class="colLast">
<div class="block">Defines methods to read Java objects from JDBC ResultSets and write as parameters of PreparedStatements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ExtendedTypeFactory.html" title="interface in org.apache.cayenne.access.types">ExtendedTypeFactory</a></td>
<td class="colLast">
<div class="block">ExtendedType factory interface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ValueObjectType.html" title="interface in org.apache.cayenne.access.types">ValueObjectType</a>&lt;V,T&gt;</td>
<td class="colLast">
<div class="block">Descriptor and serialization helper for custom value objects that can be safely stored in the DB.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types">ValueObjectTypeRegistry</a></td>
<td class="colLast">
<div class="block">Registry of user-defined descriptors of custom value objects' classes.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/BigDecimalType.html" title="class in org.apache.cayenne.access.types">BigDecimalType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/BigIntegerValueType.html" title="class in org.apache.cayenne.access.types">BigIntegerValueType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/BooleanType.html" title="class in org.apache.cayenne.access.types">BooleanType</a></td>
<td class="colLast">
<div class="block">Handles <code>java.lang.Boolean</code> mapping.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ByteArrayType.html" title="class in org.apache.cayenne.access.types">ByteArrayType</a></td>
<td class="colLast">
<div class="block">Handles <code>byte[]</code>, mapping it as either of JDBC types - BLOB or
(VAR)BINARY.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ByteType.html" title="class in org.apache.cayenne.access.types">ByteType</a></td>
<td class="colLast">
<div class="block">Handles <code>java.lang.Byte</code> type mapping.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/CalendarType.html" title="class in org.apache.cayenne.access.types">CalendarType</a>&lt;T extends <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a>&gt;</td>
<td class="colLast">
<div class="block">ExtendedType that handles <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>Calendar</code></a> fields.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/CharacterValueType.html" title="class in org.apache.cayenne.access.types">CharacterValueType</a></td>
<td class="colLast">
<div class="block">This is char and Character type mapped to zero or one char String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/CharType.html" title="class in org.apache.cayenne.access.types">CharType</a></td>
<td class="colLast">
<div class="block">Handles <code>java.lang.String</code>, mapping it as either of JDBC types -
CLOB or (VAR)CHAR.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/DateType.html" title="class in org.apache.cayenne.access.types">DateType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/DefaultValueObjectTypeRegistry.html" title="class in org.apache.cayenne.access.types">DefaultValueObjectTypeRegistry</a></td>
<td class="colLast">
<div class="block">Default implementation of <a href="../../../../../org/apache/cayenne/access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types"><code>ValueObjectTypeRegistry</code></a></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/DoubleType.html" title="class in org.apache.cayenne.access.types">DoubleType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/EnumType.html" title="class in org.apache.cayenne.access.types">EnumType</a>&lt;T extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;T&gt;&gt;</td>
<td class="colLast">
<div class="block">An ExtendedType that handles an enum class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/EnumTypeFactory.html" title="class in org.apache.cayenne.access.types">EnumTypeFactory</a></td>
<td class="colLast">
<div class="block">ExtendedTypeFactory for handling Enum types.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ExtendedEnumType.html" title="class in org.apache.cayenne.access.types">ExtendedEnumType</a>&lt;T extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;T&gt;&gt;</td>
<td class="colLast">
<div class="block">An ExtendedType that handles a Java Enum based upon the Cayenne ExtendedEnumeration
interface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ExtendedTypeMap.html" title="class in org.apache.cayenne.access.types">ExtendedTypeMap</a></td>
<td class="colLast">
<div class="block">Stores ExtendedTypes, implementing an algorithm to determine the right type
for a given Java class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/FloatType.html" title="class in org.apache.cayenne.access.types">FloatType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/IntegerType.html" title="class in org.apache.cayenne.access.types">IntegerType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/LongType.html" title="class in org.apache.cayenne.access.types">LongType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ObjectType.html" title="class in org.apache.cayenne.access.types">ObjectType</a></td>
<td class="colLast">
<div class="block">This is a default ExtendedType that relies on JDBC driver to determine the result type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ShortType.html" title="class in org.apache.cayenne.access.types">ShortType</a></td>
<td class="colLast">
<div class="block">Handles <code>java.lang.Short</code> type mapping.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/TimestampType.html" title="class in org.apache.cayenne.access.types">TimestampType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/TimeType.html" title="class in org.apache.cayenne.access.types">TimeType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/UtilDateType.html" title="class in org.apache.cayenne.access.types">UtilDateType</a></td>
<td class="colLast">
<div class="block">Maps <code>java.util.Date</code> to any of the three database date/time types: TIME,
DATE, TIMESTAMP.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/UUIDValueType.html" title="class in org.apache.cayenne.access.types">UUIDValueType</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/ValueObjectTypeFactory.html" title="class in org.apache.cayenne.access.types">ValueObjectTypeFactory</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cayenne/access/types/VoidType.html" title="class in org.apache.cayenne.access.types">VoidType</a></td>
<td class="colLast">
<div class="block">A noop type that is sometimes useful to suppress extended types operations.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<a name="package.description">
<!-- -->
</a>
<h2 title="Package org.apache.cayenne.access.types Description">Package org.apache.cayenne.access.types Description</h2>
<div class="block">Defines an extendable mechanism to map Java types to JDBC types.</div>
</div>
<!-- ======= 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 class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</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><a href="../../../../../org/apache/cayenne/access/translator/select/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../../../../org/apache/cayenne/access/util/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/cayenne/access/types/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.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>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2019 <a href="http://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p>
</body>
</html>