|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface AssociationOverrideContainer
Association override container. Used by entities, embedded mappings, and element collection mappings.
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 | |
|---|---|
static interface |
AssociationOverrideContainer.ParentAdapter
|
| 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 |
|---|
| Fields inherited from interface org.eclipse.jpt.jpa.core.context.OverrideContainer |
|---|
SPECIFIED_OVERRIDES_LIST, VIRTUAL_OVERRIDES_LIST |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
SpecifiedAssociationOverride |
convertOverrideToSpecified(VirtualOverride virtualOverride)
Convert the specified virtual override to specified. |
VirtualAssociationOverride |
convertOverrideToVirtual(SpecifiedOverride specifiedOverride)
Convert the specified specified override to virtual. |
AssociationOverride |
getOverrideNamed(String name)
Return the override with the specified name, whether specified or virtual. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends AssociationOverride> |
getOverrides()
Return the overrides, both specified and virtual. |
RelationshipMapping |
getRelationshipMapping(String attributeName)
Return the relationship mapping for the specified attribute. |
SpecifiedAssociationOverride |
getSpecifiedOverride(int index)
Return the specified override at the specified index. |
SpecifiedAssociationOverride |
getSpecifiedOverrideNamed(String name)
Return the specified override at the specified index. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends SpecifiedAssociationOverride> |
getSpecifiedOverrides()
Return the specified overrides. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends VirtualAssociationOverride> |
getVirtualOverrides()
Return the virtual overrides (i.e. those not specified). |
Relationship |
resolveOverriddenRelationship(String attributeName)
Return the relationship with the specified attribute name. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.OverrideContainer |
|---|
buildColumnValidator, buildOverrideValidator, getAllOverridableNames, getCandidateTableNames, getDefaultTableName, getOverridableTypeMapping, getOverridesSize, getSpecifiedOverridesSize, getTypeMapping, getVirtualOverridesSize, moveSpecifiedOverride, resolveDbTable, tableNameIsInvalid |
| 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 |
| Method Detail |
|---|
RelationshipMapping getRelationshipMapping(String attributeName)
null if it does not exist. This relationship mapping
will be found in the mapped superclass or embeddable type whose mapping
is being overridden, not in the owning entity
Relationship resolveOverriddenRelationship(String attributeName)
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends AssociationOverride> getOverrides()
OverrideContainer
getOverrides in interface OverrideContainerAssociationOverride getOverrideNamed(String name)
OverrideContainer
getOverrideNamed in interface OverrideContainerorg.eclipse.jpt.common.utility.iterable.ListIterable<? extends SpecifiedAssociationOverride> getSpecifiedOverrides()
OverrideContainerVirtualOverride.convertToSpecified().
Specified overrides can be remvoed via
SpecifiedOverride.convertToVirtual().
getSpecifiedOverrides in interface OverrideContainerSpecifiedAssociationOverride getSpecifiedOverride(int index)
OverrideContainer
getSpecifiedOverride in interface OverrideContainerSpecifiedAssociationOverride getSpecifiedOverrideNamed(String name)
OverrideContainer
getSpecifiedOverrideNamed in interface OverrideContainerorg.eclipse.jpt.common.utility.iterable.ListIterable<? extends VirtualAssociationOverride> getVirtualOverrides()
OverrideContainer
getVirtualOverrides in interface OverrideContainerVirtualAssociationOverride convertOverrideToVirtual(SpecifiedOverride specifiedOverride)
OverrideContainer
convertOverrideToVirtual in interface OverrideContainerSpecifiedAssociationOverride convertOverrideToSpecified(VirtualOverride virtualOverride)
OverrideContainer
convertOverrideToSpecified in interface OverrideContainer
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||