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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
EclipseLinkJavaOneToManyRelationship, EclipseLinkJavaOneToManyRelationship2_0, EclipseLinkJavaTypeMapping, JavaAssociationOverride, JavaAssociationOverrideContainer, JavaAttributeMapping, JavaAttributeOverride, JavaAttributeOverrideContainer, JavaBaseColumn, JavaBaseEmbeddedMapping, JavaBaseJoinColumn, JavaBasicMapping, JavaCacheable2_0, JavaCacheableHolder2_0, JavaCascade, JavaCascade2_0, JavaCollectionMapping, JavaCollectionMapping2_0, JavaCollectionTable2_0, JavaColumn, JavaColumnMapping, JavaConverter, JavaConvertibleMapping, JavaDerivedIdentity2_0, JavaDiscriminatorColumn, JavaEclipseLinkCaching, JavaEclipseLinkConverterContainer, JavaEclipseLinkEmbeddable, JavaEclipseLinkEntity, JavaEclipseLinkMappedSuperclass, JavaEclipseLinkNonEmbeddableTypeMapping, JavaElementCollectionMapping2_0, JavaEmbeddable, JavaEmbeddedIdMapping, JavaEmbeddedMapping, JavaEmbeddedMapping2_0, JavaEntity, JavaEnumeratedConverter, JavaGeneratedValue, JavaGenerator, JavaGeneratorContainer, JavaIdClassReference, JavaIdDerivedIdentityStrategy2_0, JavaIdMapping, JavaJoinColumn, JavaJoinColumnRelationship, JavaJoinColumnRelationshipStrategy, JavaJoinTable, JavaJoinTableRelationship, JavaJoinTableRelationshipStrategy, JavaLobConverter, JavaManyToManyMapping, JavaManyToManyMapping2_0, JavaManyToManyRelationship, JavaManyToOneMapping, JavaManyToOneMapping2_0, JavaManyToOneRelationship, JavaManyToOneRelationship2_0, JavaMappedByRelationship, JavaMappedByRelationshipStrategy, JavaMappedSuperclass, JavaMappingJoinColumnRelationship, JavaMappingJoinTableRelationship, JavaMappingRelationship, JavaMapsIdDerivedIdentityStrategy2_0, JavaMultiRelationshipMapping, JavaNamedColumn, JavaNamedNativeQuery, JavaNamedQuery, JavaNamedQuery2_0, JavaOneToManyMapping, JavaOneToManyMapping2_0, JavaOneToManyRelationship, JavaOneToManyRelationship2_0, JavaOneToOneMapping, JavaOneToOneMapping2_0, JavaOneToOneRelationship, JavaOneToOneRelationship2_0, JavaOrderable, JavaOrderable2_0, JavaOrderColumn2_0, JavaOrphanRemovable2_0, JavaOrphanRemovalHolder2_0, JavaOverride, JavaOverrideContainer, JavaOverrideRelationship, JavaOverrideRelationship2_0, JavaPersistentAttribute, JavaPersistentAttribute2_0, JavaPersistentType, JavaPersistentType2_0, JavaPrimaryKeyJoinColumn, JavaPrimaryKeyJoinColumnRelationship, JavaPrimaryKeyJoinColumnRelationshipStrategy, JavaQuery, JavaQueryContainer, JavaQueryHint, JavaReadOnlyAssociationOverride, JavaReadOnlyAttributeOverride, JavaReadOnlyOverride, JavaReadOnlyRelationship, JavaReadOnlyRelationshipStrategy, JavaReadOnlyUniqueConstraint, JavaReferenceTable, JavaRelationship, JavaRelationshipMapping, JavaRelationshipStrategy, JavaSecondaryTable, JavaSequenceGenerator, JavaSequenceGenerator2_0, JavaSingleRelationshipMapping, JavaSingleRelationshipMapping2_0, JavaTable, JavaTableGenerator, JavaTemporalConverter, JavaTransientMapping, JavaTypeMapping, JavaUniqueConstraint, JavaVersionMapping, JavaVirtualAssociationOverride, JavaVirtualAttributeOverride, JavaVirtualColumn, JavaVirtualJoinColumn, JavaVirtualJoinColumnRelationship, JavaVirtualJoinColumnRelationshipStrategy, JavaVirtualJoinTable, JavaVirtualJoinTableRelationship, JavaVirtualJoinTableRelationshipStrategy, JavaVirtualOverride, JavaVirtualOverrideRelationship, JavaVirtualOverrideRelationship2_0, JavaVirtualRelationship, JavaVirtualRelationshipStrategy, JavaVirtualUniqueConstraint

public interface JavaJpaContextNode
extends JpaContextNode

Java JPA context node.

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

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

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)