Package org.apache.tapestry5.internal.jpa

# Class PersistedEntity

java.lang.Object
org.apache.tapestry5.internal.jpa.PersistedEntity

All Implemented Interfaces:
  `Serializable`

@ImmutableSessionPersistedObject public class PersistedEntity extends Object implements Serializable
Encapsulates a JPA entity name with an entity id.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PersistedEntity(Class entityClass, Object id, String persistenceUnitName)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `restore(EntityManagerManager entityManagerManager)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### PersistedEntity

    public PersistedEntity(Class entityClass, Object id, String persistenceUnitName)

- ## Method Details

  - ### restore

    public Object restore(EntityManagerManager entityManagerManager)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`