| <!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 (version 1.7.0_67) on Sat Sep 20 17:23:01 FET 2014 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>Uses of Interface org.apache.cayenne.validation.ValidationFailure (Cayenne Documentation 3.1 API)</title> |
| <meta name="date" content="2014-09-20"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Interface org.apache.cayenne.validation.ValidationFailure (Cayenne Documentation 3.1 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><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><a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../../../../../overview-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>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/cayenne/validation/class-use/ValidationFailure.html" target="_top">Frames</a></li> |
| <li><a href="ValidationFailure.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> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h2 title="Uses of Interface org.apache.cayenne.validation.ValidationFailure" class="title">Uses of Interface<br>org.apache.cayenne.validation.ValidationFailure</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> |
| <caption><span>Packages that use <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.cayenne.configuration">org.apache.cayenne.configuration</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="#org.apache.cayenne.validation">org.apache.cayenne.validation</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"><a name="org.apache.cayenne.configuration"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a> in <a href="../../../../../org/apache/cayenne/configuration/package-summary.html">org.apache.cayenne.configuration</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> |
| <caption><span>Fields in <a href="../../../../../org/apache/cayenne/configuration/package-summary.html">org.apache.cayenne.configuration</a> with type parameters of type <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a>></code></td> |
| <td class="colLast"><span class="strong">ConfigurationTree.</span><code><strong><a href="../../../../../org/apache/cayenne/configuration/ConfigurationTree.html#loadFailures">loadFailures</a></strong></code> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/cayenne/configuration/package-summary.html">org.apache.cayenne.configuration</a> that return types with arguments of type <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a>></code></td> |
| <td class="colLast"><span class="strong">ConfigurationTree.</span><code><strong><a href="../../../../../org/apache/cayenne/configuration/ConfigurationTree.html#getLoadFailures()">getLoadFailures</a></strong>()</code> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> |
| <caption><span>Constructor parameters in <a href="../../../../../org/apache/cayenne/configuration/package-summary.html">org.apache.cayenne.configuration</a> with type arguments of type <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/configuration/ConfigurationTree.html#ConfigurationTree(T,%20java.util.Collection)">ConfigurationTree</a></strong>(<a href="../../../../../org/apache/cayenne/configuration/ConfigurationTree.html" title="type parameter in ConfigurationTree">T</a> rootNode, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a>> loadFailures)</code> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.cayenne.validation"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a> in <a href="../../../../../org/apache/cayenne/validation/package-summary.html">org.apache.cayenne.validation</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> |
| <caption><span>Classes in <a href="../../../../../org/apache/cayenne/validation/package-summary.html">org.apache.cayenne.validation</a> that implement <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/validation/BeanValidationFailure.html" title="class in org.apache.cayenne.validation">BeanValidationFailure</a></strong></code> |
| <div class="block">ValidationFailure implementation that described a failure of a single named property of |
| a Java Bean object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/validation/SimpleValidationFailure.html" title="class in org.apache.cayenne.validation">SimpleValidationFailure</a></strong></code> |
| <div class="block">Represents a generic validation failure that contains |
| failed object and a message describing the failure.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/cayenne/validation/package-summary.html">org.apache.cayenne.validation</a> that return <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></code></td> |
| <td class="colLast"><span class="strong">BeanValidationFailure.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/BeanValidationFailure.html#validateJavaClassName(java.lang.Object,%20java.lang.String,%20java.lang.String)">validateJavaClassName</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attribute, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> identifier)</code> |
| <div class="block">A utility method that checks that a given string is a valid Java full class name, |
| returning a non-null ValidationFailure if this is not so.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></code></td> |
| <td class="colLast"><span class="strong">BeanValidationFailure.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/BeanValidationFailure.html#validateMandatory(java.lang.Object,%20java.lang.String)">validateMandatory</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attribute)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></code></td> |
| <td class="colLast"><span class="strong">BeanValidationFailure.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/BeanValidationFailure.html#validateMandatory(java.lang.Object,%20java.lang.String,%20java.lang.Object)">validateMandatory</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attribute, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></code></td> |
| <td class="colLast"><span class="strong">BeanValidationFailure.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/BeanValidationFailure.html#validateNotEmpty(java.lang.Object,%20java.lang.String,%20java.util.Collection)">validateNotEmpty</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attribute, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> value)</code> |
| <div class="block">Returns a ValidationFailure if a collection attribute of an object is null or |
| empty.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></code></td> |
| <td class="colLast"><span class="strong">BeanValidationFailure.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/BeanValidationFailure.html#validateNotEmpty(java.lang.Object,%20java.lang.String,%20java.lang.String)">validateNotEmpty</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attribute, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> |
| <div class="block">A utility method that returns a ValidationFailure if a string is either null or has |
| a length of zero; otherwise returns null.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></code></td> |
| <td class="colLast"><span class="strong">BeanValidationFailure.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/BeanValidationFailure.html#validateNotNull(java.lang.Object,%20java.lang.String,%20java.lang.Object)">validateNotNull</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attribute, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/cayenne/validation/package-summary.html">org.apache.cayenne.validation</a> that return types with arguments of type <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a>></code></td> |
| <td class="colLast"><span class="strong">ValidationResult.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/ValidationResult.html#getFailures()">getFailures</a></strong>()</code> |
| <div class="block">Returns all failures added to this result, or empty list is result has no failures.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a>></code></td> |
| <td class="colLast"><span class="strong">ValidationResult.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/ValidationResult.html#getFailures(java.lang.Object)">getFailures</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> source)</code> |
| <div class="block">Returns all failures related to the <code>source</code> object, or an empty list |
| if there are no such failures.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/cayenne/validation/package-summary.html">org.apache.cayenne.validation</a> with parameters of type <a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><span class="strong">ValidationResult.</span><code><strong><a href="../../../../../org/apache/cayenne/validation/ValidationResult.html#addFailure(org.apache.cayenne.validation.ValidationFailure)">addFailure</a></strong>(<a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">ValidationFailure</a> failure)</code> |
| <div class="block">Add a failure to the validation result.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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><a href="../../../../../org/apache/cayenne/validation/ValidationFailure.html" title="interface in org.apache.cayenne.validation">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../../../../../overview-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>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/cayenne/validation/class-use/ValidationFailure.html" target="_top">Frames</a></li> |
| <li><a href="ValidationFailure.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> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2001–2014 <a href="http://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p> |
| </body> |
| </html> |