Пример #1
0
 public void xqderiveMemberAddressList(
     String function,
     SubQuery<MemberAddressCB> subQuery,
     String operand,
     Object value,
     DerivedReferrerOption option) {
   assertObjectNotNull("subQuery<MemberAddressCB>", subQuery);
   MemberAddressCB cb = new MemberAddressCB();
   cb.xsetupForDerivedReferrer(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepRegionId_QueryDerivedReferrer_MemberAddressList(cb.query()); // for saving query-value.
   String parameterPropertyName =
       keepRegionId_QueryDerivedReferrer_MemberAddressListParameter(value);
   registerQueryDerivedReferrer(
       function,
       cb.query(),
       "REGION_ID",
       "REGION_ID",
       subQueryPropertyName,
       operand,
       value,
       parameterPropertyName,
       option);
 }
Пример #2
0
 /**
  * Set up NotInScopeRelation (sub-query). <br>
  * {not in (select REGION_ID from MEMBER_ADDRESS where ...)} <br>
  * MEMBER_ADDRESS as 'memberAddressAsOne'.
  *
  * @param subQuery The sub-query of MemberAddressList for 'not in-scope'. (NotNull)
  */
 public void notInScopeMemberAddressList(SubQuery<MemberAddressCB> subQuery) {
   assertObjectNotNull("subQuery<MemberAddressCB>", subQuery);
   MemberAddressCB cb = new MemberAddressCB();
   cb.xsetupForInScopeRelation(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepRegionId_NotInScopeRelation_MemberAddressList(cb.query()); // for saving query-value.
   registerNotInScopeRelation(cb.query(), "REGION_ID", "REGION_ID", subQueryPropertyName);
 }
Пример #3
0
 /**
  * Set up ExistsReferrer (co-related sub-query). <br>
  * {exists (select REGION_ID from MEMBER_ADDRESS where ...)} <br>
  * MEMBER_ADDRESS as 'memberAddressAsOne'.
  *
  * <pre>
  * cb.query().<span style="color: #FD4747">existsMemberAddressList</span>(new SubQuery&lt;MemberAddressCB&gt;() {
  *     public void query(RegionCB subCB) {
  *         subCB.query().setXxx...
  *     }
  * });
  * </pre>
  *
  * @param subQuery The sub-query of MemberAddressList for 'exists'. (NotNull)
  */
 public void existsMemberAddressList(SubQuery<MemberAddressCB> subQuery) {
   assertObjectNotNull("subQuery<MemberAddressCB>", subQuery);
   MemberAddressCB cb = new MemberAddressCB();
   cb.xsetupForExistsReferrer(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepRegionId_ExistsReferrer_MemberAddressList(cb.query()); // for saving query-value.
   registerExistsReferrer(cb.query(), "REGION_ID", "REGION_ID", subQueryPropertyName);
 }
Пример #4
0
 public void xsderiveMemberAddressList(
     String function,
     SubQuery<MemberAddressCB> subQuery,
     String aliasName,
     DerivedReferrerOption option) {
   assertObjectNotNull("subQuery<MemberAddressCB>", subQuery);
   MemberAddressCB cb = new MemberAddressCB();
   cb.xsetupForDerivedReferrer(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepRegionId_SpecifyDerivedReferrer_MemberAddressList(
           cb.query()); // for saving query-value.
   registerSpecifyDerivedReferrer(
       function, cb.query(), "REGION_ID", "REGION_ID", subQueryPropertyName, aliasName, option);
 }