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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> ValueObjectType<T,​?>` | `getValueType​(Class<? extends T> valueClass)` | Lookup descriptor in this registry.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultValueObjectTypeRegistry

          public DefaultValueObjectTypeRegistry​(List<ValueObjectType<?,​?>> valueObjectTypeList)

  - ### Method Detail

    - #### getValueType

          public <T> ValueObjectType<T,​?> getValueType​(Class<? extends T> valueClass)

      Description copied from interface: `ValueObjectTypeRegistry`
      Lookup descriptor in this registry.
      Specified by:
        `getValueType` in interface `ValueObjectTypeRegistry`
      Parameters:
        `valueClass` - class of the custom value object
      Returns:
        `ValueObjectType` descriptor