Examples of DependentPlanningVariableDescriptor


Examples of org.drools.planner.core.domain.variable.DependentPlanningVariableDescriptor

                if (propertyDescriptor.getWriteMethod() == null) {
                    throw new IllegalStateException("The planningEntityClass (" + planningEntityClass
                            + ") has a DependentPlanningVariable annotated property (" + propertyDescriptor.getName()
                            + ") that should have a setter.");
                }
                DependentPlanningVariableDescriptor dependentPlanningVariableDescriptor
                        = new DependentPlanningVariableDescriptor(this, propertyDescriptor);
                dependentPlanningVariableDescriptorMap.put(propertyDescriptor.getName(),
                        dependentPlanningVariableDescriptor);
                dependentPlanningVariableDescriptor.processAnnotations();
            }
        }
        if (noPlanningVariableAnnotation) {
            throw new IllegalStateException("The planningEntityClass (" + planningEntityClass
                    + ") should have at least 1 getter with a PlanningVariable annotation.");
View Full Code Here

Examples of org.drools.planner.core.domain.variable.DependentPlanningVariableDescriptor

                if (propertyDescriptor.getWriteMethod() == null) {
                    throw new IllegalStateException("The planningEntityClass (" + planningEntityClass
                            + ") has a DependentPlanningVariable annotated property (" + propertyDescriptor.getName()
                            + ") that should have a setter.");
                }
                DependentPlanningVariableDescriptor dependentPlanningVariableDescriptor
                        = new DependentPlanningVariableDescriptor(this, propertyDescriptor);
                dependentPlanningVariableDescriptorMap.put(propertyDescriptor.getName(),
                        dependentPlanningVariableDescriptor);
                dependentPlanningVariableDescriptor.processAnnotations();
            }
        }
        if (noPlanningVariableAnnotation) {
            throw new IllegalStateException("The planningEntityClass (" + planningEntityClass
                    + ") should have at least 1 getter with a PlanningVariable annotation.");
View Full Code Here

Examples of org.drools.planner.core.domain.variable.DependentPlanningVariableDescriptor

                if (propertyDescriptor.getWriteMethod() == null) {
                    throw new IllegalStateException("The planningEntityClass (" + planningEntityClass
                            + ") has a DependentPlanningVariable annotated property (" + propertyDescriptor.getName()
                            + ") that should have a setter.");
                }
                DependentPlanningVariableDescriptor dependentPlanningVariableDescriptor
                        = new DependentPlanningVariableDescriptor(this, propertyDescriptor);
                dependentPlanningVariableDescriptorMap.put(propertyDescriptor.getName(),
                        dependentPlanningVariableDescriptor);
                dependentPlanningVariableDescriptor.processAnnotations();
            }
        }
        if (noPlanningVariableAnnotation) {
            throw new IllegalStateException("The planningEntityClass (" + planningEntityClass
                    + ") should have at least 1 getter with a PlanningVariable annotation.");
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.