Class HibernateOrmEntityReference

    • Method Detail

      • type

        public Class<?> type()
        Deprecated.
        Specified by:
        type in interface EntityReference
        Returns:
        The type of the referenced entity.
      • id

        public Object id()
        Deprecated.
        Specified by:
        id in interface EntityReference
        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

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object