public interface

IdentifierType

implements Type
org.hibernate.type.IdentifierType<T>
Known Indirect Subclasses

Class Overview

Additional contract for a Type may be used for a discriminator. THis contract is used to process the string representation as presented in metadata, especially in XML files.

Summary

Public Methods
abstract T stringToObject(String xml)
Convert the value from the mapping file to a Java object.
[Expand]
Inherited Methods
From interface org.hibernate.type.Type

Public Methods

public abstract T stringToObject (String xml)

Convert the value from the mapping file to a Java object.

Parameters
xml the value of discriminator-value or unsaved-value attribute
Returns
  • The converted value of the string representation.
Throws
Exception Indicates a problem converting from the string