org.apache.tapestry5.internal.hibernate
Class PersistedEntity

java.lang.Object
  extended by org.apache.tapestry5.internal.hibernate.PersistedEntity
All Implemented Interfaces:
Serializable

@ImmutableSessionPersistedObject
public class PersistedEntity
extends Object
implements Serializable

Encapsulates a Hibernate entity name with an entity id.

See Also:
Serialized Form

Constructor Summary
PersistedEntity(String entityName, Serializable id)
           
 
Method Summary
 Object restore(org.hibernate.Session session)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistedEntity

public PersistedEntity(String entityName,
                       Serializable id)
Method Detail

restore

public Object restore(org.hibernate.Session session)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 The Apache Software Foundation.