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, or may be marshalled to and from an XML document

Author:
Gavin King

Method Summary
 java.lang.Object fromXMLString(java.lang.String xmlValue)
          Parse a string representation of this value, as it appears in an XML document
 java.lang.String objectToSQLString(java.lang.Object value)
          Return an SQL literal representation of the value
 java.lang.String toXMLString(java.lang.Object value)
          Return a string representation of this value, as it should appear in an XML document
 
Methods inherited from interface org.hibernate.usertype.UserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypes
 

Method Detail

objectToSQLString

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


toXMLString

java.lang.String toXMLString(java.lang.Object value)
Return a string representation of this value, as it should appear in an XML document


fromXMLString

java.lang.Object fromXMLString(java.lang.String xmlValue)
Parse a string representation of this value, as it appears in an XML document



Copyright © 2013. All Rights Reserved.