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:
ValueObjectType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ValueObjectType<T,?>
getValueType(Class<? extends T> valueClass)
Lookup descriptor in this registry.
-
-
-
Method Detail
-
getValueType
<T> ValueObjectType<T,?> getValueType(Class<? extends T> valueClass)
Lookup descriptor in this registry.- Parameters:
valueClass
- class of the custom value object- Returns:
ValueObjectType
descriptor
-
-