org.eclipse.jpt.jpa.core.context.orm
Interface OrmOverrideContainer.ParentAdapter
- All Superinterfaces:
- OverrideContainer.ParentAdapter
- All Known Subinterfaces:
- OrmAssociationOverrideContainer.ParentAdapter, OrmAssociationOverrideContainer2_0.ParentAdapter, OrmAttributeOverrideContainer.ParentAdapter
- Enclosing interface:
- OrmOverrideContainer
public static interface OrmOverrideContainer.ParentAdapter
- extends OverrideContainer.ParentAdapter
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.ParentAdapter
- See Also:
OverrideContainer.getTypeMapping()
Copyright (c) 2012 Oracle. All rights reserved.