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
ConstructorsModifierConstructorDescriptionprotectedMethodResult(io.micronaut.inject.ast.ClassElement resultType, boolean isDto, boolean isRuntimeDtoConversion) Creates an instance of aMethodResultrecord 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.booleanisDto()Returns the value of theisDtorecord component.booleanReturns the value of theisRuntimeDtoConversionrecord component.io.micronaut.inject.ast.ClassElementReturns the value of theresultTyperecord component.final StringtoString()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 aMethodResultrecord class.- Parameters:
resultType- the value for theresultTyperecord componentisDto- the value for theisDtorecord componentisRuntimeDtoConversion- the value for theisRuntimeDtoConversionrecord 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 theresultTyperecord component.- Returns:
- the value of the
resultTyperecord component
-
isDto
public boolean isDto()Returns the value of theisDtorecord component.- Returns:
- the value of the
isDtorecord component
-
isRuntimeDtoConversion
public boolean isRuntimeDtoConversion()Returns the value of theisRuntimeDtoConversionrecord component.- Returns:
- the value of the
isRuntimeDtoConversionrecord component
-