@Override
 protected String doBuildColumnString(String dm) {
   StringBuilder sb = new StringBuilder();
   sb.append(dm).append(xfND(_withdrawalReasonCode));
   sb.append(dm).append(xfND(_withdrawalReasonText));
   sb.append(dm).append(xfND(_displayOrder));
   if (sb.length() > dm.length()) {
     sb.delete(0, dm.length());
   }
   sb.insert(0, "{").append("}");
   return sb.toString();
 }
コード例 #2
0
 @Override
 protected String doBuildRelationString(String dm) {
   StringBuilder sb = new StringBuilder();
   if (_member != null && _member.isPresent()) {
     sb.append(dm).append("member");
   }
   if (_product != null && _product.isPresent()) {
     sb.append(dm).append("product");
   }
   if (_purchasePaymentList != null && !_purchasePaymentList.isEmpty()) {
     sb.append(dm).append("purchasePaymentList");
   }
   if (sb.length() > dm.length()) {
     sb.delete(0, dm.length()).insert(0, "(").append(")");
   }
   return sb.toString();
 }
コード例 #3
0
 @Override
 protected String doBuildStringWithRelation(String li) {
   StringBuilder sb = new StringBuilder();
   if (_member != null && _member.isPresent()) {
     sb.append(li).append(xbRDS(_member, "member"));
   }
   if (_product != null && _product.isPresent()) {
     sb.append(li).append(xbRDS(_product, "product"));
   }
   if (_purchasePaymentList != null) {
     for (PurchasePayment et : _purchasePaymentList) {
       if (et != null) {
         sb.append(li).append(xbRDS(et, "purchasePaymentList"));
       }
     }
   }
   return sb.toString();
 }
 @Override
 protected String doBuildRelationString(String dm) {
   StringBuilder sb = new StringBuilder();
   if (_memberWithdrawalList != null && !_memberWithdrawalList.isEmpty()) {
     sb.append(dm).append("memberWithdrawalList");
   }
   if (sb.length() > dm.length()) {
     sb.delete(0, dm.length()).insert(0, "(").append(")");
   }
   return sb.toString();
 }
 @Override
 protected String doBuildStringWithRelation(String li) {
   StringBuilder sb = new StringBuilder();
   if (_memberWithdrawalList != null) {
     for (MemberWithdrawal et : _memberWithdrawalList) {
       if (et != null) {
         sb.append(li).append(xbRDS(et, "memberWithdrawalList"));
       }
     }
   }
   return sb.toString();
 }
コード例 #6
0
 @Override
 protected String doBuildColumnString(String dm) {
   StringBuilder sb = new StringBuilder();
   sb.append(dm).append(xfND(_purchaseId));
   sb.append(dm).append(xfND(_memberId));
   sb.append(dm).append(xfND(_productId));
   sb.append(dm).append(xfND(_purchaseDatetime));
   sb.append(dm).append(xfND(_purchaseCount));
   sb.append(dm).append(xfND(_purchasePrice));
   sb.append(dm).append(xfND(_paymentCompleteFlg));
   sb.append(dm).append(xfND(_registerDatetime));
   sb.append(dm).append(xfND(_registerUser));
   sb.append(dm).append(xfND(_updateDatetime));
   sb.append(dm).append(xfND(_updateUser));
   sb.append(dm).append(xfND(_versionNo));
   if (sb.length() > dm.length()) {
     sb.delete(0, dm.length());
   }
   sb.insert(0, "{").append("}");
   return sb.toString();
 }