org.hibernate.usertype
Interface EnhancedUserType

All Superinterfaces:
UserType
All Known Implementing Classes:
EnumType

public interface EnhancedUserType
extends UserType

A custom type that may function as an identifier or discriminator type


Method Summary
 Object fromXMLString(String xmlValue)
          Deprecated. To be removed in 5. Implement StringRepresentableType.fromStringValue(String) instead. See HHH-7776 for details
 String objectToSQLString(Object value)
          Return an SQL literal representation of the value
 String toXMLString(Object value)
          Deprecated. To be removed in 5. Implement StringRepresentableType.toString(Object) instead. See HHH-7776 for details
 
Methods inherited from interface org.hibernate.usertype.UserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypes
 

Method Detail

objectToSQLString

String objectToSQLString(Object value)
Return an SQL literal representation of the value


toXMLString

@Deprecated
String toXMLString(Object value)
Deprecated. To be removed in 5. Implement StringRepresentableType.toString(Object) instead. See HHH-7776 for details

Return a string representation of this value, as it should appear in an XML document


fromXMLString

@Deprecated
Object fromXMLString(String xmlValue)
Deprecated. To be removed in 5. Implement StringRepresentableType.fromStringValue(String) instead. See HHH-7776 for details

Parse a string representation of this value, as it appears in an XML document



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