Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context.orm
Interface OrmOverrideContainer.Owner

All Superinterfaces:
OverrideContainer.Owner
All Known Subinterfaces:
OrmAssociationOverrideContainer.Owner, OrmAssociationOverrideContainer2_0.Owner, OrmAttributeOverrideContainer.Owner
Enclosing interface:
OrmOverrideContainer

public static interface OrmOverrideContainer.Owner
extends OverrideContainer.Owner


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.OverrideContainer.Owner
OverrideContainer.Owner.AttributeIsOverridable
 
Method Summary
 Iterable<String> getJavaOverrideNames()
          Return the names of all the corresponding Java overrides, specified and virtual.
 OrmTypeMapping getTypeMapping()
           
<T extends org.eclipse.jpt.jpa.core.resource.orm.XmlOverride>
EList<T>
getXmlOverrides()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.OverrideContainer.Owner
buildColumnValidator, buildOverrideValidator, getAllOverridableNames, getCandidateTableNames, getDefaultTableName, getOverridableTypeMapping, getValidationTextRange, resolveDbTable, tableNameIsInvalid
 

Method Detail

getXmlOverrides

<T extends org.eclipse.jpt.jpa.core.resource.orm.XmlOverride> EList<T> getXmlOverrides()

getJavaOverrideNames

Iterable<String> getJavaOverrideNames()
Return the names of all the corresponding Java overrides, specified and virtual. Return null if the Java overrides are not relevant (i.e. the parent is not an entity, the parent entity has no corresponding Java entity, or the parent entity is metadata complete). Return an empty list if the Java overrides are possible but there are simply none.

NB: Unlike overrides associated with attribute mappings, the overrides associated with an orm.xml entity are additive to any specified Java overrides. An orm.xml override only overrides the Java override with the same name. [JPA spec 10.1.3.13-14; JPA 2.0 spec 12.2.3.14-15]

See Also:
JavaOverrideContainer.getOverrideNames()

getTypeMapping

OrmTypeMapping getTypeMapping()
Specified by:
getTypeMapping in interface OverrideContainer.Owner
See Also:
OverrideContainer.getTypeMapping()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.