Interface PojoCaster<T>
-
- All Known Implementing Classes:
JavaClassPojoCaster
public interface PojoCaster<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
cast(Object object)
T
castOrNull(Object object)
-
-
-
Method Detail
-
cast
T cast(Object object)
- Parameters:
object
- the object to cast- Returns:
- the cast object
- Throws:
RuntimeException
- If the object could not be cast
-
-