コード例 #1
0
 public void xqderiveMemberServiceList(
     String function,
     SubQuery<MemberServiceCB> subQuery,
     String operand,
     Object value,
     DerivedReferrerOption option) {
   assertObjectNotNull("subQuery<MemberServiceCB>", subQuery);
   MemberServiceCB cb = new MemberServiceCB();
   cb.xsetupForDerivedReferrer(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepServiceRankCode_QueryDerivedReferrer_MemberServiceList(
           cb.query()); // for saving query-value.
   String parameterPropertyName =
       keepServiceRankCode_QueryDerivedReferrer_MemberServiceListParameter(value);
   registerQueryDerivedReferrer(
       function,
       cb.query(),
       "SERVICE_RANK_CODE",
       "SERVICE_RANK_CODE",
       subQueryPropertyName,
       operand,
       value,
       parameterPropertyName,
       option);
 }
コード例 #2
0
 /**
  * Set up ExistsReferrer (co-related sub-query). <br>
  * {exists (select SERVICE_RANK_CODE from MEMBER_SERVICE where ...)} <br>
  * MEMBER_SERVICE as 'memberServiceAsOne'.
  *
  * <pre>
  * cb.query().<span style="color: #FD4747">existsMemberServiceList</span>(new SubQuery&lt;MemberServiceCB&gt;() {
  *     public void query(ServiceRankCB subCB) {
  *         subCB.query().setXxx...
  *     }
  * });
  * </pre>
  *
  * @param subQuery The sub-query of MemberServiceList for 'exists'. (NotNull)
  */
 public void existsMemberServiceList(SubQuery<MemberServiceCB> subQuery) {
   assertObjectNotNull("subQuery<MemberServiceCB>", subQuery);
   MemberServiceCB cb = new MemberServiceCB();
   cb.xsetupForExistsReferrer(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepServiceRankCode_ExistsReferrer_MemberServiceList(cb.query()); // for saving query-value.
   registerExistsReferrer(
       cb.query(), "SERVICE_RANK_CODE", "SERVICE_RANK_CODE", subQueryPropertyName);
 }
コード例 #3
0
 /**
  * Set up NotInScopeRelation (sub-query). <br>
  * {not in (select SERVICE_RANK_CODE from MEMBER_SERVICE where ...)} <br>
  * MEMBER_SERVICE as 'memberServiceAsOne'.
  *
  * @param subQuery The sub-query of MemberServiceList for 'not in-scope'. (NotNull)
  */
 public void notInScopeMemberServiceList(SubQuery<MemberServiceCB> subQuery) {
   assertObjectNotNull("subQuery<MemberServiceCB>", subQuery);
   MemberServiceCB cb = new MemberServiceCB();
   cb.xsetupForInScopeRelation(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepServiceRankCode_NotInScopeRelation_MemberServiceList(
           cb.query()); // for saving query-value.
   registerNotInScopeRelation(
       cb.query(), "SERVICE_RANK_CODE", "SERVICE_RANK_CODE", subQueryPropertyName);
 }
コード例 #4
0
 public void xsderiveMemberServiceList(
     String function,
     SubQuery<MemberServiceCB> subQuery,
     String aliasName,
     DerivedReferrerOption option) {
   assertObjectNotNull("subQuery<MemberServiceCB>", subQuery);
   MemberServiceCB cb = new MemberServiceCB();
   cb.xsetupForDerivedReferrer(this);
   subQuery.query(cb);
   String subQueryPropertyName =
       keepServiceRankCode_SpecifyDerivedReferrer_MemberServiceList(
           cb.query()); // for saving query-value.
   registerSpecifyDerivedReferrer(
       function,
       cb.query(),
       "SERVICE_RANK_CODE",
       "SERVICE_RANK_CODE",
       subQueryPropertyName,
       aliasName,
       option);
 }