| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.2) on Mon Mar 18 14:01:21 MSK 2019 --> |
| <title>Property (cayenne-doc: Cayenne Documentation 4.1.B1 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2019-03-18"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Property (cayenne-doc: Cayenne Documentation 4.1.B1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":9,"i15":9,"i16":9,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Property.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.cayenne.exp</a></div> |
| <h2 title="Class Property" class="title">Class Property<E></h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.cayenne.exp.Property<E></li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>E</code> - The type this property returns.</dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">Property<E></span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre> |
| <div class="block"><p> |
| A property in a <a href="../DataObject.html" title="interface in org.apache.cayenne"><code>DataObject</code></a>. |
| </p> |
| <p> |
| Used to construct Expressions quickly and with type-safety, and to construct Orderings. |
| </p> |
| <p> |
| Instances of this class are immutable. |
| </p> |
| <p> |
| Must be created via factory methods <a href="#create(java.lang.String,java.lang.Class)"><code>Property.create(..)</code></a> |
| </p></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>4.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#create(java.lang.String,java.lang.Class)"><code>create(String, Class)</code></a>, |
| <a href="#create(org.apache.cayenne.exp.Expression,java.lang.Class)"><code>create(Expression, Class)</code></a>, |
| <a href="#create(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)"><code>create(String, Expression, Class)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#COUNT">COUNT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Property that can be used in COUNT(*) queries</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.Class)">Property</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super <a href="Property.html" title="type parameter in Property">E</a>> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a new property with the given name and type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)">Property</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super <a href="Property.html" title="type parameter in Property">E</a>> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a new property with the given name and expression</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#abs()">abs</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#alias(java.lang.String)">alias</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> alias)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates alias with different name for this property</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asc()">asc</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascInsensitive()">ascInsensitive</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascInsensitives()">ascInsensitives</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascs()">ascs</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#avg()">avg</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#between(E,E)">between</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> lower, |
| <a href="Property.html" title="type parameter in Property">E</a> upper)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#concat(java.lang.Object...)">concat</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>... args)</code></th> |
| <td class="colLast"> |
| <div class="block">Arguments will be converted as follows: |
| |
| if argument is a <a href="Property.html" title="class in org.apache.cayenne.exp"><code>Property</code></a> than its expression will be used |
| if argument is a <a href="Expression.html" title="class in org.apache.cayenne.exp"><code>Expression</code></a> than it will be used as is |
| all other values will be converted to String |
| </div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(java.lang.String)">contains</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> substring)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an expression for a database "LIKE" query with the value converted to a pattern matching anywhere in the |
| String.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsIgnoreCase(java.lang.String)">containsIgnoreCase</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#contains(java.lang.String)"><code>contains(String)</code></a>, only using case-insensitive |
| comparison.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#count()">count</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countDistinct()">countDistinct</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static <T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(java.lang.String,java.lang.Class)">create</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates property with name and type</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static <T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)">create</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates property with name, expression and type</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static <T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.cayenne.exp.Expression,java.lang.Class)">create</a></span>​(<a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates property with expression and type</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static <T extends <a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>><br><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSelf(java.lang.Class)">createSelf</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</code></th> |
| <td class="colLast"> |
| <div class="block"> |
| Creates "self" Property for persistent class.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#desc()">desc</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descInsensitive()">descInsensitive</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descInsensitives()">descInsensitives</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descs()">descs</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#disjoint()">disjoint</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a prefetch tree that follows this property path, potentially |
| spanning a number of phantom nodes, and having a single leaf with |
| "disjoint" prefetch semantics.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#disjointById()">disjointById</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a prefetch tree that follows this property path, potentially |
| spanning a number of phantom nodes, and having a single leaf with |
| "disjoint by id" prefetch semantics.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dot(java.lang.String)">dot</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> property)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a property path by appending the argument to the existing property separated by a dot.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dot(org.apache.cayenne.exp.Property)">dot</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> property)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a new property path by appending the argument to the existing property separated by a dot.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endsWith(java.lang.String)">endsWith</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an expression for a database "LIKE" query with the value |
| converted to a pattern matching the tail of a String.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endsWithIgnoreCase(java.lang.String)">endsWithIgnoreCase</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#endsWith(java.lang.String)"><code>endsWith(String)</code></a>, only using case-insensitive |
| comparison.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#eq(E)">eq</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#eq(org.apache.cayenne.exp.Property)">eq</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> o)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code><T extends <a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>><br><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flat(java.lang.Class)">flat</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> tClass)</code></th> |
| <td class="colLast"> |
| <div class="block">Create new "flat" property for toMany relationship.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAlias()">getAlias</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExpression()">getExpression</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">This method returns fresh copy of the expression for each call.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="type parameter in Property">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFrom(java.lang.Object)">getFrom</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> bean)</code></th> |
| <td class="colLast"> |
| <div class="block">Extracts property value from an object using JavaBean-compatible |
| introspection with one addition - a property can be a dot-separated |
| property name path.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFromAll(java.util.Collection)">getFromAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?> beans)</code></th> |
| <td class="colLast"> |
| <div class="block">Extracts property value from a collection of objects using |
| JavaBean-compatible introspection with one addition - a property can be a |
| dot-separated property name path.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super <a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType()">getType</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gt(E)">gt</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gt(org.apache.cayenne.exp.Property)">gt</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gte(E)">gte</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gte(org.apache.cayenne.exp.Property)">gte</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#in(E,E...)">in</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> firstValue, |
| <a href="Property.html" title="type parameter in Property">E</a>... moreValues)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#in(java.util.Collection)">in</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="Property.html" title="type parameter in Property">E</a>> values)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFalse()">isFalse</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNotNull()">isNotNull</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNull()">isNull</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTrue()">isTrue</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code><a href="../query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#joint()">joint</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a prefetch tree that follows this property path, potentially |
| spanning a number of phantom nodes, and having a single leaf with "joint" |
| prefetch semantics.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#length()">length</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#like(java.lang.String)">like</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> pattern)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#like(java.lang.String,char)">like</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> pattern, |
| char escapeChar)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#likeIgnoreCase(java.lang.String)">likeIgnoreCase</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> pattern)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#locate(java.lang.String)">locate</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> string)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#locate(org.apache.cayenne.exp.Property)">locate</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> property)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lower()">lower</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lt(E)">lt</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lt(org.apache.cayenne.exp.Property)">lt</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lte(E)">lte</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lte(org.apache.cayenne.exp.Property)">lte</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#max()">max</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#min()">min</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mod(java.lang.Number)">mod</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> number)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ne(E)">ne</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ne(org.apache.cayenne.exp.Property)">ne</a></span>​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nin(E,E...)">nin</a></span>​(<a href="Property.html" title="type parameter in Property">E</a> firstValue, |
| <a href="Property.html" title="type parameter in Property">E</a>... moreValues)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nin(java.util.Collection)">nin</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="Property.html" title="type parameter in Property">E</a>> values)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nlike(java.lang.String)">nlike</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nlikeIgnoreCase(java.lang.String)">nlikeIgnoreCase</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#outer()">outer</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a version of this property that represents an OUTER join.</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path()">path</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts this property to a path expression.</div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIn(java.lang.Object,E)">setIn</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> bean, |
| <a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a property value in 'obj' using JavaBean-compatible introspection |
| with one addition - a property can be a dot-separated property name path.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInAll(java.util.Collection,E)">setInAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?> beans, |
| <a href="Property.html" title="type parameter in Property">E</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a property value in a collection of objects using |
| JavaBean-compatible introspection with one addition - a property can be a |
| dot-separated property name path.</div> |
| </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sqrt()">sqrt</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startsWith(java.lang.String)">startsWith</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an expression for a database "LIKE" query with the value converted to a pattern matching the beginning of |
| a String.</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code><a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startsWithIgnoreCase(java.lang.String)">startsWithIgnoreCase</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#startsWith(java.lang.String)"><code>startsWith(String)</code></a>, only using case-insensitive |
| comparison.</div> |
| </td> |
| </tr> |
| <tr id="i76" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#substring(int,int)">substring</a></span>​(int offset, |
| int length)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i77" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum()">sum</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i78" class="altColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#trim()">trim</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i79" class="rowColor"> |
| <td class="colFirst"><code><a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#upper()">upper</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="COUNT"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>COUNT</h4> |
| <pre>public static final <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>> COUNT</pre> |
| <div class="block"><p>Property that can be used in COUNT(*) queries</p> |
| <p> |
| <pre><code> |
| List<Object[]> result = ObjectSelect |
| .columnQuery(Artist.class, Property.COUNT, Artist.ARTIST_NAME) |
| .having(Property.COUNT.gt(1L)) |
| .select(context); |
| </code></pre> |
| </p></div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(java.lang.String,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Property</h4> |
| <pre>protected Property​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super <a href="Property.html" title="type parameter in Property">E</a>> type)</pre> |
| <div class="block">Constructs a new property with the given name and type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - of the property (usually it's obj path)</dd> |
| <dd><code>type</code> - of the property</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#create(java.lang.String,java.lang.Class)"><code>create(String, Class)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Property</h4> |
| <pre>protected Property​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super <a href="Property.html" title="type parameter in Property">E</a>> type)</pre> |
| <div class="block">Constructs a new property with the given name and expression</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - of the property (will be used as alias for the expression)</dd> |
| <dd><code>expression</code> - expression for property</dd> |
| <dd><code>type</code> - of the property</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#create(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)"><code>create(String, Expression, Class)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="getName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getName()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Name of the property in the object.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAlias()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAlias</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getAlias()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>alias for this property</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getExpression()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExpression</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> getExpression()</pre> |
| <div class="block">This method returns fresh copy of the expression for each call.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>expression that represents this Property</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hashCode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre class="methodSignature">public int hashCode()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="equals(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre class="methodSignature">public boolean equals​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> o)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="dot(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dot</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>> dot​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> property)</pre> |
| <div class="block">Constructs a property path by appending the argument to the existing property separated by a dot.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly created Property object.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="dot(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dot</h4> |
| <pre class="methodSignature">public <T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> dot​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> property)</pre> |
| <div class="block">Constructs a new property path by appending the argument to the existing property separated by a dot.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly created Property object.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="outer()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outer</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> outer()</pre> |
| <div class="block">Returns a version of this property that represents an OUTER join. It is |
| up to caller to ensure that the property corresponds to a relationship, |
| as "outer" attributes make no sense.</div> |
| </li> |
| </ul> |
| <a id="path()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>path</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> path()</pre> |
| <div class="block">Converts this property to a path expression. |
| This method is equivalent of getExpression() which is preferred as more generic.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly created expression.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#getExpression()"><code>getExpression()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isNull()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNull</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> isNull()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing null.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isNotNull()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNotNull</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> isNotNull()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing a non-null value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isTrue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTrue</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> isTrue()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing equality to TRUE.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isFalse()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFalse</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> isFalse()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing equality to FALSE.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="eq(java.lang.Object)"> |
| <!-- --> |
| </a><a id="eq(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>eq</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> eq​(<a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing equality to a value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="eq(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>eq</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> eq​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing equality between two attributes |
| (columns).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ne(java.lang.Object)"> |
| <!-- --> |
| </a><a id="ne(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ne</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> ne​(<a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing inequality to a value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ne(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ne</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> ne​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression representing inequality between two attributes |
| (columns).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="like(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>like</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> like​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> pattern)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pattern</code> - a pattern matching property value. Pattern may include "_" and |
| "%" wildcard symbols to match any single character or a |
| sequence of characters. To prevent "_" and "%" from being |
| treated as wildcards, they need to be escaped and escape char |
| passed with <a href="#like(java.lang.String,char)"><code>like(String, char)</code></a> method.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for a Database "LIKE" query.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="like(java.lang.String,char)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>like</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> like​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> pattern, |
| char escapeChar)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pattern</code> - a properly escaped pattern matching property value. Pattern |
| may include "_" and "%" wildcard symbols to match any single |
| character or a sequence of characters.</dd> |
| <dd><code>escapeChar</code> - an escape character used in the pattern to escape "%" and "_".</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for a Database "LIKE" query.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="likeIgnoreCase(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>likeIgnoreCase</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> likeIgnoreCase​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> pattern)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for a case insensitive "LIKE" query.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="nlike(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nlike</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> nlike​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for a Database "NOT LIKE" query.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="nlikeIgnoreCase(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nlikeIgnoreCase</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> nlikeIgnoreCase​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for a case insensitive "NOT LIKE" query.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="contains(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contains</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> contains​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> substring)</pre> |
| <div class="block">Creates an expression for a database "LIKE" query with the value converted to a pattern matching anywhere in the |
| String.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>substring</code> - a String to match against property value. "_" and "%" symbols |
| are NOT treated as wildcards and are escaped when converted to |
| a LIKE expression.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly created expression.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="startsWith(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startsWith</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> startsWith​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre> |
| <div class="block">Creates an expression for a database "LIKE" query with the value converted to a pattern matching the beginning of |
| a String.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - a String to match against property value. "_" and "%" symbols |
| are NOT treated as wildcards and are escaped when converted to |
| a LIKE expression.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly created expression.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="endsWith(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endsWith</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> endsWith​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre> |
| <div class="block">Creates an expression for a database "LIKE" query with the value |
| converted to a pattern matching the tail of a String.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - a String to match against property value. "_" and "%" symbols |
| are NOT treated as wildcards and are escaped when converted to |
| a LIKE expression.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly created expression.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="containsIgnoreCase(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsIgnoreCase</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> containsIgnoreCase​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre> |
| <div class="block">Same as <a href="#contains(java.lang.String)"><code>contains(String)</code></a>, only using case-insensitive |
| comparison.</div> |
| </li> |
| </ul> |
| <a id="startsWithIgnoreCase(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startsWithIgnoreCase</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> startsWithIgnoreCase​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre> |
| <div class="block">Same as <a href="#startsWith(java.lang.String)"><code>startsWith(String)</code></a>, only using case-insensitive |
| comparison.</div> |
| </li> |
| </ul> |
| <a id="endsWithIgnoreCase(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endsWithIgnoreCase</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> endsWithIgnoreCase​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre> |
| <div class="block">Same as <a href="#endsWith(java.lang.String)"><code>endsWith(String)</code></a>, only using case-insensitive |
| comparison.</div> |
| </li> |
| </ul> |
| <a id="between(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="between(E,E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>between</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> between​(<a href="Property.html" title="type parameter in Property">E</a> lower, |
| <a href="Property.html" title="type parameter in Property">E</a> upper)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>lower</code> - The lower bound.</dd> |
| <dd><code>upper</code> - The upper bound.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression checking for objects between a lower and upper |
| bound inclusive</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="in(java.lang.Object,java.lang.Object[])"> |
| <!-- --> |
| </a><a id="in(E,E...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>in</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> in​(<a href="Property.html" title="type parameter in Property">E</a> firstValue, |
| <a href="Property.html" title="type parameter in Property">E</a>... moreValues)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for finding objects with values in the given set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="nin(java.lang.Object,java.lang.Object[])"> |
| <!-- --> |
| </a><a id="nin(E,E...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nin</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> nin​(<a href="Property.html" title="type parameter in Property">E</a> firstValue, |
| <a href="Property.html" title="type parameter in Property">E</a>... moreValues)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for finding objects with values not in the given |
| set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="in(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>in</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> in​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="Property.html" title="type parameter in Property">E</a>> values)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for finding objects with values in the given set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="nin(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nin</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> nin​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="Property.html" title="type parameter in Property">E</a>> values)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An expression for finding objects with values not in the given |
| set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="gt(java.lang.Object)"> |
| <!-- --> |
| </a><a id="gt(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gt</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> gt​(<a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A greater than Expression.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="gt(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gt</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> gt​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Represents a greater than relationship between two attributes |
| (columns).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="gte(java.lang.Object)"> |
| <!-- --> |
| </a><a id="gte(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gte</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> gte​(<a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A greater than or equal to Expression.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="gte(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gte</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> gte​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Represents a greater than or equal relationship between two |
| attributes (columns).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="lt(java.lang.Object)"> |
| <!-- --> |
| </a><a id="lt(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lt</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> lt​(<a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A less than Expression.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="lt(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lt</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> lt​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Represents a less than relationship between two attributes |
| (columns).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="lte(java.lang.Object)"> |
| <!-- --> |
| </a><a id="lte(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lte</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> lte​(<a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A less than or equal to Expression.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="lte(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lte</h4> |
| <pre class="methodSignature">public <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> lte​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><?> value)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Represents a less than or equal relationship between two |
| attributes (columns).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="asc()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asc</h4> |
| <pre class="methodSignature">public <a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a> asc()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Ascending sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ascs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ascs</h4> |
| <pre class="methodSignature">public <a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a> ascs()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Ascending sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ascInsensitive()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ascInsensitive</h4> |
| <pre class="methodSignature">public <a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a> ascInsensitive()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Ascending case insensitive sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ascInsensitives()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ascInsensitives</h4> |
| <pre class="methodSignature">public <a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a> ascInsensitives()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Ascending case insensitive sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="desc()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>desc</h4> |
| <pre class="methodSignature">public <a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a> desc()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Descending sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="descs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>descs</h4> |
| <pre class="methodSignature">public <a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a> descs()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Descending sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="descInsensitive()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>descInsensitive</h4> |
| <pre class="methodSignature">public <a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a> descInsensitive()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Descending case insensitive sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="descInsensitives()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>descInsensitives</h4> |
| <pre class="methodSignature">public <a href="../query/Orderings.html" title="class in org.apache.cayenne.query">Orderings</a> descInsensitives()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Descending case insensitive sort orderings on this property.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="joint()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>joint</h4> |
| <pre class="methodSignature">public <a href="../query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a> joint()</pre> |
| <div class="block">Returns a prefetch tree that follows this property path, potentially |
| spanning a number of phantom nodes, and having a single leaf with "joint" |
| prefetch semantics.</div> |
| </li> |
| </ul> |
| <a id="disjoint()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disjoint</h4> |
| <pre class="methodSignature">public <a href="../query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a> disjoint()</pre> |
| <div class="block">Returns a prefetch tree that follows this property path, potentially |
| spanning a number of phantom nodes, and having a single leaf with |
| "disjoint" prefetch semantics.</div> |
| </li> |
| </ul> |
| <a id="disjointById()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disjointById</h4> |
| <pre class="methodSignature">public <a href="../query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a> disjointById()</pre> |
| <div class="block">Returns a prefetch tree that follows this property path, potentially |
| spanning a number of phantom nodes, and having a single leaf with |
| "disjoint by id" prefetch semantics.</div> |
| </li> |
| </ul> |
| <a id="getFrom(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFrom</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="type parameter in Property">E</a> getFrom​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> bean)</pre> |
| <div class="block">Extracts property value from an object using JavaBean-compatible |
| introspection with one addition - a property can be a dot-separated |
| property name path.</div> |
| </li> |
| </ul> |
| <a id="getFromAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFromAll</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="Property.html" title="type parameter in Property">E</a>> getFromAll​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?> beans)</pre> |
| <div class="block">Extracts property value from a collection of objects using |
| JavaBean-compatible introspection with one addition - a property can be a |
| dot-separated property name path.</div> |
| </li> |
| </ul> |
| <a id="setIn(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="setIn(java.lang.Object,E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIn</h4> |
| <pre class="methodSignature">public void setIn​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> bean, |
| <a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <div class="block">Sets a property value in 'obj' using JavaBean-compatible introspection |
| with one addition - a property can be a dot-separated property name path.</div> |
| </li> |
| </ul> |
| <a id="setInAll(java.util.Collection,java.lang.Object)"> |
| <!-- --> |
| </a><a id="setInAll(java.util.Collection,E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setInAll</h4> |
| <pre class="methodSignature">public void setInAll​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?> beans, |
| <a href="Property.html" title="type parameter in Property">E</a> value)</pre> |
| <div class="block">Sets a property value in a collection of objects using |
| JavaBean-compatible introspection with one addition - a property can be a |
| dot-separated property name path.</div> |
| </li> |
| </ul> |
| <a id="count()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>count</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>> count()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#countExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.countExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="countDistinct()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>countDistinct</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>> countDistinct()</pre> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>4.1</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#countDistinctExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.countDistinctExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="max()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>max</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> max()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#maxExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.maxExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="min()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>min</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> min()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#minExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.minExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="avg()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>avg</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> avg()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#avgExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.avgExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sum()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sum</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> sum()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#sumExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.sumExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="mod(java.lang.Number)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mod</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> mod​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> number)</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#modExp(org.apache.cayenne.exp.Expression,java.lang.Number)"><code>FunctionExpressionFactory.modExp(Expression, Number)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="abs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>abs</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> abs()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#absExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.absExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sqrt()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sqrt</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> sqrt()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#sqrtExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.sqrtExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="length()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>length</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> length()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#lengthExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.lengthExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="locate(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locate</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> locate​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> string)</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#locateExp(java.lang.String,org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.locateExp(String, Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="locate(org.apache.cayenne.exp.Property)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locate</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> locate​(<a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> property)</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#locateExp(org.apache.cayenne.exp.Expression,org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.locateExp(Expression, Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="trim()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>trim</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> trim()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#trimExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.trimExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="upper()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>upper</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> upper()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#upperExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.upperExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="lower()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lower</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> lower()</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#lowerExp(org.apache.cayenne.exp.Expression)"><code>FunctionExpressionFactory.lowerExp(Expression)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="concat(java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>concat</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> concat​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>... args)</pre> |
| <div class="block"><p>Arguments will be converted as follows: |
| <ul> |
| <li>if argument is a <a href="Property.html" title="class in org.apache.cayenne.exp"><code>Property</code></a> than its expression will be used</li> |
| <li>if argument is a <a href="Expression.html" title="class in org.apache.cayenne.exp"><code>Expression</code></a> than it will be used as is </li> |
| <li>all other values will be converted to String</li> |
| </ul> |
| </p> |
| <p> |
| Usage: |
| <pre><code> |
| Property<String> fullName = Artist.FIRST_NAME.concat(" ", Artist.SECOND_NAME); |
| </code></pre> |
| </p></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#concatExp(org.apache.cayenne.exp.Expression...)"><code>FunctionExpressionFactory.concatExp(Expression...)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="substring(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>substring</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> substring​(int offset, |
| int length)</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="FunctionExpressionFactory.html#substringExp(org.apache.cayenne.exp.Expression,int,int)"><code>FunctionExpressionFactory.substringExp(Expression, int, int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="alias(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>alias</h4> |
| <pre class="methodSignature">public <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><<a href="Property.html" title="type parameter in Property">E</a>> alias​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> alias)</pre> |
| <div class="block">Creates alias with different name for this property</div> |
| </li> |
| </ul> |
| <a id="flat(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>flat</h4> |
| <pre class="methodSignature">public <T extends <a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> flat​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> tClass)</pre> |
| <div class="block"><p>Create new "flat" property for toMany relationship.</p> |
| <p> |
| Example: |
| <pre><code> |
| List<Object[]> result = ObjectSelect |
| .columnQuery(Artist.class, Artist.ARTIST_NAME, Artist.PAINTING_ARRAY.flat(Painting.class)) |
| .select(context); |
| </code></pre> |
| </p></div> |
| </li> |
| </ul> |
| <a id="getType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super <a href="Property.html" title="type parameter in Property">E</a>> getType()</pre> |
| </li> |
| </ul> |
| <a id="create(java.lang.String,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre class="methodSignature">public static <T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> create​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</pre> |
| <div class="block">Creates property with name and type</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#create(org.apache.cayenne.exp.Expression,java.lang.Class)"><code>create(Expression, Class)</code></a>, |
| <a href="#create(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)"><code>create(String, Expression, Class)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="create(org.apache.cayenne.exp.Expression,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre class="methodSignature">public static <T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> create​(<a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</pre> |
| <div class="block">Creates property with expression and type</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#create(java.lang.String,java.lang.Class)"><code>create(String, Class)</code></a>, |
| <a href="#create(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)"><code>create(String, Expression, Class)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="create(java.lang.String,org.apache.cayenne.exp.Expression,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre class="methodSignature">public static <T> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> create​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="Expression.html" title="class in org.apache.cayenne.exp">Expression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</pre> |
| <div class="block">Creates property with name, expression and type</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#create(java.lang.String,java.lang.Class)"><code>create(String, Class)</code></a>, |
| <a href="#create(org.apache.cayenne.exp.Expression,java.lang.Class)"><code>create(Expression, Class)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSelf(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createSelf</h4> |
| <pre class="methodSignature">public static <T extends <a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>> <a href="Property.html" title="class in org.apache.cayenne.exp">Property</a><T> createSelf​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><? super T> type)</pre> |
| <div class="block"><p> |
| Creates "self" Property for persistent class. |
| This property can be used to select full object along with some of it properties (or |
| properties that can be resolved against query root) |
| </p> |
| <p> |
| Here is sample code, that will select all Artists and count of their Paintings: |
| <pre><code> |
| Property<Artist> artistFull = Property.createSelf(Artist.class); |
| List<Object[]> result = ObjectSelect |
| .columnQuery(Artist.class, artistFull, Artist.PAINTING_ARRAY.count()) |
| .select(context); |
| </code> |
| </pre> |
| </p></div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Property.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2001–2019 <a href="http://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |