Record Class QueryHandlerRegistry
java.lang.Object
java.lang.Record
app.dodb.smd.api.query.QueryHandlerRegistry
-
Constructor Summary
ConstructorsConstructorDescriptionQueryHandlerRegistry(Set<AnnotatedQueryHandler<?, ?>> queryHandlers) Creates an instance of aQueryHandlerRegistryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionand(QueryHandlerRegistry other) static QueryHandlerRegistryempty()final booleanIndicates whether some other object is "equal to" this one.<R, C extends Query<R>>
QueryHandlerBehaviour<R, C> findBy(QueryMessage<R, C> queryMessage) final inthashCode()Returns a hash code value for this object.Set<AnnotatedQueryHandler<?, ?>> Returns the value of thequeryHandlersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryHandlerRegistry
Creates an instance of aQueryHandlerRegistryrecord class.- Parameters:
queryHandlers- the value for thequeryHandlersrecord component
-
-
Method Details
-
empty
-
findBy
-
and
-
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). -
queryHandlers
Returns the value of thequeryHandlersrecord component.- Returns:
- the value of the
queryHandlersrecord component
-