Package org.apache.cayenne.reflect

# Interface Converter<T>

All Known Implementing Classes:
  `ToAnyConverter`

public interface Converter<T>
A helper class to do property type conversions.

Since:
  1.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `convert(Object value, Class<T> type)`
  Converts object to supported class without doing any type checking.

- ## Method Details

  - ### convert

    T convert(Object value, Class<T> type)
    Converts object to supported class without doing any type checking.
    Parameters:
      `value` - the object to convert; the source
      `type` - the Class to convert the value to; the destination type
    Returns:
      an object of type @code{type}. If the conversion fails an exception will be thrown. If value is null then the result will be null.