All Known Subinterfaces:
IEclipseLinkMappingType

public interface IMappingType
This enumeration lists the mapping types defined in the Java Persistence functional specification.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.3
Version:
2.4
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The constant for a basic mapping.
    static final int
    The constant for an element collection mapping.
    static final int
    The constant for an embedded mapping.
    static final int
    The constant for an embedded ID mapping.
    static final int
    The constant for an ID mapping.
    static final int
    The constant for a many to many mapping.
    static final int
    The constant for a many to one mapping.
    static final int
    The constant for a one to many mapping.
    static final int
    The constant for a one to one mapping.
    static final int
    The constant for an attribute that is not persistent.
    static final int
    The constant for a version mapping.
  • Field Details

    • BASIC

      static final int BASIC
      The constant for a basic mapping.
      See Also:
    • ELEMENT_COLLECTION

      static final int ELEMENT_COLLECTION
      The constant for an element collection mapping.
      See Also:
    • EMBEDDED

      static final int EMBEDDED
      The constant for an embedded mapping.
      See Also:
    • EMBEDDED_ID

      static final int EMBEDDED_ID
      The constant for an embedded ID mapping.
      See Also:
    • ID

      static final int ID
      The constant for an ID mapping.
      See Also:
    • MANY_TO_MANY

      static final int MANY_TO_MANY
      The constant for a many to many mapping.
      See Also:
    • MANY_TO_ONE

      static final int MANY_TO_ONE
      The constant for a many to one mapping.
      See Also:
    • ONE_TO_MANY

      static final int ONE_TO_MANY
      The constant for a one to many mapping.
      See Also:
    • ONE_TO_ONE

      static final int ONE_TO_ONE
      The constant for a one to one mapping.
      See Also:
    • TRANSIENT

      static final int TRANSIENT
      The constant for an attribute that is not persistent.
      See Also:
    • VERSION

      static final int VERSION
      The constant for a version mapping.
      See Also: