Record Class HibernateProcessorUtil.FormatMappers
java.lang.Object
java.lang.Record
io.quarkus.hibernate.orm.deployment.util.HibernateProcessorUtil.FormatMappers
- Enclosing class:
HibernateProcessorUtil
public static record HibernateProcessorUtil.FormatMappers(Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> jsonMapper, Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> xmlMapper, io.quarkus.hibernate.orm.runtime.customized.JsonFormatterCustomizationCheck jsonFormatterCustomizationCheck)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFormatMappers(Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> jsonMapper, Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> xmlMapper, io.quarkus.hibernate.orm.runtime.customized.JsonFormatterCustomizationCheck jsonFormatterCustomizationCheck) Creates an instance of aFormatMappersrecord 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.io.quarkus.hibernate.orm.runtime.customized.JsonFormatterCustomizationCheckReturns the value of thejsonFormatterCustomizationCheckrecord component.Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> Returns the value of thejsonMapperrecord component.final StringtoString()Returns a string representation of this record class.Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> Returns the value of thexmlMapperrecord component.
-
Constructor Details
-
FormatMappers
public FormatMappers(Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> jsonMapper, Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> xmlMapper, io.quarkus.hibernate.orm.runtime.customized.JsonFormatterCustomizationCheck jsonFormatterCustomizationCheck) Creates an instance of aFormatMappersrecord class.- Parameters:
jsonMapper- the value for thejsonMapperrecord componentxmlMapper- the value for thexmlMapperrecord componentjsonFormatterCustomizationCheck- the value for thejsonFormatterCustomizationCheckrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
jsonMapper
Returns the value of thejsonMapperrecord component.- Returns:
- the value of the
jsonMapperrecord component
-
xmlMapper
Returns the value of thexmlMapperrecord component.- Returns:
- the value of the
xmlMapperrecord component
-
jsonFormatterCustomizationCheck
public io.quarkus.hibernate.orm.runtime.customized.JsonFormatterCustomizationCheck jsonFormatterCustomizationCheck()Returns the value of thejsonFormatterCustomizationCheckrecord component.- Returns:
- the value of the
jsonFormatterCustomizationCheckrecord component
-