Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context.java
Interface JavaMappedSuperclass

All Superinterfaces:
IAdaptable, IdTypeMapping, JavaIdTypeMapping, JavaTypeMapping, JpaContextModel, JpaModel, JptResourceTypeReference, MappedSuperclass, Model, TypeMapping
All Known Subinterfaces:
EclipseLinkJavaMappedSuperclass

public interface JavaMappedSuperclass
extends MappedSuperclass, JavaIdTypeMapping

Java mapped superclass

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.

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.IdTypeMapping
IdTypeMapping.SuperTypeMappingTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping
TypeMapping.GeneratorsTransformer, TypeMapping.MappingIsIdMapping, TypeMapping.PersistentTypeTransformer, TypeMapping.QueriesTransformer
 
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.TypeMapping
GENERATORS_TRANSFORMER, ID_ATTRIBUTE_MAPPING_KEYS, PERSISTENT_TYPE_TRANSFORMER, QUERIES_TRANSFORMER, SUPER_TYPE_MAPPING_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 MappedSuperclassAnnotation getMappingAnnotation()
           
 JavaQueryContainer getQueryContainer()
          According to the spec, only Java mapped superclasses can have queries.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaIdTypeMapping
getIdClassReference
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaTypeMapping
getAttributeMappings, getAttributeMappings, getPersistentType
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.IdTypeMapping
getInheritanceHierarchy, getInheritanceStrategy, getPrimaryKeyClassName, getRootEntity, isRootEntity
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping
attributeIsDerivedId, attributeMappingKeyAllowed, getAllAssociatedTableNames, getAllAssociatedTables, getAllAttributeMappings, getAllAttributeMappings, getAllOverridableAssociationNames, getAllOverridableAttributeNames, getAncestors, getAssociatedTables, getDbSchema, getGenerators, getIdAttributeMapping, getIdAttributeMappings, getJavaResourceType, getKey, getName, getNonTransientAttributeMappings, getOverridableAssociationNames, getOverridableAttributeNames, getPrimaryDbTable, getPrimaryTableName, getQueries, getSuperTypeMapping, isMapped, resolveDbTable, resolveOverriddenColumn, resolveOverriddenRelationship, tableNameIsInvalid, validatesAgainstDatabase
 
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

getMappingAnnotation

MappedSuperclassAnnotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaTypeMapping

getQueryContainer

JavaQueryContainer getQueryContainer()
According to the spec, only Java mapped superclasses can have queries. The orm.xml mapped superclasses cannot.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.