Interface IMappingType

  • 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.

    Version:
    2.4
    Author:
    Pascal Filion
    Since:
    2.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BASIC
      The constant for a basic mapping.
      static int ELEMENT_COLLECTION
      The constant for an element collection mapping.
      static int EMBEDDED
      The constant for an embedded mapping.
      static int EMBEDDED_ID
      The constant for an embedded ID mapping.
      static int ID
      The constant for an ID mapping.
      static int MANY_TO_MANY
      The constant for a many to many mapping.
      static int MANY_TO_ONE
      The constant for a many to one mapping.
      static int ONE_TO_MANY
      The constant for a one to many mapping.
      static int ONE_TO_ONE
      The constant for a one to one mapping.
      static int TRANSIENT
      The constant for an attribute that is not persistent.
      static int VERSION
      The constant for a version mapping.
    • Field Detail

      • ELEMENT_COLLECTION

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

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

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

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

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

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

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

        static final int TRANSIENT
        The constant for an attribute that is not persistent.
        See Also:
        Constant Field Values