org.hibernate.type.descriptor.java
Class UUIDTypeDescriptor.ToStringTransformer

java.lang.Object
  extended by org.hibernate.type.descriptor.java.UUIDTypeDescriptor.ToStringTransformer
All Implemented Interfaces:
UUIDTypeDescriptor.ValueTransformer
Enclosing class:
UUIDTypeDescriptor

public static class UUIDTypeDescriptor.ToStringTransformer
extends Object
implements UUIDTypeDescriptor.ValueTransformer


Field Summary
static UUIDTypeDescriptor.ToStringTransformer INSTANCE
           
 
Constructor Summary
UUIDTypeDescriptor.ToStringTransformer()
           
 
Method Summary
 UUID parse(Object value)
           
 String transform(UUID uuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final UUIDTypeDescriptor.ToStringTransformer INSTANCE
Constructor Detail

UUIDTypeDescriptor.ToStringTransformer

public UUIDTypeDescriptor.ToStringTransformer()
Method Detail

transform

public String transform(UUID uuid)
Specified by:
transform in interface UUIDTypeDescriptor.ValueTransformer

parse

public UUID parse(Object value)
Specified by:
parse in interface UUIDTypeDescriptor.ValueTransformer


Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.