|
OptaPlanner core 6.2.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={TYPE,METHOD})
@Inherited
@Retention(value=RUNTIME)
public @interface DeepPlanningClone
Marks a problem fact class as being required to be deep planning cloned.
Not needed for a Solution or PlanningEntity because those are automatically deep cloned.
Collection (or Map) properties.
Not needed for a Collection (or Map) property with a generic type of PlanningEntity
or a class with a DeepPlanningClone annotation, because those are automatically deep cloned.
Note: If it annotates a property (getter method for a field) returning Collection (or Map),
it clones the Collection (or Map),
but its elements (or keys and values) are only cloned if they are of a type that needs to be planning cloned.
This annotation is ignored if a custom SolutionCloner is set with PlanningSolution.solutionCloner()
or if the Solution implements PlanningCloneable.
|
OptaPlanner core 6.2.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||