org.eclipse.jpt.jpa.eclipselink.core.context.orm
Interface OrmEclipseLinkMappedSuperclass

All Superinterfaces:
EclipseLinkMappedSuperclass, EclipseLinkNonEmbeddableTypeMapping, EclipseLinkOrmTypeMapping, EclipseLinkTypeMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, MappedSuperclass, Model, OrmEclipseLinkNonEmbeddableTypeMapping, OrmMappedSuperclass, OrmTypeMapping, TypeMapping, XmlContextNode

public interface OrmEclipseLinkMappedSuperclass
extends OrmMappedSuperclass, EclipseLinkMappedSuperclass, OrmEclipseLinkNonEmbeddableTypeMapping

EclipseLink orm.xml 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.1
Version:
2.1

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmTypeMapping
CLASS_PROPERTY, OVERRIDE_METADATA_COMPLETE_PROPERTY, SPECIFIED_METADATA_COMPLETE_PROPERTY
 
Method Summary
 JavaEclipseLinkMappedSuperclass getJavaTypeMapping()
          Return the Java type mapping corresponding to the orm.xml type mapping.
 JavaEclipseLinkMappedSuperclass getJavaTypeMappingForDefaults()
          Check "metadata complete" before returning the Java type mapping.
 XmlMappedSuperclass getXmlTypeMapping()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmMappedSuperclass
getIdClassReference
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.orm.OrmEclipseLinkNonEmbeddableTypeMapping
getCaching
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkNonEmbeddableTypeMapping
getReadOnly
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.orm.EclipseLinkOrmTypeMapping
getConverterContainer
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmTypeMapping
addXmlTypeMappingTo, containsOffset, createDeleteEdit, createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits, getAttributesTextRange, getClass_, getClassTextRange, getPersistentType, getSelectionTextRange, getSpecifiedMetadataComplete, getXmlSequence, initializeFrom, isMetadataComplete, isOverrideMetadataComplete, removeXmlTypeMappingFrom, setClass, setSpecifiedMetadataComplete
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkTypeMapping
getChangeTracking, getCustomizer, usesPrimaryKeyColumns
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping
allAssociatedTableNames, allAssociatedTables, allAttributeMappings, allOverridableAssociationNames, allOverridableAttributeNames, associatedTables, attributeMappingKeyAllowed, attributeMappings, getAllAttributeMappings, getAttributeMappings, getDbSchema, getIdClass, getKey, getName, getPrimaryDbTable, getPrimaryTableName, getSuperTypeMapping, inheritanceHierarchy, isMapped, overridableAssociationNames, overridableAttributeNames, resolveDbTable, resolveOverriddenColumn, resolveOverriddenRelationship, tableNameIsInvalid, validatesAgainstDatabase
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 

Method Detail

getXmlTypeMapping

XmlMappedSuperclass getXmlTypeMapping()
Specified by:
getXmlTypeMapping in interface OrmMappedSuperclass
Specified by:
getXmlTypeMapping in interface OrmTypeMapping

getJavaTypeMapping

JavaEclipseLinkMappedSuperclass getJavaTypeMapping()
Description copied from interface: OrmTypeMapping
Return the Java type mapping corresponding to the orm.xml type mapping. Return null if there is no such Java type mapping; i.e. it does not exist or it is not the same type of type mapping (entity, mapped superclass, embeddable).

Specified by:
getJavaTypeMapping in interface EclipseLinkOrmTypeMapping
Specified by:
getJavaTypeMapping in interface OrmEclipseLinkNonEmbeddableTypeMapping
Specified by:
getJavaTypeMapping in interface OrmMappedSuperclass
Specified by:
getJavaTypeMapping in interface OrmTypeMapping
See Also:
OrmTypeMapping.getJavaTypeMappingForDefaults()

getJavaTypeMappingForDefaults

JavaEclipseLinkMappedSuperclass getJavaTypeMappingForDefaults()
Description copied from interface: OrmTypeMapping
Check "metadata complete" before returning the Java type mapping. For orm.xml defaults, if "metadata complete" is true, return null.

Specified by:
getJavaTypeMappingForDefaults in interface EclipseLinkOrmTypeMapping
Specified by:
getJavaTypeMappingForDefaults in interface OrmEclipseLinkNonEmbeddableTypeMapping
Specified by:
getJavaTypeMappingForDefaults in interface OrmMappedSuperclass
Specified by:
getJavaTypeMappingForDefaults in interface OrmTypeMapping
See Also:
OrmTypeMapping.getJavaTypeMapping()