Interface MappingElement

All Superinterfaces:
org.hibernate.search.util.common.reporting.spi.EventContextProvider

public interface MappingElement extends org.hibernate.search.util.common.reporting.spi.EventContextProvider
A unique representation of an element in the mapping.

Mainly used as a key when some behavior must span all "occurrences" of a same mapping element (e.g. all effective uses of an inherited @IndexedEmbedded across an entity hierarchy).

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider

    eventContext
  • Method Details

    • toString

      String toString()
      Overrides:
      toString in class Object
      Returns:
      A human-readable description of this element.
    • equals

      boolean equals(Object obj)
      Overrides:
      equals in class Object
      Returns:
      true if obj is a MappingElement referencing the exact same mapping element.
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object