KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > type > IdentifierType


1 //$Id: IdentifierType.java,v 1.1 2004/06/03 16:31:30 steveebersole Exp $
2
package org.hibernate.type;
3
4 /**
5  * A <tt>Type</tt> that may be used as an identifier.
6  * @author Gavin King
7  */

8 public interface IdentifierType extends Type {
9
10     /**
11      * Convert the value from the mapping file to a Java object.
12      * @param xml the value of <tt>discriminator-value</tt> or <tt>unsaved-value</tt> attribute
13      * @return Object
14      * @throws Exception
15      */

16     public Object JavaDoc stringToObject(String JavaDoc xml) throws Exception JavaDoc;
17
18 }
19
20
21
22
23
24
25
Popular Tags