|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface AttributeOverrideContainer
Attribute override container.
Clients:
| Nested Class Summary | |
|---|---|
static interface |
AttributeOverrideContainer.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 | |
|---|---|
SpecifiedAttributeOverride |
convertOverrideToSpecified(VirtualOverride virtualOverride)
Convert the specified virtual override to specified. |
VirtualAttributeOverride |
convertOverrideToVirtual(SpecifiedOverride specifiedOverride)
Convert the specified specified override to virtual. |
AttributeOverride |
getOverrideNamed(String name)
Return the override with the specified name, whether specified or virtual. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends AttributeOverride> |
getOverrides()
Return the overrides, both specified and virtual. |
SpecifiedAttributeOverride |
getSpecifiedOverride(int index)
Return the specified override at the specified index. |
SpecifiedAttributeOverride |
getSpecifiedOverrideNamed(String name)
Return the specified override at the specified index. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends SpecifiedAttributeOverride> |
getSpecifiedOverrides()
Return the specified overrides. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends VirtualAttributeOverride> |
getVirtualOverrides()
Return the virtual overrides (i.e. those not specified). |
Column |
resolveOverriddenColumn(String attributeName)
Return the column of the mapping or attribute override for the specified attribute. |
| 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 |
|---|
Column resolveOverriddenColumn(String attributeName)
null if it does not exist. This
column mapping/attribute override will be found in the mapped superclass
(or embeddable), not in the owning entity.
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends AttributeOverride> getOverrides()
OverrideContainer
getOverrides in interface OverrideContainerAttributeOverride getOverrideNamed(String name)
OverrideContainer
getOverrideNamed in interface OverrideContainerorg.eclipse.jpt.common.utility.iterable.ListIterable<? extends SpecifiedAttributeOverride> getSpecifiedOverrides()
OverrideContainerVirtualOverride.convertToSpecified().
Specified overrides can be remvoed via
SpecifiedOverride.convertToVirtual().
getSpecifiedOverrides in interface OverrideContainerSpecifiedAttributeOverride getSpecifiedOverride(int index)
OverrideContainer
getSpecifiedOverride in interface OverrideContainerSpecifiedAttributeOverride getSpecifiedOverrideNamed(String name)
OverrideContainer
getSpecifiedOverrideNamed in interface OverrideContainerorg.eclipse.jpt.common.utility.iterable.ListIterable<? extends VirtualAttributeOverride> getVirtualOverrides()
OverrideContainer
getVirtualOverrides in interface OverrideContainerVirtualAttributeOverride convertOverrideToVirtual(SpecifiedOverride specifiedOverride)
OverrideContainer
convertOverrideToVirtual in interface OverrideContainerSpecifiedAttributeOverride 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 | ||||||||||