http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/type/package-frame.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/type/package-frame.html b/content/java/develop/javadocs/org/apache/polygene/api/type/package-frame.html index c3fe744..f857f2d 100644 --- a/content/java/develop/javadocs/org/apache/polygene/api/type/package-frame.html +++ b/content/java/develop/javadocs/org/apache/polygene/api/type/package-frame.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.polygene.api.type (Apache Polygene⢠(Java Edition) SDK 3.0-SNAPSHOT)</title> +<title>org.apache.polygene.api.type (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -17,21 +17,22 @@ </ul> <h2 title="Classes">Classes</h2> <ul title="Classes"> +<li><a href="ArrayType.html" title="class in org.apache.polygene.api.type" target="classFrame">ArrayType</a></li> <li><a href="CollectionType.html" title="class in org.apache.polygene.api.type" target="classFrame">CollectionType</a></li> +<li><a href="EntityCompositeType.html" title="class in org.apache.polygene.api.type" target="classFrame">EntityCompositeType</a></li> <li><a href="EnumType.html" title="class in org.apache.polygene.api.type" target="classFrame">EnumType</a></li> +<li><a href="HasAssignableFromType.html" title="class in org.apache.polygene.api.type" target="classFrame">HasAssignableFromType</a></li> +<li><a href="HasAssignableToType.html" title="class in org.apache.polygene.api.type" target="classFrame">HasAssignableToType</a></li> +<li><a href="HasEqualOrAssignableFromType.html" title="class in org.apache.polygene.api.type" target="classFrame">HasEqualOrAssignableFromType</a></li> +<li><a href="HasEqualOrAssignableToType.html" title="class in org.apache.polygene.api.type" target="classFrame">HasEqualOrAssignableToType</a></li> +<li><a href="HasEqualType.html" title="class in org.apache.polygene.api.type" target="classFrame">HasEqualType</a></li> +<li><a href="HasTypesCollectors.html" title="class in org.apache.polygene.api.type" target="classFrame">HasTypesCollectors</a></li> +<li><a href="HasTypesPredicate.html" title="class in org.apache.polygene.api.type" target="classFrame">HasTypesPredicate</a></li> <li><a href="MapType.html" title="class in org.apache.polygene.api.type" target="classFrame">MapType</a></li> -<li><a href="MatchTypeSpecification.html" title="class in org.apache.polygene.api.type" target="classFrame">MatchTypeSpecification</a></li> +<li><a href="StatefulAssociationValueType.html" title="class in org.apache.polygene.api.type" target="classFrame">StatefulAssociationValueType</a></li> <li><a href="ValueCompositeType.html" title="class in org.apache.polygene.api.type" target="classFrame">ValueCompositeType</a></li> <li><a href="ValueType.html" title="class in org.apache.polygene.api.type" target="classFrame">ValueType</a></li> </ul> -<h2 title="Enums">Enums</h2> -<ul title="Enums"> -<li><a href="Serialization.Variant.html" title="enum in org.apache.polygene.api.type" target="classFrame">Serialization.Variant</a></li> -</ul> -<h2 title="Annotation Types">Annotation Types</h2> -<ul title="Annotation Types"> -<li><a href="Serialization.html" title="annotation in org.apache.polygene.api.type" target="classFrame">Serialization</a></li> -</ul> </div> </body> </html>
http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/type/package-summary.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/type/package-summary.html b/content/java/develop/javadocs/org/apache/polygene/api/type/package-summary.html index 7a9b4a9..875b698 100644 --- a/content/java/develop/javadocs/org/apache/polygene/api/type/package-summary.html +++ b/content/java/develop/javadocs/org/apache/polygene/api/type/package-summary.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.polygene.api.type (Apache Polygene⢠(Java Edition) SDK 3.0-SNAPSHOT)</title> +<title>org.apache.polygene.api.type (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="org.apache.polygene.api.type (Apache Polygene\u2122 (Java Edition) SDK 3.0-SNAPSHOT)"; + parent.document.title="org.apache.polygene.api.type (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; } } catch(err) { @@ -103,71 +103,79 @@ </tr> <tbody> <tr class="altColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/CollectionType.html" title="class in org.apache.polygene.api.type">CollectionType</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/ArrayType.html" title="class in org.apache.polygene.api.type">ArrayType</a></td> <td class="colLast"> -<div class="block">Collection ValueType.</div> +<div class="block">Array ValueType.</div> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/EnumType.html" title="class in org.apache.polygene.api.type">EnumType</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/CollectionType.html" title="class in org.apache.polygene.api.type">CollectionType</a></td> <td class="colLast"> -<div class="block">Enum ValueType.</div> +<div class="block">Collection ValueType.</div> </td> </tr> <tr class="altColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/MapType.html" title="class in org.apache.polygene.api.type">MapType</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/EntityCompositeType.html" title="class in org.apache.polygene.api.type">EntityCompositeType</a></td> <td class="colLast"> -<div class="block">Map ValueType.</div> +<div class="block">EntityComposite ValueType.</div> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/MatchTypeSpecification.html" title="class in org.apache.polygene.api.type">MatchTypeSpecification</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/EnumType.html" title="class in org.apache.polygene.api.type">EnumType</a></td> <td class="colLast"> -<div class="block">Match Type Specification for HasTypes.</div> +<div class="block">Enum ValueType.</div> </td> </tr> <tr class="altColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/ValueCompositeType.html" title="class in org.apache.polygene.api.type">ValueCompositeType</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/HasAssignableFromType.html" title="class in org.apache.polygene.api.type">HasAssignableFromType</a><T extends <a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type">HasTypes</a>></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/HasAssignableToType.html" title="class in org.apache.polygene.api.type">HasAssignableToType</a><T extends <a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type">HasTypes</a>></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/HasEqualOrAssignableFromType.html" title="class in org.apache.polygene.api.type">HasEqualOrAssignableFromType</a><T extends <a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type">HasTypes</a>></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/HasEqualOrAssignableToType.html" title="class in org.apache.polygene.api.type">HasEqualOrAssignableToType</a><T extends <a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type">HasTypes</a>></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/HasEqualType.html" title="class in org.apache.polygene.api.type">HasEqualType</a><T extends <a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type">HasTypes</a>></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/HasTypesCollectors.html" title="class in org.apache.polygene.api.type">HasTypesCollectors</a></td> <td class="colLast"> -<div class="block">ValueComposite ValueType.</div> +<div class="block">Collectors for HasTypes.</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/HasTypesPredicate.html" title="class in org.apache.polygene.api.type">HasTypesPredicate</a><T extends <a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type">HasTypes</a>></td> +<td class="colLast"> </td> +</tr> <tr class="rowColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/ValueType.html" title="class in org.apache.polygene.api.type">ValueType</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/MapType.html" title="class in org.apache.polygene.api.type">MapType</a></td> <td class="colLast"> -<div class="block">Base class for types of values in ValueComposites and Properties.</div> +<div class="block">Map ValueType.</div> </td> </tr> -</tbody> -</table> -</li> -<li class="blockList"> -<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> -<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Enum</th> -<th class="colLast" scope="col">Description</th> -</tr> -<tbody> <tr class="altColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/Serialization.Variant.html" title="enum in org.apache.polygene.api.type">Serialization.Variant</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/StatefulAssociationValueType.html" title="class in org.apache.polygene.api.type">StatefulAssociationValueType</a><M extends <a href="../../../../../org/apache/polygene/api/composite/StatefulAssociationCompositeDescriptor.html" title="interface in org.apache.polygene.api.composite">StatefulAssociationCompositeDescriptor</a> & <a href="../../../../../org/apache/polygene/api/composite/CompositeDescriptor.html" title="interface in org.apache.polygene.api.composite">CompositeDescriptor</a>></td> <td class="colLast"> </td> </tr> -</tbody> -</table> -</li> -<li class="blockList"> -<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation"> -<caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Annotation Type</th> -<th class="colLast" scope="col">Description</th> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/ValueCompositeType.html" title="class in org.apache.polygene.api.type">ValueCompositeType</a></td> +<td class="colLast"> +<div class="block">ValueComposite ValueType.</div> +</td> </tr> -<tbody> <tr class="altColor"> -<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/Serialization.html" title="annotation in org.apache.polygene.api.type">Serialization</a></td> +<td class="colFirst"><a href="../../../../../org/apache/polygene/api/type/ValueType.html" title="class in org.apache.polygene.api.type">ValueType</a></td> <td class="colLast"> -<div class="block">Serialization options for Property intstances.</div> +<div class="block">Base class for types of values in ValueComposites and Properties.</div> </td> </tr> </tbody> http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/type/package-tree.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/type/package-tree.html b/content/java/develop/javadocs/org/apache/polygene/api/type/package-tree.html index ff433ed..4557da6 100644 --- a/content/java/develop/javadocs/org/apache/polygene/api/type/package-tree.html +++ b/content/java/develop/javadocs/org/apache/polygene/api/type/package-tree.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.polygene.api.type Class Hierarchy (Apache Polygene⢠(Java Edition) SDK 3.0-SNAPSHOT)</title> +<title>org.apache.polygene.api.type Class Hierarchy (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="org.apache.polygene.api.type Class Hierarchy (Apache Polygene\u2122 (Java Edition) SDK 3.0-SNAPSHOT)"; + parent.document.title="org.apache.polygene.api.type Class Hierarchy (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; } } catch(err) { @@ -80,38 +80,37 @@ <ul> <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a> <ul> -<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/MatchTypeSpecification.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">MatchTypeSpecification</span></a> (implements java.util.function.<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><T>)</li> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasEqualOrAssignableFromType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">HasEqualOrAssignableFromType</span></a><T> (implements java.util.function.<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><T>)</li> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasEqualOrAssignableToType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">HasEqualOrAssignableToType</span></a><T> (implements java.util.function.<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><T>)</li> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasTypesCollectors.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">HasTypesCollectors</span></a></li> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasTypesPredicate.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">HasTypesPredicate</span></a><T> (implements java.util.function.<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><T>) +<ul> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasAssignableFromType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">HasAssignableFromType</span></a><T></li> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasAssignableToType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">HasAssignableToType</span></a><T></li> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasEqualType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">HasEqualType</span></a><T></li> +</ul> +</li> <li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/ValueType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">ValueType</span></a> (implements org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type">HasTypes</a>) <ul> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/ArrayType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">ArrayType</span></a></li> <li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/CollectionType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">CollectionType</span></a></li> <li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/EnumType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">EnumType</span></a></li> <li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/MapType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">MapType</span></a></li> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/StatefulAssociationValueType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">StatefulAssociationValueType</span></a><M> +<ul> +<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/EntityCompositeType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">EntityCompositeType</span></a></li> <li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/ValueCompositeType.html" title="class in org.apache.polygene.api.type"><span class="typeNameLink">ValueCompositeType</span></a></li> </ul> </li> </ul> </li> </ul> +</li> +</ul> <h2 title="Interface Hierarchy">Interface Hierarchy</h2> <ul> <li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/HasTypes.html" title="interface in org.apache.polygene.api.type"><span class="typeNameLink">HasTypes</span></a></li> </ul> -<h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2> -<ul> -<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/Serialization.html" title="annotation in org.apache.polygene.api.type"><span class="typeNameLink">Serialization</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> -</ul> -<h2 title="Enum Hierarchy">Enum Hierarchy</h2> -<ul> -<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a> -<ul> -<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) -<ul> -<li type="circle">org.apache.polygene.api.type.<a href="../../../../../org/apache/polygene/api/type/Serialization.Variant.html" title="enum in org.apache.polygene.api.type"><span class="typeNameLink">Serialization.Variant</span></a></li> -</ul> -</li> -</ul> -</li> -</ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ConcurrentEntityModificationException.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ConcurrentEntityModificationException.html b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ConcurrentEntityModificationException.html index 948811e..2c4c909 100644 --- a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ConcurrentEntityModificationException.html +++ b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ConcurrentEntityModificationException.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>ConcurrentEntityModificationException (Apache Polygene⢠(Java Edition) SDK 3.0-SNAPSHOT)</title> +<title>ConcurrentEntityModificationException (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ConcurrentEntityModificationException (Apache Polygene\u2122 (Java Edition) SDK 3.0-SNAPSHOT)"; + parent.document.title="ConcurrentEntityModificationException (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/EntityCompositeAlreadyExistsException.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/EntityCompositeAlreadyExistsException.html b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/EntityCompositeAlreadyExistsException.html index 786963d..c988a50 100644 --- a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/EntityCompositeAlreadyExistsException.html +++ b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/EntityCompositeAlreadyExistsException.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>EntityCompositeAlreadyExistsException (Apache Polygene⢠(Java Edition) SDK 3.0-SNAPSHOT)</title> +<title>EntityCompositeAlreadyExistsException (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="EntityCompositeAlreadyExistsException (Apache Polygene\u2122 (Java Edition) SDK 3.0-SNAPSHOT)"; + parent.document.title="EntityCompositeAlreadyExistsException (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityException.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityException.html b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityException.html index 1fe90c1..8691b87 100644 --- a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityException.html +++ b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityException.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>NoSuchEntityException (Apache Polygene⢠(Java Edition) SDK 3.0-SNAPSHOT)</title> +<title>NoSuchEntityException (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="NoSuchEntityException (Apache Polygene\u2122 (Java Edition) SDK 3.0-SNAPSHOT)"; + parent.document.title="NoSuchEntityException (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityTypeException.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityTypeException.html b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityTypeException.html index c549459..abe24d9 100644 --- a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityTypeException.html +++ b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/NoSuchEntityTypeException.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>NoSuchEntityTypeException (Apache Polygene⢠(Java Edition) SDK 3.0-SNAPSHOT)</title> +<title>NoSuchEntityTypeException (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="NoSuchEntityTypeException (Apache Polygene\u2122 (Java Edition) SDK 3.0-SNAPSHOT)"; + parent.document.title="NoSuchEntityTypeException (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; } } catch(err) { @@ -43,7 +43,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/polygene/api/unitofwork/NoSuchEntityException.html" title="class in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/polygene/api/unitofwork/ToEntityConverter.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/polygene/api/unitofwork/NoSuchEntityTypeException.html" target="_top">Frames</a></li> @@ -244,7 +244,7 @@ extends <a href="../../../../../org/apache/polygene/api/composite/NoSuchComposit <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/polygene/api/unitofwork/NoSuchEntityException.html" title="class in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/polygene/api/unitofwork/ToEntityConverter.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/polygene/api/unitofwork/NoSuchEntityTypeException.html" target="_top">Frames</a></li> http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToEntityConverter.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToEntityConverter.html b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToEntityConverter.html new file mode 100644 index 0000000..29becb9 --- /dev/null +++ b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToEntityConverter.html @@ -0,0 +1,337 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="fr"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>ToEntityConverter (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> +<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="ToEntityConverter (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="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/polygene/api/unitofwork/NoSuchEntityTypeException.html" title="class in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/polygene/api/unitofwork/ToValueConverter.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/polygene/api/unitofwork/ToEntityConverter.html" target="_top">Frames</a></li> +<li><a href="ToEntityConverter.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.apache.polygene.api.unitofwork</div> +<h2 title="Interface ToEntityConverter" class="title">Interface ToEntityConverter</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">ToEntityConverter</span></pre> +<div class="block">MetaInfo holder for value-to-entity conversion in <a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html#toEntity-java.lang.Class-T-"><code>UnitOfWork.toEntity(Class, HasIdentity)</code></a>. + <p> + The implementation of this interface should be registered as metaInfo on the <a href="../../../../../org/apache/polygene/api/usecase/Usecase.html" title="class in org.apache.polygene.api.usecase"><code>Usecase</code></a> + of the <a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html" title="interface in org.apache.polygene.api.unitofwork"><code>UnitOfWork</code></a> where the conversion should take place. It is also possible to register + the implementation to the <a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html" title="interface in org.apache.polygene.api.unitofwork"><code>UnitOfWork</code></a>'s metaInfo. + </p> + <p>Example;</p> + <pre><code> + private static final Usecase USECASE_GET_USER_DETAILS = UseCaseBuilder + .buildUseCase("get user details") + .withMetaInfo( new UserToEntityConverter() ) + .newUsecase(); + + @Structure + private UnitOfWorkFactory uowf; + : + : + try( UnitOfWork uow = uowf.newUnitOfWork( USECASE_GET_USER_DETAILS ) ) + { + : + User value = ...; + User entity = uow.toEntity( User.class, value ); + : + } + : + : + </code></pre></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToEntityConverter.html#associations-java.lang.Object-java.util.function.Function-">associations</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the associations of the entities into the value.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToEntityConverter.html#manyAssociations-java.lang.Object-java.util.function.Function-">manyAssociations</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the manyAssociations of the entities into the value.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToEntityConverter.html#namedAssociations-java.lang.Object-java.util.function.Function-">namedAssociations</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the NamedAssociations of the entities into the value.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToEntityConverter.html#properties-java.lang.Object-java.util.function.Function-">properties</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the properties of the entities into the value.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="properties-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>properties</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> properties(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the properties of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</dd> +</dl> +</li> +</ul> +<a name="associations-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>associations</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>> associations(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the associations of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</dd> +</dl> +</li> +</ul> +<a name="manyAssociations-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>manyAssociations</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>> manyAssociations(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the manyAssociations of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</dd> +</dl> +</li> +</ul> +<a name="namedAssociations-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>namedAssociations</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>>> namedAssociations(<a href="http://docs.oracl e.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.en tity">EntityReference</a>>>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the NamedAssociations of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</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="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/polygene/api/unitofwork/NoSuchEntityTypeException.html" title="class in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/polygene/api/unitofwork/ToValueConverter.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/polygene/api/unitofwork/ToEntityConverter.html" target="_top">Frames</a></li> +<li><a href="ToEntityConverter.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> http://git-wip-us.apache.org/repos/asf/polygene-website/blob/51abe7dd/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToValueConverter.html ---------------------------------------------------------------------- diff --git a/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToValueConverter.html b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToValueConverter.html new file mode 100644 index 0000000..463db1f --- /dev/null +++ b/content/java/develop/javadocs/org/apache/polygene/api/unitofwork/ToValueConverter.html @@ -0,0 +1,334 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="fr"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>ToValueConverter (Apache Polygene⢠(Java Edition) SDK 3.0.0-SNAPSHOT)</title> +<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="ToValueConverter (Apache Polygene\u2122 (Java Edition) SDK 3.0.0-SNAPSHOT)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="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/polygene/api/unitofwork/ToEntityConverter.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/polygene/api/unitofwork/ToValueConverter.html" target="_top">Frames</a></li> +<li><a href="ToValueConverter.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.apache.polygene.api.unitofwork</div> +<h2 title="Interface ToValueConverter" class="title">Interface ToValueConverter</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">ToValueConverter</span></pre> +<div class="block">MetaInfo holder for entity-to-value conversion in <a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html#toValue-java.lang.Class-T-"><code>UnitOfWork.toValue(Class, HasIdentity)</code></a> + <p> + The implementation of this interface should be registered as metaInfo on the <a href="../../../../../org/apache/polygene/api/usecase/Usecase.html" title="class in org.apache.polygene.api.usecase"><code>Usecase</code></a> + of the <a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html" title="interface in org.apache.polygene.api.unitofwork"><code>UnitOfWork</code></a> where the conversion should take place. + </p> + <pre><code> + private static final Usecase USECASE_GET_USER_DETAILS = UseCaseBuilder + .buildUseCase("get user details") + .withMetaInfo( new MyToValueConverter() ) + .newUsecase(); + @Structure + private UnitOfWorkFactory uowf; + : + : + try( UnitOfWork uow = uowf.newUnitOfWork( USECASE_GET_USER_DETAILS ) ) + { + : + User entity = ...; + User value = uow.toValue( User.class, value ); + : + } + : + : + </code></pre></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToValueConverter.html#associations-java.lang.Object-java.util.function.Function-">associations</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the associations of the entities into the value.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToValueConverter.html#manyAssociations-java.lang.Object-java.util.function.Function-">manyAssociations</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the manyAssociations of the entities into the value.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToValueConverter.html#namedAssociations-java.lang.Object-java.util.function.Function-">namedAssociations</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the NamedAssociations of the entities into the value.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/polygene/api/unitofwork/ToValueConverter.html#properties-java.lang.Object-java.util.function.Function-">properties</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> defaultFn)</code> +<div class="block">Returns the Function to convert each of the properties of the entities into the value.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="properties-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>properties</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> properties(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/property/PropertyDescriptor.html" title="interface in org.apache.polygene.api.property">PropertyDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the properties of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</dd> +</dl> +</li> +</ul> +<a name="associations-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>associations</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>> associations(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the associations of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</dd> +</dl> +</li> +</ul> +<a name="manyAssociations-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>manyAssociations</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>> manyAssociations(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the manyAssociations of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</dd> +</dl> +</li> +</ul> +<a name="namedAssociations-java.lang.Object-java.util.function.Function-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>namedAssociations</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.entity">EntityReference</a>>>> namedAssociations(<a href="http://docs.oracl e.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> entityComposite, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../org/apache/polygene/api/association/AssociationDescriptor.html" title="interface in org.apache.polygene.api.association">AssociationDescriptor</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/polygene/api/entity/EntityReference.html" title="class in org.apache.polygene.api.en tity">EntityReference</a>>>> defaultFn)</pre> +<div class="block">Returns the Function to convert each of the NamedAssociations of the entities into the value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>entityComposite</code> - the entity that is to be converted.</dd> +<dd><code>defaultFn</code> - The default converter function. This can be used to delegate non-special cases, or simply + return to do all the conversions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The function to do the conversion. It MUST NOT return null, and if no conversion is wanted, return the defaultFn.</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="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/polygene/api/unitofwork/ToEntityConverter.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/polygene/api/unitofwork/UnitOfWork.html" title="interface in org.apache.polygene.api.unitofwork"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/polygene/api/unitofwork/ToValueConverter.html" target="_top">Frames</a></li> +<li><a href="ToValueConverter.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html>
