| Constructor and Description |
|---|
URIConverter() |
| Modifier and Type | Method and Description |
|---|---|
URI |
convertToMapped(Class<? extends URI> type,
String value)
Convert the persisted type B to the mapped type A.
|
String |
convertToPersisted(URI value)
Convert the mapped type A to the persisted type B.
|
Class<URI> |
getMappedType() |
Integer |
getPersistedSize() |
Class<String> |
getPersistedType() |
public Class<URI> getMappedType()
getMappedType in interface Converter<URI,String>public Class<String> getPersistedType()
getPersistedType in interface Converter<URI,String>public Integer getPersistedSize()
getPersistedSize in interface Converter<URI,String>public String convertToPersisted(URI value)
ConverterconvertToPersisted in interface Converter<URI,String>value - to convertpublic URI convertToMapped(Class<? extends URI> type, String value)
ConverterconvertToMapped in interface Converter<URI,String>type - the type to convertvalue - value to convert