Package org.apache.cayenne.access.types
Class DefaultValueObjectTypeRegistry
java.lang.Object
org.apache.cayenne.access.types.DefaultValueObjectTypeRegistry
- All Implemented Interfaces:
ValueObjectTypeRegistry
public class DefaultValueObjectTypeRegistry extends Object implements ValueObjectTypeRegistry
Default implementation of
ValueObjectTypeRegistry- Since:
- 4.0
-
Constructor Summary
Constructors Constructor Description DefaultValueObjectTypeRegistry(List<ValueObjectType<?,?>> valueObjectTypeList) -
Method Summary
Modifier and Type Method Description <T> ValueObjectType<T,?>getValueType(Class<? extends T> valueClass)Lookup descriptor in this registry.
-
Constructor Details
-
DefaultValueObjectTypeRegistry
-
-
Method Details
-
getValueType
Description copied from interface:ValueObjectTypeRegistryLookup descriptor in this registry.- Specified by:
getValueTypein interfaceValueObjectTypeRegistry- Parameters:
valueClass- class of the custom value object- Returns:
ValueObjectTypedescriptor
-