|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface CollectionMapping2_0
JPA 2.0 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping |
|---|
CollectionMapping.Type |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping |
|---|
AttributeMapping.AllMappingNamesTransformer, AttributeMapping.AllOverridableAssociationMappingNamesTransformer, AttributeMapping.AllOverridableAttributeMappingNamesTransformer, AttributeMapping.GeneratorsTransformer, AttributeMapping.IsNotTransient, AttributeMapping.IsOverridableAssociationMapping, AttributeMapping.KeyEquals, AttributeMapping.NameTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
DEFAULT_MAP_KEY_CLASS_PROPERTY
|
static String |
DEFAULT_MAP_KEY_JOIN_COLUMN_PROPERTY
Change notification identifier for "defaultMapKeyJoinColumn" property |
static String |
FULLY_QUALIFIED_MAP_KEY_CLASS_PROPERTY
|
static String |
SPECIFIED_MAP_KEY_CLASS_PROPERTY
|
static String |
SPECIFIED_MAP_KEY_JOIN_COLUMNS_LIST
Change notification identifier for "specifiedMapKeyJoinColumns" list |
| 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.jpa2.context.ConvertibleKeyMapping2_0 |
|---|
MAP_KEY_CONVERTER_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.AttributeMapping |
|---|
ALL_MAPPING_NAMES_TRANSFORMER, ALL_OVERRIDABLE_ASSOCIATION_MAPPING_NAMES_TRANSFORMER, ALL_OVERRIDABLE_ATTRIBUTE_MAPPING_NAMES_TRANSFORMER, DEFAULT_PROPERTY, GENERATORS_TRANSFORMER, IS_NOT_TRANSIENT, IS_OVERRIDABLE_ASSOCIATION_MAPPING, NAME_TRANSFORMER |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
SpecifiedJoinColumn |
addSpecifiedMapKeyJoinColumn()
Add a specified map key join column to the relationship. |
SpecifiedJoinColumn |
addSpecifiedMapKeyJoinColumn(int index)
Add a specified map key join column to the relationship. |
String |
getDefaultMapKeyClass()
|
SpecifiedJoinColumn |
getDefaultMapKeyJoinColumn()
Return the default map key join column. |
String |
getFullyQualifiedMapKeyClass()
If the map key class is specified, this will return it fully qualified. |
AttributeOverrideContainer |
getMapKeyAttributeOverrideContainer()
|
String |
getMapKeyClass()
|
char |
getMapKeyClassEnclosingTypeSeparator()
Return the character to be used for browsing or creating the map key class IType. |
SpecifiedColumn |
getMapKeyColumn()
Return the map key column for this collection mapping. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends JoinColumn> |
getMapKeyJoinColumns()
Return the map key join columns whether specified or default. |
int |
getMapKeyJoinColumnsSize()
Return the number of map key join columns, whether specified and default. |
String |
getSpecifiedMapKeyClass()
|
SpecifiedJoinColumn |
getSpecifiedMapKeyJoinColumn(int index)
Return the specified map key join column at the specified index. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends SpecifiedJoinColumn> |
getSpecifiedMapKeyJoinColumns()
Return the specified map key join columns. |
int |
getSpecifiedMapKeyJoinColumnsSize()
Return the number of specified join columns. |
boolean |
hasSpecifiedMapKeyJoinColumns()
Return whether the mapping has any specified map key join columns. |
void |
moveSpecifiedMapKeyJoinColumn(int targetIndex,
int sourceIndex)
Move the specified map key join column from the source index to the target index. |
void |
removeSpecifiedMapKeyJoinColumn(int index)
Remove the specified map key join column. |
void |
removeSpecifiedMapKeyJoinColumn(SpecifiedJoinColumn joinColumn)
Remove the specified map key join column. |
void |
setSpecifiedMapKeyClass(String value)
|
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping |
|---|
getCandidateMapKeyNames, getKeyType, getMapKey, getMetamodelFieldMapKeyTypeName, getOrderable, 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.jpa2.context.ConvertibleKeyMapping2_0 |
|---|
getMapKeyConverter, setMapKeyConverter |
| 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.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 |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Field Detail |
|---|
static final String SPECIFIED_MAP_KEY_CLASS_PROPERTY
static final String DEFAULT_MAP_KEY_CLASS_PROPERTY
static final String FULLY_QUALIFIED_MAP_KEY_CLASS_PROPERTY
static final String SPECIFIED_MAP_KEY_JOIN_COLUMNS_LIST
static final String DEFAULT_MAP_KEY_JOIN_COLUMN_PROPERTY
| Method Detail |
|---|
String getMapKeyClass()
String getSpecifiedMapKeyClass()
void setSpecifiedMapKeyClass(String value)
String getDefaultMapKeyClass()
char getMapKeyClassEnclosingTypeSeparator()
IType.
IType.getFullyQualifiedName(char)String getFullyQualifiedMapKeyClass()
SpecifiedColumn getMapKeyColumn()
AttributeOverrideContainer getMapKeyAttributeOverrideContainer()
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends JoinColumn> getMapKeyJoinColumns()
int getMapKeyJoinColumnsSize()
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends SpecifiedJoinColumn> getSpecifiedMapKeyJoinColumns()
int getSpecifiedMapKeyJoinColumnsSize()
boolean hasSpecifiedMapKeyJoinColumns()
getSpecifiedMapKeyJoinColumnsSize() != 0.)
SpecifiedJoinColumn getSpecifiedMapKeyJoinColumn(int index)
SpecifiedJoinColumn addSpecifiedMapKeyJoinColumn()
SpecifiedJoinColumn addSpecifiedMapKeyJoinColumn(int index)
void removeSpecifiedMapKeyJoinColumn(int index)
void removeSpecifiedMapKeyJoinColumn(SpecifiedJoinColumn joinColumn)
void moveSpecifiedMapKeyJoinColumn(int targetIndex,
int sourceIndex)
SpecifiedJoinColumn getDefaultMapKeyJoinColumn()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||