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