Class JavaClassPojoCaster<T>
java.lang.Object
org.hibernate.search.mapper.pojo.model.spi.JavaClassPojoCaster<T>
- All Implemented Interfaces:
PojoCaster<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JavaClassPojoCaster
-
-
Method Details
-
toString
-
cast
- Specified by:
cast
in interfacePojoCaster<T>
- Parameters:
object
- the object to cast- Returns:
- the cast object
-
castOrNull
- Specified by:
castOrNull
in interfacePojoCaster<T>
- Parameters:
object
- the object to cast- Returns:
- the cast object, or
null
if the object could not be cast
-