Package org.optaplanner.core.impl.domain.entity.descriptor

Examples of org.optaplanner.core.impl.domain.entity.descriptor.EntityDescriptor.processAnnotations()


        solutionDescriptor.processAnnotations(descriptorPolicy);
        for (Class<?> entityClass : entityClasses) {
            EntityDescriptor entityDescriptor = new EntityDescriptor(
                    solutionDescriptor, entityClass);
            solutionDescriptor.addEntityDescriptor(entityDescriptor);
            entityDescriptor.processAnnotations(descriptorPolicy);
        }
        solutionDescriptor.afterAnnotationsProcessed(descriptorPolicy);
        return solutionDescriptor;
    }
View Full Code Here


                    "Configure at least 1 <entityClass> in the solver configuration.");
        }
        for (Class<?> entityClass : entityClassList) {
            EntityDescriptor entityDescriptor = new EntityDescriptor(solutionDescriptor, entityClass);
            solutionDescriptor.addEntityDescriptor(entityDescriptor);
            entityDescriptor.processAnnotations(descriptorPolicy);
        }
        solutionDescriptor.afterAnnotationsProcessed(descriptorPolicy);
        return solutionDescriptor;
    }
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.