org.eclipse.jpt.core.context
Interface BaseOverride.Owner

All Known Subinterfaces:
AssociationOverride.Owner, AttributeOverride.Owner, BaseEmbeddedMapping, EmbeddedIdMapping, EmbeddedMapping, JavaBaseEmbeddedMapping, JavaEmbeddedIdMapping, JavaEmbeddedMapping, OrmBaseEmbeddedMapping, OrmEmbeddedIdMapping, OrmEmbeddedMapping
Enclosing interface:
BaseOverride

public static interface BaseOverride.Owner


Method Summary
 TypeMapping getTypeMapping()
          Return the type mapping that this override is contained in
 boolean isVirtual(BaseOverride override)
          Return whether the given override is virtual.
 BaseOverride setVirtual(boolean virtual, BaseOverride override)
          If false, add the give override as a specified override and remove it from the list of virtual overrides.
 

Method Detail

getTypeMapping

TypeMapping getTypeMapping()
Return the type mapping that this override is contained in

Returns:

isVirtual

boolean isVirtual(BaseOverride override)
Return whether the given override is virtual. Virtual means that it is not specified, but defaulted in from the mapped superclass or embeddable.


setVirtual

BaseOverride setVirtual(boolean virtual,
                        BaseOverride override)
If false, add the give override as a specified override and remove it from the list of virtual overrides. If true, then remove it from the specified overrides and add it to the virtual overrides as applicable. Return the new override (whether virtual or specified)