Dali Provisional API
Release 3.2

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

All Superinterfaces:
AttributeMapping, IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model
All Known Subinterfaces:
JavaBaseEmbeddedMapping, JavaBasicMapping, JavaCollectionMapping2_0, JavaColumnMapping, JavaConvertibleKeyMapping2_0, JavaConvertibleMapping, JavaElementCollectionMapping2_0, JavaEmbeddedIdMapping, JavaEmbeddedMapping, JavaEmbeddedMapping2_0, JavaGeneratedValueHolder, JavaIdMapping, JavaManyToManyMapping, JavaManyToOneMapping, JavaOneToManyMapping, JavaOneToOneMapping, JavaRelationshipMapping, JavaSingleRelationshipMapping, JavaSingleRelationshipMapping2_0, JavaTransientMapping, JavaVersionMapping

public interface JavaAttributeMapping
extends AttributeMapping

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
AttributeMapping.GeneratorsTransformer, AttributeMapping.IsNotTransient, AttributeMapping.IsOverridableAssociationMapping, AttributeMapping.KeyEquals, AttributeMapping.NameTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
DEFAULT_PROPERTY, GENERATORS_TRANSFORMER, IS_NOT_TRANSIENT, IS_OVERRIDABLE_ASSOCIATION_MAPPING, NAME_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
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).
 JavaResourceAttribute getResourceAttribute()
           
 void updateDefault()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
getAllMappingNames, getAllOverridableAssociationMappingNames, getAllOverridableAttributeMappingNames, getGenerators, getKey, getName, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

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 JpaContextNode
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

getResourceAttribute

JavaResourceAttribute getResourceAttribute()

getMappingAnnotation

Annotation getMappingAnnotation()

getAnnotationForUpdate

Annotation getAnnotationForUpdate()

updateDefault

void updateDefault()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.