Record Class DialectScopeRegistration
java.lang.Object
java.lang.Record
org.hibernate.boot.models.spi.DialectScopeRegistration
-
Constructor Summary
ConstructorsConstructorDescriptionDialectScopeRegistration(String name, String content, String minimumVersion, String maximumVersion) Creates an instance of aDialectScopeRegistrationrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themaximumVersionrecord component.Returns the value of theminimumVersionrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DialectScopeRegistration
public DialectScopeRegistration(String name, String content, String minimumVersion, String maximumVersion) Creates an instance of aDialectScopeRegistrationrecord class.- Parameters:
name- the value for thenamerecord componentcontent- the value for thecontentrecord componentminimumVersion- the value for theminimumVersionrecord componentmaximumVersion- the value for themaximumVersionrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
minimumVersion
Returns the value of theminimumVersionrecord component.- Returns:
- the value of the
minimumVersionrecord component
-
maximumVersion
Returns the value of themaximumVersionrecord component.- Returns:
- the value of the
maximumVersionrecord component
-