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 and Description
    `PersistedEntity(Class entityClass, Object id, String persistenceUnitName)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### PersistedEntity

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

  - ### Method Detail

    - #### restore

          public Object restore(EntityManagerManager entityManagerManager)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.