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

All Superinterfaces:
AttributeMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaJpaContextNode, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaBaseEmbeddedMapping, JavaBasicMapping, JavaCollectionMapping, JavaCollectionMapping2_0, JavaColumnMapping, JavaConvertibleMapping, JavaElementCollectionMapping2_0, JavaEmbeddedIdMapping, JavaEmbeddedMapping, JavaEmbeddedMapping2_0, JavaIdMapping, JavaManyToManyMapping, JavaManyToManyMapping2_0, JavaManyToOneMapping, JavaManyToOneMapping2_0, JavaMultiRelationshipMapping, JavaOneToManyMapping, JavaOneToManyMapping2_0, JavaOneToOneMapping, JavaOneToOneMapping2_0, JavaRelationshipMapping, 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

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
DEFAULT_PROPERTY
 
Method Summary
 Annotation getAnnotationForUpdate()
           
 Annotation getMappingAnnotation()
           
 JavaPersistentAttribute getParent()
          Return the JPA node's parent.
 JavaPersistentAttribute getPersistentAttribute()
          Return the mapping's attribute (typically its parent node in the containment hierarchy).
 JavaResourcePersistentAttribute getResourcePersistentAttribute()
           
 void updateDefault()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
allMappingNames, allOverridableAssociationMappingNames, allOverridableAttributeMappingNames, getKey, getName, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.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.common.core.IResourcePart
getResource
 

Method Detail

getParent

JavaPersistentAttribute getParent()
Description copied from interface: JpaNode
Return the JPA node's parent. The JPA project will not have a parent.

Specified by:
getParent in interface JpaNode

getPersistentAttribute

JavaPersistentAttribute getPersistentAttribute()
Description copied from interface: AttributeMapping
Return the mapping's attribute (typically its parent node in the containment hierarchy).

Specified by:
getPersistentAttribute in interface AttributeMapping

getResourcePersistentAttribute

JavaResourcePersistentAttribute getResourcePersistentAttribute()

getMappingAnnotation

Annotation getMappingAnnotation()

getAnnotationForUpdate

Annotation getAnnotationForUpdate()

updateDefault

void updateDefault()