Package info.archinnov.achilles.annotations

Examples of info.archinnov.achilles.annotations.Strategy


        }
        return null;
    }

    public InsertStrategy getInsertStrategy(Class<?> type, EntityParsingContext parsingContext) {
        Strategy strategy = type.getAnnotation(Strategy.class);

        return strategy != null ? strategy.insert() : parsingContext.getDefaultInsertStrategy();
    }
View Full Code Here


        return strategy != null ? strategy.insert() : parsingContext.getDefaultInsertStrategy();
    }

    public NamingStrategy determineClassNamingStrategy(ConfigurationContext configContext, Class<?> currentEntityClass) {
        final Strategy strategy = currentEntityClass.getAnnotation(Strategy.class);
        return strategy != null ? strategy.naming() : configContext.getGlobalNamingStrategy();
    }
View Full Code Here

TOP

Related Classes of info.archinnov.achilles.annotations.Strategy

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.