Interface EntityReference

    • Method Detail

      • type

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

        String name()
        Returns:
        The name of the referenced entity.
      • id

        Object id()
        Returns:
        The identifier of the referenced entity for Hibernate Search. This is the value of the property used to generate the document ID, which is generally also the entity ID (though depending on the mapping this may be another unique property).