Package com.asakusafw.runtime.value

Examples of com.asakusafw.runtime.value.DecimalOption.modify()


        testField(list, "getCDecimal200Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
        testField(list, "getCDecimal200Option", DATA.STRING_BIG_VALUE, decimalOption.modify(new BigDecimal("12345678901234567890")));
        testField(list, "getCDecimal200Option", DATA.BLANK, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NULL_STRING, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.BOOL_TRUE, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.BOOL_FALSE, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_DATE, decimalOption.modify(new BigDecimal(40179)));
        testField(list, "getCDecimal200Option", DATA.DATE_DATE_FMT1, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATE_FMT2, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATETIME_FIMT1, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATETIME_FIMT2, decimalOption.setNull());
View Full Code Here


        testField(list, "getCDecimal200Option", DATA.STRING_BIG_VALUE, decimalOption.modify(new BigDecimal("12345678901234567890")));
        testField(list, "getCDecimal200Option", DATA.BLANK, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NULL_STRING, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.BOOL_TRUE, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.BOOL_FALSE, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_DATE, decimalOption.modify(new BigDecimal(40179)));
        testField(list, "getCDecimal200Option", DATA.DATE_DATE_FMT1, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATE_FMT2, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATETIME_FIMT1, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATETIME_FIMT2, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DATE, decimalOption.setNull());
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.DATETIME_DATETIME_FIMT1, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATETIME_DATETIME_FIMT2, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DATETIME, decimalOption.setNull());

        // C_DECIMAL10_5のテスト
        testField(list, "getCDecimal255Option", DATA.NUMERIC_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MAX, decimalOption.modify(new BigDecimal(999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.DATETIME_DATETIME_FIMT2, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DATETIME, decimalOption.setNull());

        // C_DECIMAL10_5のテスト
        testField(list, "getCDecimal255Option", DATA.NUMERIC_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MAX, decimalOption.modify(new BigDecimal(999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.STRING_DATETIME, decimalOption.setNull());

        // C_DECIMAL10_5のテスト
        testField(list, "getCDecimal255Option", DATA.NUMERIC_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MAX, decimalOption.modify(new BigDecimal(999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
View Full Code Here

        // C_DECIMAL10_5のテスト
        testField(list, "getCDecimal255Option", DATA.NUMERIC_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MAX, decimalOption.modify(new BigDecimal(999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
View Full Code Here

        // C_DECIMAL10_5のテスト
        testField(list, "getCDecimal255Option", DATA.NUMERIC_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MAX, decimalOption.modify(new BigDecimal(999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
View Full Code Here

        testField(list, "getCDecimal255Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal255Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("6.54321")));
View Full Code Here

        testField(list, "getCDecimal255Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("6.54321")));
        testField(list, "getCDecimal255Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
View Full Code Here

        testField(list, "getCDecimal255Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal255Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal255Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal255Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal255Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("6.54321")));
        testField(list, "getCDecimal255Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
        testField(list, "getCDecimal255Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
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.