org.eclipse.jpt.jpa.eclipselink.core.context
Interface EclipseLinkTypeMapping
- All Superinterfaces:
- EclipseLinkConvertibleMapping, IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, TypeMapping
- All Known Subinterfaces:
- EclipseLinkEmbeddable, EclipseLinkEntity, EclipseLinkJavaTypeMapping, EclipseLinkMappedSuperclass, EclipseLinkNonEmbeddableTypeMapping, EclipseLinkOrmTypeMapping, JavaEclipseLinkEmbeddable, JavaEclipseLinkEntity, JavaEclipseLinkMappedSuperclass, JavaEclipseLinkNonEmbeddableTypeMapping, OrmEclipseLinkEmbeddable, OrmEclipseLinkEntity, OrmEclipseLinkMappedSuperclass, OrmEclipseLinkNonEmbeddableTypeMapping
public interface EclipseLinkTypeMapping
- extends TypeMapping, EclipseLinkConvertibleMapping
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
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping |
attributeIsDerivedId, attributeMappingKeyAllowed, getAllAssociatedTableNames, getAllAssociatedTables, getAllAttributeMappings, getAllAttributeMappings, getAllOverridableAssociationNames, getAllOverridableAttributeNames, getAssociatedTables, getAttributeMappings, getAttributeMappings, getDbSchema, getGenerators, getIdClass, getInheritanceHierarchy, getInheritanceStrategy, getJavaResourceType, getKey, getName, getNonTransientAttributeMappings, getOverridableAssociationNames, getOverridableAttributeNames, getPersistentType, getPrimaryDbTable, getPrimaryTableName, getQueries, getRootEntity, getSuperTypeMapping, isMapped, isRootEntity, resolveDbTable, resolveOverriddenColumn, resolveOverriddenRelationship, tableNameIsInvalid, validatesAgainstDatabase |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
CONVERTERS_TRANSFORMER
static final org.eclipse.jpt.common.utility.transformer.Transformer<EclipseLinkTypeMapping,Iterable<EclipseLinkConverter>> CONVERTERS_TRANSFORMER
getCustomizer
EclipseLinkCustomizer getCustomizer()
getChangeTracking
EclipseLinkChangeTracking getChangeTracking()
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
usesPrimaryKeyTenantDiscriminatorColumns
boolean usesPrimaryKeyTenantDiscriminatorColumns()
- Return true if the type mapping is multitenant and any of the tenant discriminator
columns (specified or default) have the primaryKey option set to true
getConverters
Iterable<EclipseLinkConverter> getConverters()
Copyright (c) 2012 Oracle. All rights reserved.