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

All Superinterfaces:
AttributeMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaJpaContextNode, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaBaseEmbeddedMapping, JavaBasicMapping, JavaEmbeddedIdMapping, JavaEmbeddedMapping, JavaIdMapping, JavaManyToManyMapping, JavaManyToOneMapping, JavaMultiRelationshipMapping, JavaOneToManyMapping, JavaOneToOneMapping, JavaRelationshipMapping, JavaSingleRelationshipMapping, JavaTransientMapping, JavaVersionMapping

public interface JavaAttributeMapping
extends AttributeMapping, 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()
          Return all fully qualfied annotation names that are supported with this mapping type.
 java.lang.String getAnnotationName()
           
 JavaPersistentAttribute getPersistentAttribute()
           
 void initialize(JavaResourcePersistentAttribute jrpa)
           
 void update(JavaResourcePersistentAttribute jrpa)
          Update the JavaAttributeMapping context model object to match the JavaResourcePersistentAttribute resource model object.
 
Methods inherited from interface org.eclipse.jpt.core.context.AttributeMapping
getKey, getPrimaryKeyColumnName, getTypeMapping, isDefault, isIdMapping, isOverridableAssociationMapping, isOverridableAttributeMapping
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
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.IResourcePart
getResource
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
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.IResourcePart
getResource
 

Method Detail

getPersistentAttribute

JavaPersistentAttribute getPersistentAttribute()
Specified by:
getPersistentAttribute in interface AttributeMapping

initialize

void initialize(JavaResourcePersistentAttribute jrpa)

update

void update(JavaResourcePersistentAttribute jrpa)
Update the JavaAttributeMapping context model object to match the JavaResourcePersistentAttribute resource model object. see JpaProject.update()


getAnnotationName

java.lang.String getAnnotationName()

correspondingAnnotationNames

java.util.Iterator<java.lang.String> correspondingAnnotationNames()
Return all fully qualfied annotation names that are supported with this mapping type. This includes all possible annotations, not just the ones that currently exist on the attribute.