Record Class GizmoSolutionClonerImplementor.ClonerDescriptor

java.lang.Object
java.lang.Record
ai.timefold.solver.core.impl.domain.solution.cloner.gizmo.GizmoSolutionClonerImplementor.ClonerDescriptor
Enclosing class:
GizmoSolutionClonerImplementor

protected static record GizmoSolutionClonerImplementor.ClonerDescriptor(SolutionDescriptor<?> solutionDescriptor, Map<Class<?>,GizmoSolutionOrEntityDescriptor> memoizedSolutionOrEntityDescriptorMap, SortedSet<Class<?>> deepClonedClassesSortedSet, io.quarkus.gizmo2.creator.ClassCreator classCreator, io.quarkus.gizmo2.StaticFieldVar fallbackClonerField) extends Record
  • Constructor Details

    • ClonerDescriptor

      protected ClonerDescriptor(SolutionDescriptor<?> solutionDescriptor, Map<Class<?>,GizmoSolutionOrEntityDescriptor> memoizedSolutionOrEntityDescriptorMap, SortedSet<Class<?>> deepClonedClassesSortedSet, io.quarkus.gizmo2.creator.ClassCreator classCreator, io.quarkus.gizmo2.StaticFieldVar fallbackClonerField)
      Creates an instance of a ClonerDescriptor record class.
      Parameters:
      solutionDescriptor - the value for the solutionDescriptor record component
      memoizedSolutionOrEntityDescriptorMap - the value for the memoizedSolutionOrEntityDescriptorMap record component
      deepClonedClassesSortedSet - the value for the deepClonedClassesSortedSet record component
      classCreator - the value for the classCreator record component
      fallbackClonerField - the value for the fallbackClonerField record component
  • Method Details

    • withFallbackClonerField

      public GizmoSolutionClonerImplementor.ClonerDescriptor withFallbackClonerField(io.quarkus.gizmo2.StaticFieldVar fallbackClonerField)
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • solutionDescriptor

      public SolutionDescriptor<?> solutionDescriptor()
      Returns the value of the solutionDescriptor record component.
      Returns:
      the value of the solutionDescriptor record component
    • memoizedSolutionOrEntityDescriptorMap

      public Map<Class<?>,GizmoSolutionOrEntityDescriptor> memoizedSolutionOrEntityDescriptorMap()
      Returns the value of the memoizedSolutionOrEntityDescriptorMap record component.
      Returns:
      the value of the memoizedSolutionOrEntityDescriptorMap record component
    • deepClonedClassesSortedSet

      public SortedSet<Class<?>> deepClonedClassesSortedSet()
      Returns the value of the deepClonedClassesSortedSet record component.
      Returns:
      the value of the deepClonedClassesSortedSet record component
    • classCreator

      public io.quarkus.gizmo2.creator.ClassCreator classCreator()
      Returns the value of the classCreator record component.
      Returns:
      the value of the classCreator record component
    • fallbackClonerField

      public io.quarkus.gizmo2.StaticFieldVar fallbackClonerField()
      Returns the value of the fallbackClonerField record component.
      Returns:
      the value of the fallbackClonerField record component