org.eclipse.jpt.jpa.core.jpa2.context.java
Interface JavaCollectionMapping2_0

All Superinterfaces:
AttributeMapping, AttributeMapping2_0, CollectionMapping, CollectionMapping2_0, FetchableMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaCollectionMapping, JavaJpaContextNode, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaElementCollectionMapping2_0, JavaManyToManyMapping2_0, JavaOneToManyMapping2_0

public interface JavaCollectionMapping2_0
extends CollectionMapping2_0, JavaCollectionMapping

Java 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
Version:
2.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping
CollectionMapping.Type
 
Field Summary
static java.lang.String FULLY_QUALIFIED_MAP_KEY_CLASS_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.CollectionMapping2_0
DEFAULT_MAP_KEY_CLASS_PROPERTY, SPECIFIED_MAP_KEY_CLASS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.AttributeMapping2_0
STANDARD_METAMODEL_FIELD_MODIFIERS
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping
CUSTOM_MAP_KEY_PROPERTY, DEFAULT_FETCH_TYPE, KEY_TYPE_PROPERTY, NO_MAP_KEY_PROPERTY, PK_MAP_KEY_PROPERTY, SPECIFIED_MAP_KEY_PROPERTY, VALUE_TYPE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.FetchableMapping
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Method Summary
 java.lang.String getFullyQualifiedMapKeyClass()
          If the map key class is specified, this will return it fully qualified.
 JavaAttributeOverrideContainer getMapKeyAttributeOverrideContainer()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.CollectionMapping2_0
getDefaultMapKeyClass, getMapKeyClass, getMapKeyClassEnclosingTypeSeparator, getMapKeyColumn, getSpecifiedMapKeyClass, setSpecifiedMapKeyClass
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.AttributeMapping2_0
getMetamodelField, getMetamodelTypeName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaCollectionMapping
getOrderable
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping
candidateMapKeyNames, getKeyType, getMapKey, getMetamodelFieldMapKeyTypeName, getResolvedTargetType, getSpecifiedMapKey, getValueType, isCustomMapKey, isNoMapKey, isPkMapKey, setCustomMapKey, setNoMapKey, setPkMapKey, setSpecifiedMapKey
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.FetchableMapping
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaAttributeMapping
getAnnotationForUpdate, getMappingAnnotation, getParent, getPersistentAttribute, getResourcePersistentAttribute, updateDefault
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 

Field Detail

FULLY_QUALIFIED_MAP_KEY_CLASS_PROPERTY

static final java.lang.String FULLY_QUALIFIED_MAP_KEY_CLASS_PROPERTY
See Also:
Constant Field Values
Method Detail

getMapKeyAttributeOverrideContainer

JavaAttributeOverrideContainer getMapKeyAttributeOverrideContainer()
Specified by:
getMapKeyAttributeOverrideContainer in interface CollectionMapping2_0

getFullyQualifiedMapKeyClass

java.lang.String getFullyQualifiedMapKeyClass()
If the map key class is specified, this will return it fully qualified. If not specified, it returns the default map key class, which is always fully qualified.