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

All Superinterfaces:
GeneratedValue, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaJpaContextNode, JpaContextNode, JpaNode, Model

public interface JavaGeneratedValue
extends GeneratedValue, JavaJpaContextNode

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.0

Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.GeneratedValue
DEFAULT_GENERATOR_PROPERTY, DEFAULT_STRATEGY, DEFAULT_STRATEGY_PROPERTY, SPECIFIED_GENERATOR_PROPERTY, SPECIFIED_STRATEGY_PROPERTY
 
Method Summary
 TextRange getGeneratorTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Return the (best guess) text location of the generator.
 void initialize(GeneratedValueAnnotation generatedValueAnnotation)
           
 void update(GeneratedValueAnnotation generatedValueAnnotation)
          Update the JavaGeneratedValue context model object to match the GeneratedValueAnnotation resource model object.
 
Methods inherited from interface org.eclipse.jpt.core.context.GeneratedValue
getDefaultGenerator, getDefaultStrategy, getGenerator, getSpecifiedGenerator, getSpecifiedStrategy, getStrategy, setSpecifiedGenerator, setSpecifiedStrategy
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart
getResource
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart
getResource
 

Method Detail

getGeneratorTextRange

TextRange getGeneratorTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the (best guess) text location of the generator.


initialize

void initialize(GeneratedValueAnnotation generatedValueAnnotation)

update

void update(GeneratedValueAnnotation generatedValueAnnotation)
Update the JavaGeneratedValue context model object to match the GeneratedValueAnnotation resource model object. see JpaProject.update()