Examples of ISqlJetTypeDef


Examples of org.tmatesoft.sqljet.core.schema.ISqlJetTypeDef

    public ISqlJetTypeDef getType() {
        return type;
    }

    public SqlJetTypeAffinity getTypeAffinity() {
        ISqlJetTypeDef type = getType();
        if (type == null) {
            return SqlJetTypeAffinity.decode(null);
        }
        List<String> typeNames = type.getNames();
        if (typeNames.size() == 1) {
            return SqlJetTypeAffinity.decode(typeNames.get(0)); // common case
        }
        String types = "";
        for (String typeName : getType().getNames()) {
View Full Code Here

Examples of org.tmatesoft.sqljet.core.schema.ISqlJetTypeDef

    public boolean hasExactlyIntegerType() {
        if (getTypeAffinity() != SqlJetTypeAffinity.INTEGER) {
            return false;
        }
        final ISqlJetTypeDef type = getType();
        if (type == null || type.getNames() == null || type.getNames().size() == 0) {
            return false;
        }
        return "INTEGER".equals(type.getNames().get(0).toUpperCase());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.