Interface IMappingType
-
- All Known Subinterfaces:
IEclipseLinkMappingType
public interface IMappingTypeThis 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 intBASICThe constant for a basic mapping.static intELEMENT_COLLECTIONThe constant for an element collection mapping.static intEMBEDDEDThe constant for an embedded mapping.static intEMBEDDED_IDThe constant for an embedded ID mapping.static intIDThe constant for an ID mapping.static intMANY_TO_MANYThe constant for a many to many mapping.static intMANY_TO_ONEThe constant for a many to one mapping.static intONE_TO_MANYThe constant for a one to many mapping.static intONE_TO_ONEThe constant for a one to one mapping.static intTRANSIENTThe constant for an attribute that is not persistent.static intVERSIONThe constant for a version mapping.
-
-
-
Field Detail
-
BASIC
static final int BASIC
The constant for a basic mapping.- See Also:
- Constant Field Values
-
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
-
ID
static final int ID
The constant for an 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
-
VERSION
static final int VERSION
The constant for a version mapping.- See Also:
- Constant Field Values
-
-