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

# Class ValueObjectTypeFactory

java.lang.Object
org.apache.cayenne.access.types.ValueObjectTypeFactory

All Implemented Interfaces:
  `ExtendedTypeFactory`

public class ValueObjectTypeFactory extends Object implements ExtendedTypeFactory

Since:
  4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ValueObjectTypeFactory(ExtendedTypeMap map, ValueObjectTypeRegistry valueObjectTypeRegistry)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ExtendedType<? extends ValueObjectType>`
  `getType(Class<?> objectClass)`
  Returns ExtendedType instance that can handle a given object class.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### ValueObjectTypeFactory

    public ValueObjectTypeFactory(ExtendedTypeMap map, ValueObjectTypeRegistry valueObjectTypeRegistry)

- ## Method Details

  - ### getType

    public ExtendedType<? extends ValueObjectType> getType(Class<?> objectClass)
    Description copied from interface: `ExtendedTypeFactory`
    Returns ExtendedType instance that can handle a given object class. May return null indicating that the class can not be handled.
    Specified by:
      `getType` in interface `ExtendedTypeFactory`