Record Class CollectionInterpretationProduction.Produced
java.lang.Object
java.lang.Record
org.hibernate.collection.spi.CollectionInterpretationProduction.Produced
- All Implemented Interfaces:
CollectionInterpretationProduction
- Enclosing interface:
CollectionInterpretationProduction
public static record CollectionInterpretationProduction.Produced(@Nonnull CollectionMutationInterpretation interpretation)
extends Record
implements CollectionInterpretationProduction
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface CollectionInterpretationProduction
CollectionInterpretationProduction.InitializationRequired, CollectionInterpretationProduction.InitializationRequiredHolder, CollectionInterpretationProduction.Produced -
Constructor Summary
ConstructorsConstructorDescriptionProduced(CollectionMutationInterpretation interpretation) Creates an instance of aProducedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinterpretationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Produced
Creates an instance of aProducedrecord class.- Parameters:
interpretation- the value for theinterpretationrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
interpretation
Returns the value of theinterpretationrecord component.- Returns:
- the value of the
interpretationrecord component
-