org.eclipse.jpt.core.context.java
Interface JavaTypeMapping
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaJpaContextNode, JpaContextNode, JpaNode, Model, TypeMapping
- All Known Subinterfaces:
- JavaEclipseLinkEmbeddable, JavaEclipseLinkEntity, JavaEclipseLinkMappedSuperclass, JavaEmbeddable, JavaEntity, JavaMappedSuperclass
public interface JavaTypeMapping
- extends TypeMapping, JavaJpaContextNode
Java type mapping (Entity, MappedSuperclass, Embeddable).
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.0
- Version:
- 2.3
| Methods inherited from interface org.eclipse.jpt.core.context.TypeMapping |
allAttributeMappings, allOverridableAssociationNames, allOverridableAttributeNames, associatedTableNamesIncludingInherited, associatedTables, associatedTablesIncludingInherited, attributeMappingKeyAllowed, getAllAttributeMappings, getAttributeMappings, getDbSchema, getDbTable, getIdClass, getKey, getPrimaryDbTable, getPrimaryTableName, getSuperTypeMapping, inheritanceHierarchy, isMapped, overridableAssociationNames, overridableAttributeNames, resolveOverriddenColumn, resolveRelationshipReference, shouldValidateAgainstDatabase, tableNameIsInvalid |
| Methods inherited from interface org.eclipse.jpt.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.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 |
initialize
void initialize(JavaResourcePersistentType jrpt)
update
void update(JavaResourcePersistentType jrpt)
- Update the context Java type mapping to match the resource model.
- See Also:
JpaProject.update()
getAnnotationName
java.lang.String getAnnotationName()
getSupportingAnnotationNames
java.lang.Iterable<java.lang.String> getSupportingAnnotationNames()
getPersistentType
JavaPersistentType getPersistentType()
- Specified by:
getPersistentType in interface TypeMapping
attributeMappings
java.util.Iterator<JavaAttributeMapping> attributeMappings()
- Description copied from interface:
TypeMapping
- A convenience method for getting the attribute mappings from PersistentType.attributes()
- Specified by:
attributeMappings in interface TypeMapping