ValueObjectTypeRegistry (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.access.types, interface: ValueObjectTypeRegistry

# 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

  Modifier and Type
  Method
  Description
  `<T> ValueObjectType<T,?>`
  `getValueType(Class<? extends T> valueClass)`
  Lookup descriptor in this registry.

- ## Method Details

  - ### 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