Examples of CIgnore


Examples of org.caffinitas.mapper.annotations.CIgnore

        }

        for (int i = 0; i < l; i++) {

            CColumn column = cols.length > 0 ? cols[i] : null;
            CIgnore ignore = ignores.length > 0 ? ignores[i] : null;

            String columnName = makeColumnName(attributeOverrides, nameMapper, columnNamePrefix, column, pNames[i]);

            boolean allowNotExists = ignore != null && ignore.notExists();
            boolean ignoreTypeMismatch = ignore != null && ignore.typeMismatch();
            boolean staticCol = column != null && column.isStatic();

            DataType dataType = column != null ? column.type().getDataType() : null;
            if (dataType == null) {
                dataType = ParseAttribute.guessDataTypeName(cTypes[i], null, accessor.accessible()).getDataType();
View Full Code Here

Examples of org.caffinitas.mapper.annotations.CIgnore

    }

    static void setupSingleColumn(MappedAttribute mappedAttribute, ParseAttribute parseAttribute,
                                  AttrOverrideMap attributeOverrides, NameMapper nameMapper, String columnNamePrefix) {
        CColumn column = parseAttribute.column;
        CIgnore ignore = parseAttribute.ignore;

        String columnName = mappedAttribute.makeColumnName(attributeOverrides, nameMapper, columnNamePrefix, column);

        boolean allowNotExists = ignore != null && ignore.notExists();
        boolean ignoreTypeMismatch = ignore != null && ignore.typeMismatch();
        boolean staticCol = column != null && column.isStatic();

        CqlColumn cqlColumn =
            allowNotExists || ignoreTypeMismatch || staticCol || mappedAttribute.lazy
                ? new CqlColumnSimple(columnName, parseAttribute.dataType, allowNotExists, ignoreTypeMismatch, staticCol, mappedAttribute.lazy)
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.