Package testsuite.clusterj.model

Examples of testsuite.clusterj.model.TimeAsSqlTimeTypes


    }


    private void createAllTimeAsSqlTimeTypesInstances(int number) {
        for (int i = 0; i < number; ++i) {
            TimeAsSqlTimeTypes instance = session.newInstance(TimeAsSqlTimeTypes.class);
            instance.setId(i);
            instance.setTime_not_null_hash(getTimeFor(i));
            instance.setTime_not_null_btree(getTimeFor(i));
            instance.setTime_not_null_both(getTimeFor(i));
            instance.setTime_not_null_none(getTimeFor(i));
            instances.add(instance);
        }
    }
View Full Code Here


    protected Time getTimeFor(int i) {
        return new Time(getMillisFor(0, 0, i, 0));
    }

    public static String toString(IdBase instance) {
        TimeAsSqlTimeTypes timetype = (TimeAsSqlTimeTypes)instance;
        StringBuffer buffer = new StringBuffer("TimeTypes id: ");
        buffer.append(timetype.getId());
        buffer.append("; time_not_null_both: ");
        buffer.append(timetype.getTime_not_null_both().toString());
        buffer.append("; time_not_null_btree: ");
        buffer.append(timetype.getTime_not_null_btree().toString());
        buffer.append("; time_not_null_hash: ");
        buffer.append(timetype.getTime_not_null_hash().toString());
        buffer.append("; time_not_null_none: ");
        buffer.append(timetype.getTime_not_null_none().toString());
        return buffer.toString();
    }
View Full Code Here

TOP

Related Classes of testsuite.clusterj.model.TimeAsSqlTimeTypes

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.