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

All Superinterfaces:
AttributeMapping, BaseColumn.Owner, ColumnMapping, ConvertibleMapping, org.eclipse.core.runtime.IAdaptable, IdMapping, IResourcePart, JavaAttributeMapping, JavaBaseColumn.Owner, JavaColumn.Owner, JavaColumnMapping, JavaConvertibleMapping, JavaGeneratorContainer.Owner, JavaJpaContextNode, JavaNamedColumn.Owner, JpaContextNode, JpaNode, Model, NamedColumn.Owner, ReadOnlyNamedColumn.Owner

public interface JavaIdMapping
extends IdMapping, JavaColumnMapping, JavaConvertibleMapping, JavaGeneratorContainer.Owner

Java ID 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.IdMapping
GENERATED_VALUE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ConvertibleMapping
CONVERTER_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
DEFAULT_PROPERTY
 
Method Summary
 JavaGeneratedValue addGeneratedValue()
           
 JavaGeneratedValue getGeneratedValue()
           
 JavaGeneratorContainer getGeneratorContainer()
           
 IdAnnotation getMappingAnnotation()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.IdMapping
removeGeneratedValue
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaColumnMapping
getColumn
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaColumn.Owner
getColumnAnnotation, removeColumnAnnotation
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaNamedColumn.Owner
getValidationTextRange
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.BaseColumn.Owner
candidateTableNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.NamedColumn.Owner
buildColumnValidator, resolveDbTable
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn.Owner
getDefaultColumnName, getDefaultTableName, getTypeMapping
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaConvertibleMapping
getConverter
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ConvertibleMapping
setConverter
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaAttributeMapping
getAnnotationForUpdate, getParent, getPersistentAttribute, getResourcePersistentAttribute, 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
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaGeneratorContainer.Owner
getResourceAnnotatedElement
 

Method Detail

getMappingAnnotation

IdAnnotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaAttributeMapping

getGeneratorContainer

JavaGeneratorContainer getGeneratorContainer()
Specified by:
getGeneratorContainer in interface IdMapping

getGeneratedValue

JavaGeneratedValue getGeneratedValue()
Specified by:
getGeneratedValue in interface IdMapping

addGeneratedValue

JavaGeneratedValue addGeneratedValue()
Specified by:
addGeneratedValue in interface IdMapping