Package org.apache.cayenne.access.types

Examples of org.apache.cayenne.access.types.CalendarType


    protected ExtendedType delegateCalendarType;
    protected ExtendedType delegateDateType;

    public SQLiteCalendarType(Class calendarClass) {
        this.delegateCalendarType = new CalendarType(calendarClass);
        this.delegateDateType = new SQLiteDateType();
    }
View Full Code Here


        map.registerType(new ByteArrayType(false, true));

        // enable Calendar
        // TODO: andrus 9/1/2006 - maybe use ExtendedTypeFactory to handle all calendar
        // subclasses at once
        map.registerType(new CalendarType(GregorianCalendar.class));
        map.registerType(new CalendarType(Calendar.class));

        map.registerType(new BigIntegerType());
    }
View Full Code Here

        map.registerType(new ByteArrayType(false, true));
       
        // enable Calendar
        // TODO: andrus 9/1/2006 - maybe use ExtendedTypeFactory to handle all calendar
        // subclasses at once
        map.registerType(new CalendarType(GregorianCalendar.class));
        map.registerType(new CalendarType(Calendar.class));
       
        map.registerType(new BigIntegerType());
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.access.types.CalendarType

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.