Package com.mycila.testing.plugin.db.api

Examples of com.mycila.testing.plugin.db.api.SqlColumn


            // create columns
            this.sqlColumnsByName = new HashMap<String, SqlColumn>(columnCount);
            final List<SqlColumn> columns = new ArrayList<SqlColumn>(columnCount);
            for (int i = 0; i < columnCount; i++) {
                SqlColumn col = new SqlColumnImpl(this, columnHeaders.get(i));
                columns.add(col);
                sqlColumnsByName.put(columnHeaders.get(i).name(), col);
            }
            this.sqlColumns = Collections.unmodifiableList(columns);
View Full Code Here


        return sqlColumns.get(index);
    }

    public SqlColumn column(String name) {
        notNull("Column name", name);
        SqlColumn column = sqlColumnsByName.get(name.toUpperCase());
        if (column == null) {
            throw new IllegalArgumentException("Inexisting column name: " + name);
        }
        return column;
    }
View Full Code Here

TOP

Related Classes of com.mycila.testing.plugin.db.api.SqlColumn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.