Package org.drools.planner.core.domain.variable

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


                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

                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

Related Classes of org.drools.planner.core.domain.variable.DependentPlanningVariableDescriptor

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.