Record Class AnnotatedQueryHandler<R, Q extends Query<R>>
java.lang.Object
java.lang.Record
app.dodb.smd.api.query.AnnotatedQueryHandler<R,Q>
- All Implemented Interfaces:
QueryHandlerBehaviour<R,Q>
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedQueryHandler(Provider<?> provider, Method method, Class<Q> queryType) Creates an instance of aAnnotatedQueryHandlerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static QueryHandlerRegistrystatic QueryHandlerRegistryhandle(QueryMessage<R, Q> queryMessage) final inthashCode()Returns a hash code value for this object.method()Returns the value of themethodrecord component.Provider<?> provider()Returns the value of theproviderrecord component.Returns the value of thequeryTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnnotatedQueryHandler
Creates an instance of aAnnotatedQueryHandlerrecord class.- Parameters:
provider- the value for theproviderrecord componentmethod- the value for themethodrecord componentqueryType- the value for thequeryTyperecord component
-
-
Method Details
-
from
-
from
-
handle
-
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). -
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
queryType
-