org.eclipse.jpt.jpa.core.context
Interface CollectionMapping
- All Superinterfaces:
- AttributeMapping, FetchableMapping, IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model
- All Known Subinterfaces:
- CollectionMapping2_0, EclipseLinkElementCollectionMapping2_0, EclipseLinkManyToManyMapping, EclipseLinkManyToManyMapping2_0, EclipseLinkOneToManyMapping, EclipseLinkOneToManyMapping2_0, ElementCollectionMapping2_0, JavaCollectionMapping2_0, JavaElementCollectionMapping2_0, JavaManyToManyMapping, JavaOneToManyMapping, ManyToManyMapping, ManyToManyMapping2_0, MultiRelationshipMapping, MultiRelationshipMapping2_0, OneToManyMapping, OneToManyMapping2_0, OrmCollectionMapping2_0, OrmElementCollectionMapping2_0, OrmManyToManyMapping, OrmMultiRelationshipMapping, OrmOneToManyMapping
public interface CollectionMapping
- extends FetchableMapping
JPA collection mapping (e.g. 1:m, m:m, element collection)
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
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping |
getAllMappingNames, getAllOverridableAssociationMappingNames, getAllOverridableAttributeMappingNames, getGenerators, getKey, getName, getPersistentAttribute, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
DEFAULT_FETCH_TYPE
static final FetchType DEFAULT_FETCH_TYPE
VALUE_TYPE_PROPERTY
static final String VALUE_TYPE_PROPERTY
- See Also:
- Constant Field Values
KEY_TYPE_PROPERTY
static final String KEY_TYPE_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_MAP_KEY_PROPERTY
static final String SPECIFIED_MAP_KEY_PROPERTY
- See Also:
- Constant Field Values
NO_MAP_KEY_PROPERTY
static final String NO_MAP_KEY_PROPERTY
- See Also:
- Constant Field Values
PK_MAP_KEY_PROPERTY
static final String PK_MAP_KEY_PROPERTY
- See Also:
- Constant Field Values
CUSTOM_MAP_KEY_PROPERTY
static final String CUSTOM_MAP_KEY_PROPERTY
- See Also:
- Constant Field Values
getOrderable
Orderable getOrderable()
getResolvedTargetType
PersistentType getResolvedTargetType()
getValueType
CollectionMapping.Type getValueType()
getKeyType
CollectionMapping.Type getKeyType()
getMapKey
String getMapKey()
getSpecifiedMapKey
String getSpecifiedMapKey()
setSpecifiedMapKey
void setSpecifiedMapKey(String mapKey)
isNoMapKey
boolean isNoMapKey()
setNoMapKey
void setNoMapKey(boolean noMapKey)
isPkMapKey
boolean isPkMapKey()
setPkMapKey
void setPkMapKey(boolean pkMapKey)
isCustomMapKey
boolean isCustomMapKey()
setCustomMapKey
void setCustomMapKey(boolean customMapKey)
getCandidateMapKeyNames
Iterable<String> getCandidateMapKeyNames()
getMetamodelFieldMapKeyTypeName
String getMetamodelFieldMapKeyTypeName()
Copyright (c) 2012 Oracle. All rights reserved.