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, JavaCollectionMapping2_0, JavaElementCollectionMapping2_0, JavaEmbeddedIdMapping, JavaEmbeddedMapping, JavaEmbeddedMapping2_0, JavaIdMapping, JavaManyToManyMapping, JavaManyToManyMapping2_0, JavaManyToOneMapping, JavaManyToOneMapping2_0, JavaMultiRelationshipMapping, JavaOneToManyMapping, JavaOneToManyMapping2_0, JavaOneToOneMapping, JavaOneToOneMapping2_0, JavaRelationshipMapping, JavaRelationshipMapping2_0, JavaSingleRelationshipMapping, JavaSingleRelationshipMapping2_0, JavaTransientMapping, JavaVersionMapping

public interface JavaAttributeMapping
extends AttributeMapping, JavaJpaContextNode

Java attribute 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.

Since:
2.0
Version:
2.3

Method Summary
 java.lang.String getAnnotationName()
           
 Annotation getMappingAnnotation()
           
 JavaPersistentAttribute getPersistentAttribute()
          Covariant override.
 java.lang.Iterable<java.lang.String> getSupportingAnnotationNames()
          Return all fully qualified annotation names that are supported with this mapping type.
 void initialize(Annotation mappingAnnotation)
           
 void update(Annotation mappingAnnotation)
          Update the JavaAttributeMapping context model object to match the JavaResourcePersistentAttribute resource model object.
 
Methods inherited from interface org.eclipse.jpt.core.context.AttributeMapping
allMappingNames, allOverrideableAssociationMappingNames, allOverrideableAttributeMappingNames, getKey, getName, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveRelationshipReference, shouldValidateAgainstDatabase
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
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.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, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
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.core.IResourcePart
getResource
 

Method Detail

getPersistentAttribute

JavaPersistentAttribute getPersistentAttribute()
Covariant override.

Specified by:
getPersistentAttribute in interface AttributeMapping

getMappingAnnotation

Annotation getMappingAnnotation()

initialize

void initialize(Annotation mappingAnnotation)

update

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


getAnnotationName

java.lang.String getAnnotationName()

getSupportingAnnotationNames

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