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.
- Since:
- 2.3
- Version:
- 2.4
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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 BASICThe constant for a basic mapping.- See Also:
-
ELEMENT_COLLECTION
static final int ELEMENT_COLLECTIONThe constant for an element collection mapping.- See Also:
-
EMBEDDED
static final int EMBEDDEDThe constant for an embedded mapping.- See Also:
-
EMBEDDED_ID
static final int EMBEDDED_IDThe constant for an embedded ID mapping.- See Also:
-
ID
static final int IDThe constant for an ID mapping.- See Also:
-
MANY_TO_MANY
static final int MANY_TO_MANYThe constant for a many to many mapping.- See Also:
-
MANY_TO_ONE
static final int MANY_TO_ONEThe constant for a many to one mapping.- See Also:
-
ONE_TO_MANY
static final int ONE_TO_MANYThe constant for a one to many mapping.- See Also:
-
ONE_TO_ONE
static final int ONE_TO_ONEThe constant for a one to one mapping.- See Also:
-
TRANSIENT
static final int TRANSIENTThe constant for an attribute that is not persistent.- See Also:
-
VERSION
static final int VERSIONThe constant for a version mapping.- See Also:
-