Class DefaultPlanningEntityMetaModel<Solution_,Entity_>
java.lang.Object
ai.timefold.solver.core.impl.domain.solution.descriptor.DefaultPlanningEntityMetaModel<Solution_,Entity_>
- All Implemented Interfaces:
PlanningEntityMetaModel<Solution_,Entity_>
@NullMarked
public final class DefaultPlanningEntityMetaModel<Solution_,Entity_>
extends Object
implements PlanningEntityMetaModel<Solution_,Entity_>
-
Method Summary
Modifier and TypeMethodDescriptionsolution()Describes thePlanningSolutionthat owns this entity.toString()type()Returns the most specific class of the entity.Returns the variables declared by the entity, both genuine and shadow.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.preview.api.domain.metamodel.PlanningEntityMetaModel
genuineVariable, genuineVariable, genuineVariables, hasVariable, isGenuine, planningListVariable, planningVariable, shadowVariable, variable
-
Method Details
-
entityDescriptor
-
solution
Description copied from interface:PlanningEntityMetaModelDescribes thePlanningSolutionthat owns this entity.- Specified by:
solutionin interfacePlanningEntityMetaModel<Solution_,Entity_> - Returns:
- never null, the solution meta-model.
-
type
Description copied from interface:PlanningEntityMetaModelReturns the most specific class of the entity.- Specified by:
typein interfacePlanningEntityMetaModel<Solution_,Entity_> - Returns:
- The entity type.
-
variables
Description copied from interface:PlanningEntityMetaModelReturns the variables declared by the entity, both genuine and shadow.- Specified by:
variablesin interfacePlanningEntityMetaModel<Solution_,Entity_> - Returns:
- Variables declared by the entity.
-
toString
-