Record Class AbstractCriteriaMethodMatch.MethodResult
java.lang.Object
java.lang.Record
io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch.MethodResult
- Record Components:
resultType
- The result typeisDto
- Is DTOisRuntimeDtoConversion
- Is DTO converted at the runtime
- Enclosing class:
- AbstractCriteriaMethodMatch
protected static record AbstractCriteriaMethodMatch.MethodResult(io.micronaut.inject.ast.ClassElement resultType, boolean isDto, boolean isRuntimeDtoConversion)
extends Record
Method result.
-
Constructor Summary
ModifierConstructorDescriptionprotected
MethodResult
(io.micronaut.inject.ast.ClassElement resultType, boolean isDto, boolean isRuntimeDtoConversion) Creates an instance of aMethodResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
isDto()
Returns the value of theisDto
record component.boolean
Returns the value of theisRuntimeDtoConversion
record component.io.micronaut.inject.ast.ClassElement
Returns the value of theresultType
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
MethodResult
protected MethodResult(io.micronaut.inject.ast.ClassElement resultType, boolean isDto, boolean isRuntimeDtoConversion) Creates an instance of aMethodResult
record class.- Parameters:
resultType
- the value for theresultType
record componentisDto
- the value for theisDto
record componentisRuntimeDtoConversion
- the value for theisRuntimeDtoConversion
record 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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
resultType
public io.micronaut.inject.ast.ClassElement resultType()Returns the value of theresultType
record component.- Returns:
- the value of the
resultType
record component
-
isDto
public boolean isDto()Returns the value of theisDto
record component.- Returns:
- the value of the
isDto
record component
-
isRuntimeDtoConversion
public boolean isRuntimeDtoConversion()Returns the value of theisRuntimeDtoConversion
record component.- Returns:
- the value of the
isRuntimeDtoConversion
record component
-