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

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

public interface JavaIdMapping
extends JavaAttributeMapping, IdMapping, JavaColumnMapping

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.core.context.IdMapping
GENERATED_VALUE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.ConvertibleMapping
CONVERTER_PROPERTY
 
Method Summary
 JavaGeneratedValue addGeneratedValue()
           
 JavaConverter getConverter()
          Return a converter of type Converter.NO_CONVERTER instead of null if no converter is specified.
 JavaGeneratedValue getGeneratedValue()
           
 JavaGeneratorContainer getGeneratorContainer()
           
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaAttributeMapping
getAnnotationName, getMappingAnnotation, getPersistentAttribute, getSupportingAnnotationNames, initialize, update
 
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.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
Methods inherited from interface org.eclipse.jpt.core.context.IdMapping
removeGeneratedValue
 
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.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.BaseColumn.Owner
buildTableNotValidMessage, candidateTableNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 
Methods inherited from interface org.eclipse.jpt.core.context.ConvertibleMapping
setConverter
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaColumnMapping
getColumn
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
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.BaseColumn.Owner
buildTableNotValidMessage, candidateTableNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaNamedColumn.Owner
getValidationTextRange
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 
Methods inherited from interface org.eclipse.jpt.core.context.BaseColumn.Owner
buildTableNotValidMessage, candidateTableNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 

Method Detail

getGeneratorContainer

JavaGeneratorContainer getGeneratorContainer()
Specified by:
getGeneratorContainer in interface IdMapping

getConverter

JavaConverter getConverter()
Description copied from interface: ConvertibleMapping
Return a converter of type Converter.NO_CONVERTER instead of null if no converter is specified.

Specified by:
getConverter in interface ConvertibleMapping

getGeneratedValue

JavaGeneratedValue getGeneratedValue()
Specified by:
getGeneratedValue in interface IdMapping

addGeneratedValue

JavaGeneratedValue addGeneratedValue()
Specified by:
addGeneratedValue in interface IdMapping