protected ColumnNameListImpl( SQLProcessorAggregator processor, Class<? extends ColumnNameList> implClass, Collection<String> columnNames) { super(processor, implClass); NullArgumentException.validateNotNull("column names", columnNames); if (columnNames.isEmpty()) { throw new IllegalArgumentException("Column name list must have at least one column."); } for (String columnName : columnNames) { NullArgumentException.validateNotNull("column name", columnName); } this._columnNames = Collections.unmodifiableList(new ArrayList<String>(columnNames)); }
public DeleteBySearchBuilder setTargetTable(TargetTable table) { NullArgumentException.validateNotNull("table", table); this._targetTable = table; return this; }
public DeleteBySearchBuilderImpl(SQLProcessorAggregator processor, BooleanBuilder whereBuilder) { super(processor); NullArgumentException.validateNotNull("where builder", whereBuilder); this._whereBuilder = whereBuilder; }