Class PersistedEntity
- java.lang.Object
-
- org.apache.tapestry5.internal.jpa.PersistedEntity
-
- All Implemented Interfaces:
java.io.Serializable
@ImmutableSessionPersistedObject public class PersistedEntity extends java.lang.Object implements java.io.Serializable
Encapsulates a JPA entity name with an entity id.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistedEntity(java.lang.Class entityClass, java.lang.Object id, java.lang.String persistenceUnitName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
restore(EntityManagerManager entityManagerManager)
java.lang.String
toString()
-
-
-
Constructor Detail
-
PersistedEntity
public PersistedEntity(java.lang.Class entityClass, java.lang.Object id, java.lang.String persistenceUnitName)
-
-
Method Detail
-
restore
public java.lang.Object restore(EntityManagerManager entityManagerManager)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-