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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
EclipseLinkJavaEmbeddable, EclipseLinkJavaEntity, EclipseLinkJavaMappedSuperclass, JavaAssociationOverride, JavaAttributeMapping, JavaAttributeOverride, JavaBaseColumn, JavaBaseEmbeddedMapping, JavaBaseJoinColumn, JavaBasicMapping, JavaCaching, JavaColumn, JavaColumnMapping, JavaConverter, JavaConverterHolder, JavaDiscriminatorColumn, JavaEmbeddable, JavaEmbeddedIdMapping, JavaEmbeddedMapping, JavaEntity, JavaEnumeratedConverter, JavaGeneratedValue, JavaGenerator, JavaIdMapping, JavaJoinColumn, JavaJoinColumnEnabledRelationshipReference, JavaJoinColumnJoiningStrategy, JavaJoiningStrategy, JavaJoinTable, JavaJoinTableEnabledRelationshipReference, JavaJoinTableJoiningStrategy, JavaLobConverter, JavaManyToManyMapping, JavaManyToManyRelationshipReference, JavaManyToOneMapping, JavaManyToOneRelationshipReference, JavaMappedByJoiningStrategy, JavaMappedSuperclass, JavaMultiRelationshipMapping, JavaNamedColumn, JavaNamedNativeQuery, JavaNamedQuery, JavaOneToManyMapping, JavaOneToManyRelationshipReference, JavaOneToOneMapping, JavaOneToOneRelationshipReference, JavaOwnableRelationshipReference, JavaPersistentAttribute, JavaPersistentType, JavaPrimaryKeyJoinColumn, JavaPrimaryKeyJoinColumnEnabledRelationshipReference, JavaPrimaryKeyJoinColumnJoiningStrategy, JavaQuery, JavaQueryHint, JavaRelationshipMapping, JavaRelationshipReference, JavaSecondaryTable, JavaSequenceGenerator, JavaSingleRelationshipMapping, JavaTable, JavaTableGenerator, JavaTemporalConverter, JavaTransientMapping, JavaTypeMapping, JavaUniqueConstraint, JavaVersionMapping

public interface JavaJpaContextNode
extends JpaContextNode

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.


Method Summary
 TextRange getValidationTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
           
 java.util.Iterator<java.lang.String> javaCompletionProposals(int pos, Filter<java.lang.String> filter, org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Return the Java code-completion proposals for the specified position in the source code.
 void validate(java.util.List<org.eclipse.wst.validation.internal.provisional.core.IMessage> messages, org.eclipse.wst.validation.internal.provisional.core.IReporter reporter, org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Adds to the list of current validation messages
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.core.IResourcePart
getResource
 

Method Detail

javaCompletionProposals

java.util.Iterator<java.lang.String> javaCompletionProposals(int pos,
                                                             Filter<java.lang.String> filter,
                                                             org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the Java code-completion proposals for the specified position in the source code.


validate

void validate(java.util.List<org.eclipse.wst.validation.internal.provisional.core.IMessage> messages,
              org.eclipse.wst.validation.internal.provisional.core.IReporter reporter,
              org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Adds to the list of current validation messages


getValidationTextRange

TextRange getValidationTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)