Dali Provisional API
Release 3.2

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

All Superinterfaces:
EclipseLinkConvertibleMapping, IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model, TypeMapping
All Known Subinterfaces:
EclipseLinkEmbeddable, EclipseLinkEntity, EclipseLinkJavaEmbeddable, EclipseLinkJavaEntity, EclipseLinkJavaMappedSuperclass, EclipseLinkJavaNonEmbeddableTypeMapping, EclipseLinkJavaTypeMapping, EclipseLinkMappedSuperclass, EclipseLinkNonEmbeddableTypeMapping, EclipseLinkOrmEmbeddable, EclipseLinkOrmEntity, EclipseLinkOrmMappedSuperclass, EclipseLinkOrmNonEmbeddableTypeMapping, EclipseLinkOrmTypeMapping

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

Nested Class Summary
static class EclipseLinkTypeMapping.ConvertersTransformer
           
 
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
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkConvertibleMapping
EclipseLinkConvertibleMapping.AttributeMappingConvertersTransformer
 
Field Summary
static org.eclipse.jpt.common.utility.transformer.Transformer<EclipseLinkTypeMapping,Iterable<EclipseLinkConverter>> CONVERTERS_TRANSFORMER
           
 
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
 
Fields inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkConvertibleMapping
ATTRIBUTE_MAPPING_CONVERTERS_TRANSFORMER
 
Method Summary
 EclipseLinkChangeTracking getChangeTracking()
           
 Iterable<EclipseLinkConverter> getConverters()
           
 EclipseLinkCustomizer getCustomizer()
           
 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.
 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
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping
attributeIsDerivedId, attributeMappingKeyAllowed, getAllAssociatedTableNames, getAllAssociatedTables, getAllAttributeMappings, getAllAttributeMappings, getAllOverridableAssociationNames, getAllOverridableAttributeNames, getAncestors, getAssociatedTables, getAttributeMappings, getAttributeMappings, getDbSchema, getGenerators, getIdAttributeMapping, getIdAttributeMappings, getInheritanceHierarchy, getJavaResourceType, getKey, getName, getNonTransientAttributeMappings, getOverridableAssociationNames, getOverridableAttributeNames, getPersistentType, 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
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkConvertibleMapping
getConverterContainer
 

Field Detail

CONVERTERS_TRANSFORMER

static final org.eclipse.jpt.common.utility.transformer.Transformer<EclipseLinkTypeMapping,Iterable<EclipseLinkConverter>> CONVERTERS_TRANSFORMER
Method Detail

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()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.