Interface MappingElement

All Superinterfaces:
EventContextProvider

public interface MappingElement extends 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 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