Record Class InFlightMetadataCollector.CollectionTypeRegistrationDescriptor
java.lang.Object
java.lang.Record
org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor
- Enclosing interface:
InFlightMetadataCollector
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionTypeRegistrationDescriptor(Class<? extends UserCollectionType> implementation, Map<String, String> parameters) Creates an instance of aCollectionTypeRegistrationDescriptorrecord 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.Class<? extends UserCollectionType> Returns the value of theimplementationrecord component.Returns the value of theparametersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CollectionTypeRegistrationDescriptor
public CollectionTypeRegistrationDescriptor(Class<? extends UserCollectionType> implementation, Map<String, String> parameters) Creates an instance of aCollectionTypeRegistrationDescriptorrecord class.- Parameters:
implementation- the value for theimplementationrecord componentparameters- the value for theparametersrecord 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). -
implementation
Returns the value of theimplementationrecord component.- Returns:
- the value of the
implementationrecord component
-
parameters
-