Ejemplo n.º 1
0
 public void setSqlName(String sqlName) {
   this.sqlName = sqlName;
   this.columnNameFirstLower = StringHelper.getColumnNameFirstLower(sqlName);
   this.columnNameFirstUpper = StringHelper.getColumnNameFirstUpper(sqlName);
 }
Ejemplo n.º 2
0
 /**
  * 判断是否包含keywords
  *
  * @param keywords
  * @return
  */
 public boolean contains(String keywords) {
   if (keywords == null) throw new IllegalArgumentException("'keywords' must be not null");
   return StringHelper.contains(getSqlName(), keywords.split(","));
 }