public void setSqlName(String sqlName) { this.sqlName = sqlName; this.columnNameFirstLower = StringHelper.getColumnNameFirstLower(sqlName); this.columnNameFirstUpper = StringHelper.getColumnNameFirstUpper(sqlName); }
/** * 判断是否包含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(",")); }