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

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

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### DefaultValueObjectTypeRegistry

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

- ## Method Details

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