Package org.apache.cayenne.access.types
Interface ValueObjectTypeRegistry
- All Known Implementing Classes:
DefaultValueObjectTypeRegistry
public interface ValueObjectTypeRegistry
Registry of user-defined descriptors of custom value objects' classes.
Used to convert this objects into values that can be used directly with JDBC.
Part of replacement for the ExtendedTypes API
for the end-user.
- Since:
- 4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T> ValueObjectType
<T, ?> getValueType
(Class<? extends T> valueClass) Lookup descriptor in this registry.
-
Method Details
-
getValueType
Lookup descriptor in this registry.- Parameters:
valueClass
- class of the custom value object- Returns:
ValueObjectType
descriptor
-