Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.id
Class Assigned  view Assigned download Assigned.java

java.lang.Object
  extended byorg.hibernate.id.Assigned
All Implemented Interfaces:
Configurable, IdentifierGenerator

public class Assigned
extends java.lang.Object
implements IdentifierGenerator, Configurable

assigned

An IdentifierGenerator that returns the current identifier assigned to an instance.


Field Summary
private  java.lang.String entityName
           
 
Fields inherited from interface org.hibernate.id.IdentifierGenerator
ENTITY_NAME
 
Constructor Summary
Assigned()
           
 
Method Summary
 void configure(org.hibernate.type.Type type, java.util.Properties params, org.hibernate.dialect.Dialect d)
          Configure this instance, given the value of parameters specified by the user as <param> elements.
 java.io.Serializable generate(org.hibernate.engine.SessionImplementor session, java.lang.Object obj)
          Generate a new identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityName

private java.lang.String entityName
Constructor Detail

Assigned

public Assigned()
Method Detail

generate

public java.io.Serializable generate(org.hibernate.engine.SessionImplementor session,
                                     java.lang.Object obj)
                              throws org.hibernate.HibernateException
Description copied from interface: IdentifierGenerator
Generate a new identifier.

Specified by:
generate in interface IdentifierGenerator

configure

public void configure(org.hibernate.type.Type type,
                      java.util.Properties params,
                      org.hibernate.dialect.Dialect d)
               throws org.hibernate.MappingException
Description copied from interface: Configurable
Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.

Specified by:
configure in interface Configurable