Package org.castor.jdo.conf

Examples of org.castor.jdo.conf.Mapping


     * @param mapping URL to retrieve mapping configuration file.
     * @return JDO Mapping configuration.
     * @deprecated Pass mapping URL's to createDatabase() methods instead.
     */
    public static Mapping createMapping(final String mapping) {
        Mapping mapConf = new Mapping();
        mapConf.setHref(mapping);
        return mapConf;
    }
View Full Code Here


     * @return Array of JDO Mapping configurations.
     */
    private static Mapping[] createMappings(final String[] mappings) {
        Mapping[] mapConfs = new Mapping[mappings.length];
        for (int i = 0; i < mappings.length; i++) {
            mapConfs[i] = new Mapping();
            mapConfs[i].setHref(mappings[i]);
        }
        return mapConfs;
    }
View Full Code Here

TOP

Related Classes of org.castor.jdo.conf.Mapping

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.