コード例 #1
0
 // ===================================================================================
 //                                                                       MyselfDerived
 //                                                                       =============
 public void xsmyselfDerive(String fn, SubQuery<TweetCB> sq, String al, DerivedReferrerOption op) {
   assertObjectNotNull("subQuery", sq);
   TweetCB cb = new TweetCB();
   cb.xsetupForDerivedReferrer(this);
   lockCall(() -> sq.query(cb));
   String pp = keepSpecifyMyselfDerived(cb.query());
   String pk = "TWEET_ID";
   registerSpecifyMyselfDerived(fn, cb.query(), pk, pk, pp, "myselfDerived", al, op);
 }
コード例 #2
0
 @SuppressWarnings("unchecked")
 protected <CB extends ConditionBean> void xqderiveMyselfDerived(
     String fn, SubQuery<CB> sq, String rd, Object vl, DerivedReferrerOption op) {
   assertObjectNotNull("subQuery", sq);
   TweetCB cb = new TweetCB();
   cb.xsetupForDerivedReferrer(this);
   sq.query((CB) cb);
   String pk = "TWEET_ID";
   String sqpp = keepQueryMyselfDerived(cb.query()); // for saving query-value.
   String prpp = keepQueryMyselfDerivedParameter(vl);
   registerQueryMyselfDerived(fn, cb.query(), pk, pk, sqpp, "myselfDerived", rd, vl, prpp, op);
 }