コード例 #1
0
 protected String buildRelationString() {
   StringBuilder sb = new StringBuilder();
   String c = ",";
   if (_nextSchemaProductStatus != null) {
     sb.append(c).append("nextSchemaProductStatus");
   }
   if (sb.length() > c.length()) {
     sb.delete(0, c.length()).insert(0, "(").append(")");
   }
   return sb.toString();
 }
コード例 #2
0
 protected String buildColumnString() {
   StringBuilder sb = new StringBuilder();
   String delimiter = ", ";
   sb.append(delimiter).append(getRefNextTargetId());
   sb.append(delimiter).append(getNextTargetCode());
   if (sb.length() > delimiter.length()) {
     sb.delete(0, delimiter.length());
   }
   sb.insert(0, "{").append("}");
   return sb.toString();
 }