org.eclipse.jpt.core.jpa2.context
Interface ElementCollectionMapping2_0

All Superinterfaces:
AttributeMapping, AttributeMapping2_0, CollectionMapping, CollectionMapping2_0, ConvertibleMapping, Fetchable, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
EclipseLinkElementCollectionMapping2_0, JavaElementCollectionMapping2_0, OrmElementCollectionMapping2_0

public interface ElementCollectionMapping2_0
extends AttributeMapping2_0, CollectionMapping2_0, ConvertibleMapping

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.core.context.CollectionMapping
CollectionMapping.Type
 
Field Summary
static java.lang.String DEFAULT_TARGET_CLASS_PROPERTY
           
static java.lang.String RESOLVED_TARGET_EMBEDDABLE_PROPERTY
           
static java.lang.String SPECIFIED_TARGET_CLASS_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.core.jpa2.context.AttributeMapping2_0
STANDARD_METAMODEL_FIELD_MODIFIERS
 
Fields inherited from interface org.eclipse.jpt.core.jpa2.context.CollectionMapping2_0
DEFAULT_MAP_KEY_CLASS_PROPERTY, RESOLVED_MAP_KEY_EMBEDDABLE_PROPERTY, RESOLVED_MAP_KEY_ENTITY_PROPERTY, SPECIFIED_MAP_KEY_CLASS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.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.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.ConvertibleMapping
CONVERTER_PROPERTY
 
Method Summary
 CollectionTable2_0 getCollectionTable()
          Return the collection table for this element collection mapping.
 java.lang.String getDefaultTargetClass()
           
 Entity getEntity()
          Return the entity that owns the mapping.
 Embeddable getResolvedTargetEmbeddable()
          If the target class is a basic type this will return null.
 java.lang.String getSpecifiedTargetClass()
           
 java.lang.String getTargetClass()
           
 char getTargetClassEnclosingTypeSeparator()
          Return the char to be used for browsing or creating the target class IType.
 AssociationOverrideContainer getValueAssociationOverrideContainer()
           
 AttributeOverrideContainer getValueAttributeOverrideContainer()
           
 Column getValueColumn()
          Return the value column for this element collection mapping.
 void setSpecifiedTargetClass(java.lang.String value)
           
 
Methods inherited from interface org.eclipse.jpt.core.jpa2.context.AttributeMapping2_0
getMetamodelField, getMetamodelTypeName
 
Methods inherited from interface org.eclipse.jpt.core.jpa2.context.CollectionMapping2_0
getDefaultMapKeyClass, getMapKeyAttributeOverrideContainer, getMapKeyClass, getMapKeyClassEnclosingTypeSeparator, getMapKeyColumn, getResolvedMapKeyEmbeddable, getResolvedMapKeyEntity, getSpecifiedMapKeyClass, setSpecifiedMapKeyClass
 
Methods inherited from interface org.eclipse.jpt.core.context.CollectionMapping
candidateMapKeyNames, getKeyType, getMapKey, getMetamodelFieldMapKeyTypeName, getOrderable, getResolvedTargetType, getSpecifiedMapKey, getValueType, isCustomMapKey, isNoMapKey, isPkMapKey, setCustomMapKey, setNoMapKey, setPkMapKey, setSpecifiedMapKey
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.ConvertibleMapping
getConverter, setConverter
 

Field Detail

SPECIFIED_TARGET_CLASS_PROPERTY

static final java.lang.String SPECIFIED_TARGET_CLASS_PROPERTY
See Also:
Constant Field Values

DEFAULT_TARGET_CLASS_PROPERTY

static final java.lang.String DEFAULT_TARGET_CLASS_PROPERTY
See Also:
Constant Field Values

RESOLVED_TARGET_EMBEDDABLE_PROPERTY

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

getEntity

Entity getEntity()
Return the entity that owns the mapping. This is just a convenience method that calls getTypeMapping() and returns null if it is not an Entity


getTargetClass

java.lang.String getTargetClass()

getSpecifiedTargetClass

java.lang.String getSpecifiedTargetClass()

setSpecifiedTargetClass

void setSpecifiedTargetClass(java.lang.String value)

getDefaultTargetClass

java.lang.String getDefaultTargetClass()

getResolvedTargetEmbeddable

Embeddable getResolvedTargetEmbeddable()
If the target class is a basic type this will return null.


getTargetClassEnclosingTypeSeparator

char getTargetClassEnclosingTypeSeparator()
Return the char to be used for browsing or creating the target class IType.

See Also:
IType.getFullyQualifiedName(char)

getCollectionTable

CollectionTable2_0 getCollectionTable()
Return the collection table for this element collection mapping. This will not be null.


getValueColumn

Column getValueColumn()
Return the value column for this element collection mapping.


getValueAttributeOverrideContainer

AttributeOverrideContainer getValueAttributeOverrideContainer()

getValueAssociationOverrideContainer

AssociationOverrideContainer getValueAssociationOverrideContainer()