Interface EntityReference
-
- All Known Implementing Classes:
EntityReferenceImpl
public interface EntityReferenceA reference to an indexed entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectkey()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 in the Hibernate Search mapping.
- See Also:
SearchMappingBuilder.addEntityType(Class, String)
-
key
Object key()
- Returns:
- The key of the referenced entity.
-
-