Package henplus.view

Examples of henplus.view.Column


                            break;
                        default:
                            colString = _rset.getString(col);
                            break;
                    }
                    final Column thisCol = new Column(colString);
                    currentRow[i] = thisCol;
                }
                if (_firstRowTime < 0) {
                    // read first row completely.
                    _firstRowTime = System.currentTimeMillis();
View Full Code Here


    private static void appendLines(final String symbol, final List<Column[]> rows, final SortedSet<henplus.sqlmodel.Column> rowSet) {
        for (henplus.sqlmodel.Column col : rowSet) {

            final Column[] row = new Column[8];
            row[0] = new Column(symbol);
            row[1] = new Column(col.getPosition());
            row[2] = new Column(col.getName());
            final String type = extractType(col);
            row[3] = new Column(type);
            row[4] = new Column(col.isNullable() ? YES : NO);

            final String defaultVal = col.getDefault();
            // oracle appends newline to default values for some reason.
            row[5] = new Column((defaultVal != null ? defaultVal.trim() : null));

            // String pkdesc = (String)pks.get(colname);
            row[6] = new Column(getPkDesc(col));
            // String fkdesc = (String)fks.get(colname);
            row[7] = new Column(getFkDesc(col));
            rows.add(row);
        }
    }
View Full Code Here

TOP

Related Classes of henplus.view.Column

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.