Interface EntityReference
-
- All Known Subinterfaces:
EntityReference
- All Known Implementing Classes:
HibernateOrmEntityReference,PojoEntityReference
public interface EntityReferenceA reference to an indexed or contained entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectid()Stringname()Class<?>type()
-
-
-
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).
-
-