org.hibernate.search.query.engine.spi

## Interface EntityInfo

- All Known Implementing Classes:
    EntityInfoImpl

      public interface EntityInfo

  Wrapper class describing the loading of an element.
  Author:
    Emmanuel Bernard

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Object` | `ENTITY_PLACEHOLDER`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getEntityInstance()`
    `Serializable` | `getId()`
    `String` | `getIdName()`
    `Object[]` | `getProjection()`
    `IndexedTypeIdentifier` | `getType()`
    `void` | `populateWithEntityInstance(Object entity)`

- - ### Field Detail

    - #### ENTITY_PLACEHOLDER

          static final Object ENTITY_PLACEHOLDER

  - ### Method Detail

    - #### getType

          IndexedTypeIdentifier getType()

      Returns:
        The entity type.
      Throws:
        `SearchException` - If the entity class could not be retrieved from the indexed document.

    - #### getId

          Serializable getId()

      Returns:
        The entity identifier.
      Throws:
        `SearchException` - If the entity identifier could not be retrieved from the indexed document.

    - #### getIdName

          String getIdName()

    - #### getProjection

          Object[] getProjection()

    - #### getEntityInstance

          Object getEntityInstance()

    - #### populateWithEntityInstance

          void populateWithEntityInstance(Object entity)

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved