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

All Superinterfaces:
AttributeMapping, AttributeMapping2_0, CollectionMapping, CollectionMapping2_0, ConvertibleMapping, ElementCollectionMapping2_0, FetchableMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaCollectionMapping, JavaCollectionMapping2_0, JavaConvertibleMapping, JavaJpaContextNode, JpaContextNode, JpaNode, Model

public interface JavaElementCollectionMapping2_0
extends ElementCollectionMapping2_0, JavaCollectionMapping2_0, JavaConvertibleMapping

Java element collection mapping

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_TARGET_CLASS_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.ElementCollectionMapping2_0
DEFAULT_TARGET_CLASS_PROPERTY, SPECIFIED_TARGET_CLASS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.java.JavaCollectionMapping2_0
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
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ConvertibleMapping
CONVERTER_PROPERTY
 
Method Summary
 JavaCollectionTable2_0 getCollectionTable()
          Return the mapping's collection table.
 java.lang.String getFullyQualifiedTargetClass()
          If the target class is specified, this will return it fully qualified.
 ElementCollection2_0Annotation getMappingAnnotation()
           
 JavaAssociationOverrideContainer getValueAssociationOverrideContainer()
           
 JavaAttributeOverrideContainer getValueAttributeOverrideContainer()
           
 JavaColumn getValueColumn()
          Return the mapping's value column.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.ElementCollectionMapping2_0
getDefaultTargetClass, getEntity, getSpecifiedTargetClass, getTargetClass, getTargetClassEnclosingTypeSeparator, setSpecifiedTargetClass
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.java.JavaCollectionMapping2_0
getFullyQualifiedMapKeyClass, 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, getParent, getPersistentAttribute, getResourcePersistentAttribute, updateDefault
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaConvertibleMapping
getConverter
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ConvertibleMapping
setConverter
 

Field Detail

FULLY_QUALIFIED_TARGET_CLASS_PROPERTY

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

getMappingAnnotation

ElementCollection2_0Annotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaAttributeMapping

getCollectionTable

JavaCollectionTable2_0 getCollectionTable()
Description copied from interface: ElementCollectionMapping2_0
Return the mapping's collection table. This will not be null.

Specified by:
getCollectionTable in interface ElementCollectionMapping2_0

getValueColumn

JavaColumn getValueColumn()
Description copied from interface: ElementCollectionMapping2_0
Return the mapping's value column.

Specified by:
getValueColumn in interface ElementCollectionMapping2_0

getValueAttributeOverrideContainer

JavaAttributeOverrideContainer getValueAttributeOverrideContainer()
Specified by:
getValueAttributeOverrideContainer in interface ElementCollectionMapping2_0

getValueAssociationOverrideContainer

JavaAssociationOverrideContainer getValueAssociationOverrideContainer()
Specified by:
getValueAssociationOverrideContainer in interface ElementCollectionMapping2_0

getFullyQualifiedTargetClass

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