Example #1
0
 /**
  * Accept the query condition of primary key as equal.
  *
  * @param tweetId : PK, ID, NotNull, BIGINT(19). (NotNull)
  */
 public void acceptPrimaryKey(Long tweetId) {
   assertObjectNotNull("tweetId", tweetId);
   BsTweetCB cb = this;
   cb.query().setTweetId_Equal(tweetId);
   ;
 }
Example #2
0
 // ===================================================================================
 //                                                                 PrimaryKey Handling
 //                                                                 ===================
 public void acceptPrimaryKey(Integer id) {
   assertObjectNotNull("id", id);
   BsTweetCB cb = this;
   cb.query().setId_Equal(id);
 }