org.eclipse.jpt.core.context.java
Interface JavaTypeMapping

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, JavaJpaContextNode, JpaContextNode, JpaNode, Model, TypeMapping
All Known Subinterfaces:
JavaEmbeddable, JavaEntity, JavaMappedSuperclass

public interface JavaTypeMapping
extends TypeMapping, JavaJpaContextNode

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.


Method Summary
 java.util.Iterator<java.lang.String> correspondingAnnotationNames()
           
 java.lang.String getAnnotationName()
           
 JavaPersistentType getPersistentType()
           
 void initializeFromResource(JavaResourcePersistentType persistentTypeResource)
           
 java.util.Iterator<JavaPersistentAttribute> overridableAssociations()
          Return an Iterator of associations that can be overriden.
 java.util.Iterator<JavaPersistentAttribute> overridableAttributes()
          Return an Iterator of attributes.
 void update(JavaResourcePersistentType persistentTypeResource)
           
 
Methods inherited from interface org.eclipse.jpt.core.context.TypeMapping
allOverridableAssociationNames, allOverridableAssociations, allOverridableAttributeNames, allOverridableAttributes, associatedTableNamesIncludingInherited, associatedTables, associatedTablesIncludingInherited, attributeMappingKeyAllowed, getDbSchema, getDbTable, getKey, getPrimaryDbTable, getTableName, isMapped, overridableAssociationNames, overridableAttributeNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getEntityMappings, getOrmPersistentType, getPersistenceUnit
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent, getResource
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode
addToMessages, getValidationTextRange, javaCompletionProposals
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getEntityMappings, getOrmPersistentType, getPersistenceUnit
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent, getResource
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

initializeFromResource

void initializeFromResource(JavaResourcePersistentType persistentTypeResource)

update

void update(JavaResourcePersistentType persistentTypeResource)

getAnnotationName

java.lang.String getAnnotationName()

correspondingAnnotationNames

java.util.Iterator<java.lang.String> correspondingAnnotationNames()

getPersistentType

JavaPersistentType getPersistentType()
Specified by:
getPersistentType in interface TypeMapping

overridableAttributes

java.util.Iterator<JavaPersistentAttribute> overridableAttributes()
Description copied from interface: TypeMapping
Return an Iterator of attributes. The attributes must be BasicMappings or IdMappings found in this type mapping

Specified by:
overridableAttributes in interface TypeMapping

overridableAssociations

java.util.Iterator<JavaPersistentAttribute> overridableAssociations()
Description copied from interface: TypeMapping
Return an Iterator of associations that can be overriden. The associations must be OneToOneMappings or ManyToOneMappings found in this type mapping

Specified by:
overridableAssociations in interface TypeMapping