Class HibernateOrmEntityReference
java.lang.Object
org.hibernate.search.mapper.orm.common.impl.HibernateOrmEntityReference
- All Implemented Interfaces:
EntityReference,EntityReference
@Deprecated
public final class HibernateOrmEntityReference
extends Object
implements EntityReference
Deprecated.
The (legacy) EntityReference implementation specific to the Hibernate ORM mapper.
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateOrmEntityReference(PojoRawTypeIdentifier<?> typeIdentifier, String name, Object id) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.inthashCode()Deprecated.id()Deprecated.name()Deprecated.toString()Deprecated.Class<?>type()Deprecated.static EntityReferencewithDefaultName(Class<?> type, Object id) Deprecated.static EntityReferenceDeprecated.
-
Constructor Details
-
HibernateOrmEntityReference
Deprecated.
-
-
Method Details
-
withDefaultName
Deprecated. -
withName
Deprecated. -
type
Deprecated.- Specified by:
typein interfaceEntityReference- Returns:
- The type of the referenced entity.
-
name
Deprecated.- Specified by:
namein interfaceEntityReference- Specified by:
namein interfaceEntityReference- Returns:
- The name of the referenced entity in the Hibernate ORM mapping.
- See Also:
-
id
Deprecated.- 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
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-
PojoEntityReferenceinstead. This may not be possible everywhere due to backwards compatibility constraints.