| Constructor and Description |
|---|
URLMapper() |
| Modifier and Type | Method and Description |
|---|---|
URL |
fromDb(Object dbValue)
Transform a database value to a typed Java object.
|
String |
toDb(URL value)
Transform a typed Java object into its database representation.
|
initialize@Nullable public URL fromDb(@Nullable Object dbValue) throws MapperException
MapperfromDb in class Mapper<URL>dbValue - Database value to be transformed.MapperException - Thrown if the database value could not be transformed to a Java object.@Nullable public String toDb(@Nullable URL value) throws MapperException
MappertoDb in class Mapper<URL>value - Value to transform.MapperException - Thrown if the value could not be mapped.Copyright © 2018 TomTom International BV. All rights reserved.