org.eclipse.jpt.eclipselink.core.context
Interface EclipseLinkTypeMapping

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, TypeMapping
All Known Subinterfaces:
EclipseLinkEmbeddable, EclipseLinkEntity, EclipseLinkMappedSuperclass, JavaEclipseLinkEmbeddable, JavaEclipseLinkEntity, JavaEclipseLinkMappedSuperclass, OrmEclipseLinkEmbeddable, OrmEclipseLinkEntity, OrmEclipseLinkMappedSuperclass

public interface EclipseLinkTypeMapping
extends TypeMapping

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.3
Version:
2.3

Method Summary
 boolean usesPrimaryKeyColumns()
          Return whether this type mapping specifies primary key columns rather than using JPA-style attributes (Uses the @PrimaryKey annotation for java, or the primary-key element for xml) Note: there is no context-level or UI support for this feature as of yet.
 
Methods inherited from interface org.eclipse.jpt.core.context.TypeMapping
allAttributeMappings, allOverridableAssociationNames, allOverridableAttributeNames, associatedTableNamesIncludingInherited, associatedTables, associatedTablesIncludingInherited, attributeMappingKeyAllowed, attributeMappings, getAllAttributeMappings, getAttributeMappings, getDbSchema, getDbTable, getIdClass, getKey, getPersistentType, getPrimaryDbTable, getPrimaryTableName, getSuperTypeMapping, inheritanceHierarchy, isMapped, overridableAssociationNames, overridableAttributeNames, resolveOverriddenColumn, resolveRelationshipReference, shouldValidateAgainstDatabase, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart
getResource
 

Method Detail

usesPrimaryKeyColumns

boolean usesPrimaryKeyColumns()
Return whether this type mapping specifies primary key columns rather than using JPA-style attributes (Uses the @PrimaryKey annotation for java, or the primary-key element for xml) Note: there is no context-level or UI support for this feature as of yet. Note: this is a 1.1 feature, but this check has been implemented for all versions