org.eclipse.jpt.core.context.java
Interface JavaTypeMapping
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaJpaContextNode, JpaContextNode, JpaNode, Model, TypeMapping
- All Known Subinterfaces:
- EclipseLinkJavaEmbeddable, EclipseLinkJavaEntity, EclipseLinkJavaMappedSuperclass, 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.
| Methods inherited from interface org.eclipse.jpt.core.context.TypeMapping |
allOverridableAssociationNames, allOverridableAssociations, allOverridableAttributeNames, allOverridableAttributes, associatedTableNamesIncludingInherited, associatedTables, associatedTablesIncludingInherited, attributeMappingKeyAllowed, getDbSchema, getDbTable, getKey, getPrimaryDbTable, getPrimaryTableName, isMapped, overridableAssociationNames, overridableAttributeNames, shouldValidateAgainstDatabase, tableNameIsInvalid |
| 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.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 |
initialize
void initialize(JavaResourcePersistentType jrpt)
update
void update(JavaResourcePersistentType jrpt)
- Update the JavaTypeMapping context model object to match the JavaResourcePersistentType
resource model object. see
JpaProject.update()
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