Interface EntityReference

  • public interface EntityReference
    A reference to an indexed entity.
    • Method Detail

      • type

        Class<?> type()
        The type of the referenced entity.
      • name

        String name()
        The name of the referenced entity in the Hibernate ORM mapping.
        See Also:
      • id

        Object id()
        The identifier of the referenced entity, Generally this is the entity ID, but a different value may be returned if another property than the entity ID is defined as @DocumentId.