org.eclipse.jpt.core.context.java
Interface JavaOverrideContainer.Owner

All Superinterfaces:
OverrideContainer.Owner
All Known Subinterfaces:
JavaAssociationOverrideContainer.Owner, JavaAttributeOverrideContainer.Owner
Enclosing interface:
JavaOverrideContainer

public static interface JavaOverrideContainer.Owner
extends OverrideContainer.Owner


Method Summary
 java.lang.String getPossiblePrefix()
          This is necessary for JPA 2.0.
 TextRange getValidationTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
           
 java.lang.String getWritePrefix()
          This is necessary for JPA 2.0.
 boolean isRelevant(java.lang.String overrideName)
          This is necessary for JPA 2.0 where Override annotation can have a prefix that distinguishes them.
 
Methods inherited from interface org.eclipse.jpt.core.context.OverrideContainer.Owner
allOverridableNames, buildColumnTableNotValidMessage, buildColumnUnresolvedNameMessage, candidateTableNames, getDbTable, getDefaultTableName, getOverridableTypeMapping, getTypeMapping, tableNameIsInvalid
 

Method Detail

getValidationTextRange

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

getWritePrefix

java.lang.String getWritePrefix()
This is necessary for JPA 2.0. Return a prefix (ending in '.') that should be written to the java source when an override is specified.


getPossiblePrefix

java.lang.String getPossiblePrefix()
This is necessary for JPA 2.0. Return a prefix (ending in '.') that is allowed to be appended to the override name. Return null if no prefix is supported. "map." and "key." are the prefixes supported in JPA 2.0.


isRelevant

boolean isRelevant(java.lang.String overrideName)
This is necessary for JPA 2.0 where Override annotation can have a prefix that distinguishes them. Return whether the given overrideName that might have a prefix is relevant to this particular override container. "map." and "key." are the prefixes supported in JPA 2.0.