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

All Superinterfaces:
EclipseLinkNonEmbeddableTypeMapping, EclipseLinkOrmTypeMapping, EclipseLinkTypeMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, OrmTypeMapping, TypeMapping, XmlContextNode
All Known Subinterfaces:
OrmEclipseLinkEntity, OrmEclipseLinkMappedSuperclass

public interface OrmEclipseLinkNonEmbeddableTypeMapping
extends EclipseLinkNonEmbeddableTypeMapping, EclipseLinkOrmTypeMapping

EclipseLink orm.xml non-embeddable type mapping

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.


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
 OrmEclipseLinkCaching getCaching()
           
 JavaEclipseLinkNonEmbeddableTypeMapping getJavaTypeMapping()
          Return the Java type mapping corresponding to the orm.xml type mapping.
 JavaEclipseLinkNonEmbeddableTypeMapping getJavaTypeMappingForDefaults()
          Check "metadata complete" before returning the Java type mapping.
 
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, getXmlTypeMapping, 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

getCaching

OrmEclipseLinkCaching getCaching()
Specified by:
getCaching in interface EclipseLinkNonEmbeddableTypeMapping

getJavaTypeMapping

JavaEclipseLinkNonEmbeddableTypeMapping 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 OrmTypeMapping
See Also:
OrmTypeMapping.getJavaTypeMappingForDefaults()

getJavaTypeMappingForDefaults

JavaEclipseLinkNonEmbeddableTypeMapping 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 OrmTypeMapping
See Also:
OrmTypeMapping.getJavaTypeMapping()