Record Class GizmoSolutionClonerImplementor.ClonerMethodDescriptor
java.lang.Object
java.lang.Record
ai.timefold.solver.core.impl.domain.solution.cloner.gizmo.GizmoSolutionClonerImplementor.ClonerMethodDescriptor
- Enclosing class:
- GizmoSolutionClonerImplementor
protected static record GizmoSolutionClonerImplementor.ClonerMethodDescriptor(GizmoSolutionOrEntityDescriptor entityDescriptor, io.quarkus.gizmo2.creator.BlockCreator blockCreator, io.quarkus.gizmo2.Var createdCloneMap, boolean isBottom, io.quarkus.gizmo2.Var cloneQueue)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClonerMethodDescriptor(GizmoSolutionOrEntityDescriptor entityDescriptor, io.quarkus.gizmo2.creator.BlockCreator blockCreator, io.quarkus.gizmo2.Var createdCloneMap, boolean isBottom, io.quarkus.gizmo2.Var cloneQueue) Creates an instance of aClonerMethodDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.gizmo2.creator.BlockCreatorReturns the value of theblockCreatorrecord component.io.quarkus.gizmo2.VarReturns the value of thecloneQueuerecord component.io.quarkus.gizmo2.VarReturns the value of thecreatedCloneMaprecord component.Returns the value of theentityDescriptorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisBottom()Returns the value of theisBottomrecord component.final StringtoString()Returns a string representation of this record class.withBlockCreator(io.quarkus.gizmo2.creator.BlockCreator blockCreator) withCloneQueue(io.quarkus.gizmo2.Var cloneQueue) withCreatedCloneMap(io.quarkus.gizmo2.Var createdCloneMap)
-
Constructor Details
-
ClonerMethodDescriptor
protected ClonerMethodDescriptor(GizmoSolutionOrEntityDescriptor entityDescriptor, io.quarkus.gizmo2.creator.BlockCreator blockCreator, io.quarkus.gizmo2.Var createdCloneMap, boolean isBottom, io.quarkus.gizmo2.Var cloneQueue) Creates an instance of aClonerMethodDescriptorrecord class.- Parameters:
entityDescriptor- the value for theentityDescriptorrecord componentblockCreator- the value for theblockCreatorrecord componentcreatedCloneMap- the value for thecreatedCloneMaprecord componentisBottom- the value for theisBottomrecord componentcloneQueue- the value for thecloneQueuerecord component
-
-
Method Details
-
withBlockCreator
public GizmoSolutionClonerImplementor.ClonerMethodDescriptor withBlockCreator(io.quarkus.gizmo2.creator.BlockCreator blockCreator) -
withCreatedCloneMap
public GizmoSolutionClonerImplementor.ClonerMethodDescriptor withCreatedCloneMap(io.quarkus.gizmo2.Var createdCloneMap) -
withCloneQueue
public GizmoSolutionClonerImplementor.ClonerMethodDescriptor withCloneQueue(io.quarkus.gizmo2.Var cloneQueue) -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
entityDescriptor
Returns the value of theentityDescriptorrecord component.- Returns:
- the value of the
entityDescriptorrecord component
-
blockCreator
public io.quarkus.gizmo2.creator.BlockCreator blockCreator()Returns the value of theblockCreatorrecord component.- Returns:
- the value of the
blockCreatorrecord component
-
createdCloneMap
public io.quarkus.gizmo2.Var createdCloneMap()Returns the value of thecreatedCloneMaprecord component.- Returns:
- the value of the
createdCloneMaprecord component
-
isBottom
public boolean isBottom()Returns the value of theisBottomrecord component.- Returns:
- the value of the
isBottomrecord component
-
cloneQueue
public io.quarkus.gizmo2.Var cloneQueue()Returns the value of thecloneQueuerecord component.- Returns:
- the value of the
cloneQueuerecord component
-