Package org.lightadmin.api.config.utils

Examples of org.lightadmin.api.config.utils.EntityNameExtractor.apply()


    @Test
    public void namedEntityNameExtraction() throws Exception {
        final EntityNameExtractor entityNameExtractor = forNamedPersistentEntity("name");

        assertEquals("Domain Type Object Name", entityNameExtractor.apply(new DomainType()));
    }

//    @Test
//    public void persistentEntityNameExtraction() throws Exception {
//        final DomainTypeEntityMetadata entityMetadata = domainTypeEntityMetadata("Entity", 1);
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.