Class EntityReferenceImpl
java.lang.Object
org.infinispan.search.mapper.common.impl.EntityReferenceImpl
- All Implemented Interfaces:
EntityReference
-
Constructor Summary
ConstructorsConstructorDescriptionEntityReferenceImpl(PojoRawTypeIdentifier<?> typeIdentifier, String name, Object id) -
Method Summary
-
Constructor Details
-
EntityReferenceImpl
-
-
Method Details
-
withDefaultName
-
type
- Specified by:
typein interfaceEntityReference- Returns:
- The type of the referenced entity.
-
name
- Specified by:
namein interfaceEntityReference- Returns:
- The name of the referenced entity.
-
id
- Specified by:
idin interfaceEntityReference- 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).
-
equals
-
hashCode
public int hashCode() -
toString
-