Class PojoPropertyArguments
java.lang.Object
org.jdbi.v3.core.argument.internal.ObjectPropertyNamedArgumentFinder
org.jdbi.v3.core.argument.internal.PojoPropertyArguments
- All Implemented Interfaces:
NamedArgumentFinder
- Direct Known Subclasses:
BeanPropertyArguments
This class hosts the logic from BeanPropertyArguments.
When we can remove that class from public API, this class will easily replace it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConfigRegistryprotected final PojoProperties<?>Fields inherited from class org.jdbi.v3.core.argument.internal.ObjectPropertyNamedArgumentFinder
obj -
Constructor Summary
ConstructorsModifierConstructorDescriptionPojoPropertyArguments(String prefix, Object obj, Type type, ConfigRegistry config) protectedPojoPropertyArguments(String prefix, Object obj, PojoProperties<?> properties, ConfigRegistry config) -
Method Summary
Modifier and TypeMethodDescriptiongetNames()Returns the names this named argument finder can find.protected NamedArgumentFinderprotected Optional<TypedValue>getValue(String name, StatementContext ctx) toString()Methods inherited from class org.jdbi.v3.core.argument.internal.ObjectPropertyNamedArgumentFinder
find
-
Field Details
-
properties
-
config
-
names
-
-
Constructor Details
-
PojoPropertyArguments
-
PojoPropertyArguments
protected PojoPropertyArguments(String prefix, Object obj, PojoProperties<?> properties, ConfigRegistry config)
-
-
Method Details
-
getValue
- Specified by:
getValuein classObjectPropertyNamedArgumentFinder
-
getNames
Description copied from interface:NamedArgumentFinderReturns the names this named argument finder can find. Returns an empty collection otherwise.- Returns:
- the names this named argument finder can find. Returns an empty collection otherwise.
-
getNestedArgumentFinder
- Specified by:
getNestedArgumentFinderin classObjectPropertyNamedArgumentFinder
-
toString
-