public class UUIDTypeHandler extends Object implements TypeHandler
UUID values.NIL| Constructor and Description | 
|---|
UUIDTypeHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
format(Object value)
Formats a  
UUID by calling toString(). | 
Class<?> | 
getType()
Returns  
UUID. | 
Object | 
parse(String text)
Parses a UUID using  
UUID.fromString(String). | 
public Object parse(String text) throws TypeConversionException
UUID.fromString(String).parse in interface TypeHandlertext - the text to parseUUID or null if text
   is null or an empty stringTypeConversionException - if the text cannot be parsedpublic String format(Object value)
UUID by calling toString().  If value is
 null, null is returned.format in interface TypeHandlervalue - the UUID to formatpublic Class<?> getType()
UUID.getType in interface TypeHandler