Package com.db4o.config

Examples of com.db4o.config.ObjectClass.callConstructor()


        return configuration;
    }
   
    private void configureUser(Configuration configuration) {
        ObjectClass userConfiguration = configuration.objectClass(UserImpl.class);
        userConfiguration.callConstructor(true);
        userConfiguration.objectField("subscriptions").cascadeOnActivate(true);
        userConfiguration.objectField("subscriptions").cascadeOnDelete(true);
        userConfiguration.objectField("subscriptions").cascadeOnUpdate(true);
    }
   
View Full Code Here


        userConfiguration.objectField("subscriptions").cascadeOnUpdate(true);
    }
   
    private void configureFeedSubscription(Configuration configuration) {
        ObjectClass feedConfiguration = configuration.objectClass(FeedSubscriptionImpl.class);
        feedConfiguration.callConstructor(true);
    }

    private void configureOtherObjects(Configuration configuration) {
        ObjectClass urlConfiguration = configuration.objectClass(URL.class);
        urlConfiguration.translate(new UrlConstructor());
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.