org.eclipse.jpt.jpa.core.jpa2.context
Interface AttributeMapping2_0

All Superinterfaces:
AttributeMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
CollectionMapping2_0, EclipseLinkElementCollectionMapping2_0, EclipseLinkOneToManyMapping2_0, EclipseLinkOneToOneMapping2_0, ElementCollectionMapping2_0, EmbeddedIdMapping2_0, EmbeddedMapping2_0, IdMapping2_0, JavaCollectionMapping2_0, JavaElementCollectionMapping2_0, JavaEmbeddedMapping2_0, JavaManyToManyMapping2_0, JavaManyToOneMapping2_0, JavaOneToManyMapping2_0, JavaOneToOneMapping2_0, JavaSingleRelationshipMapping2_0, ManyToManyMapping2_0, ManyToOneMapping2_0, MappedByRelationshipMapping2_0, OneToManyMapping2_0, OneToOneMapping2_0, OrmCollectionMapping2_0, OrmElementCollectionMapping2_0, OrmEmbeddedMapping2_0, OrmManyToManyMapping2_0, OrmManyToOneMapping2_0, OrmOneToManyMapping2_0, OrmOneToOneMapping2_0, OrmSingleRelationshipMapping2_0, SingleRelationshipMapping2_0

public interface AttributeMapping2_0
extends AttributeMapping

JPA 2.0 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.3
Version:
2.3

Field Summary
static java.lang.Iterable<java.lang.String> STANDARD_METAMODEL_FIELD_MODIFIERS
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
DEFAULT_PROPERTY
 
Method Summary
 MetamodelField getMetamodelField()
          Return the Canonical Metamodel field corresponding to the mapping.
 java.lang.String getMetamodelTypeName()
          Return the name of the mapping's type as used in the Canonical Metamodel.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
allMappingNames, allOverridableAssociationMappingNames, allOverridableAttributeMappingNames, getKey, getName, getPersistentAttribute, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase
 
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, getParent, 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
 

Field Detail

STANDARD_METAMODEL_FIELD_MODIFIERS

static final java.lang.Iterable<java.lang.String> STANDARD_METAMODEL_FIELD_MODIFIERS
Method Detail

getMetamodelField

MetamodelField getMetamodelField()
Return the Canonical Metamodel field corresponding to the mapping. Return null if the mapping is not to be part of the Canonical Metamodel.


getMetamodelTypeName

java.lang.String getMetamodelTypeName()
Return the name of the mapping's type as used in the Canonical Metamodel.