org.apache.tapestry5.internal.hibernate

## Class PersistedEntity

- java.lang.Object
- - org.apache.tapestry5.internal.hibernate.PersistedEntity

- All Implemented Interfaces:
    Serializable, SessionRestorable

      @ImmutableSessionPersistedObject
      public class PersistedEntity
      extends Object
      implements SessionRestorable

  Encapsulates a Hibernate entity name with an entity id.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PersistedEntity(String entityName, Serializable id)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `restoreWithSession(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

    - #### restoreWithSession

          public Object restoreWithSession(org.hibernate.Session session)

      Specified by:
        `restoreWithSession` in interface `SessionRestorable`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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