Class PersistedEntity
- java.lang.Object
-
- org.apache.tapestry5.hibernate.web.internal.PersistedEntity
-
- All Implemented Interfaces:
java.io.Serializable
,SessionRestorable
@ImmutableSessionPersistedObject public class PersistedEntity extends java.lang.Object implements SessionRestorable
Encapsulates a Hibernate entity name with an entity id.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistedEntity(java.lang.String entityName, java.io.Serializable id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
restoreWithSession(org.hibernate.Session session)
java.lang.String
toString()
-
-
-
Constructor Detail
-
PersistedEntity
public PersistedEntity(java.lang.String entityName, java.io.Serializable id)
-
-
Method Detail
-
restoreWithSession
public java.lang.Object restoreWithSession(org.hibernate.Session session)
- Specified by:
restoreWithSession
in interfaceSessionRestorable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-