diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/MapKey.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/MapKey.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/MapKey.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/MapKey.java deleted file mode 100644 index 6b3ef7cfb7..0000000000 --- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/MapKey.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.eclipse.jpt.core.internal.resource.java; - -import org.eclipse.jdt.core.dom.CompilationUnit; -import org.eclipse.jpt.core.internal.ITextRange; - -/** - * Corresponds to the javax.persistence.MapKey annotation - */ -public interface MapKey extends JavaResource -{ - String ANNOTATION_NAME = JPA.MAP_KEY; - - String getName(); - void setName(String name); - String NAME_PROPERTY = "nameProperty"; - - /** - * Return the ITextRange for the name element. If the name element - * does not exist return the ITextRange for the MapKey annotation. - */ - ITextRange nameTextRange(CompilationUnit astRoot); - - /** - * Return whether the specified postition touches the name element. - * Return false if the name element does not exist. - */ - public boolean nameTouches(int pos, CompilationUnit astRoot); -} |