public final class CastUtils extends Object
| Constructor and Description |
|---|
CastUtils() |
| Modifier and Type | Method and Description |
|---|---|
protected static <F> F |
castValue(Class<F> fieldType,
Object value)
Cast the given object to the specified class.
|
protected static <F> F castValue(Class<F> fieldType, Object value) throws SQLException
F - The type to cast to.fieldType - The class of the type to cast to.value - The value to be converted.SQLException - if a related entity cannot be found.Copyright © 2015–2017 Bridje Framework. All rights reserved.