Пример #1
0
 /**
  * Prepare OnClause query. <br>
  * {select ... from ... left outer join ACCESS_RESULT on ... and FOO = [value] ...}
  *
  * <pre>
  * cb.query().queryMemberStatus().<span style="color: #CC4747">on()</span>.setFoo...;
  * </pre>
  *
  * @return The condition-query for OnClause query. (NotNull)
  * @throws IllegalConditionBeanOperationException When this condition-query is base query.
  */
 public AccessResultCIQ on() {
   if (isBaseQuery()) {
     throw new IllegalConditionBeanOperationException("OnClause for local table is unavailable!");
   }
   AccessResultCIQ inlineQuery = inline();
   inlineQuery.xsetOnClause(true);
   return inlineQuery;
 }
Пример #2
0
 /**
  * Prepare InlineView query. <br>
  * {select ... from ... left outer join (select * from ACCESS_RESULT) where FOO = [value] ...}
  *
  * <pre>
  * cb.query().queryMemberStatus().<span style="color: #CC4747">inline()</span>.setFoo...;
  * </pre>
  *
  * @return The condition-query for InlineView query. (NotNull)
  */
 public AccessResultCIQ inline() {
   if (_inlineQuery == null) {
     _inlineQuery = xcreateCIQ();
   }
   _inlineQuery.xsetOnClause(false);
   return _inlineQuery;
 }
Пример #3
0
 protected AccessResultCIQ xcreateCIQ() {
   AccessResultCIQ ciq = xnewCIQ();
   ciq.xsetBaseCB(_baseCB);
   return ciq;
 }