Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-11-29 16:47:22 +0000
committerKaren Butzke2012-11-29 16:47:22 +0000
commit90285ff9e3617b446fd0da4c992d66e2ba1ca36e (patch)
tree8a810d3c60fd2810c1830a927f8a72e9c36991ef
parentb83faadb27f7df8d88ff6d5bcf05f03f43066be8 (diff)
downloadwebtools.dali-90285ff9e3617b446fd0da4c992d66e2ba1ca36e.tar.gz
webtools.dali-90285ff9e3617b446fd0da4c992d66e2ba1ca36e.tar.xz
webtools.dali-90285ff9e3617b446fd0da4c992d66e2ba1ca36e.zip
removing unnecessary interface methods, they have moved up the hierarchy
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaProject.java6
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaStructureNode.java15
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/MappingFilePersistenceUnitMetadata.java6
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/PersistentType.java19
4 files changed, 0 insertions, 46 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaProject.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaProject.java
index 1e1a05bf1e..30b4a4fdf3 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaProject.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaProject.java
@@ -125,12 +125,6 @@ public interface JpaProject
IJavaProject getJavaProject();
/**
- * Return the vendor-specific JPA platform that builds the JPA project
- * and its contents.
- */
- JpaPlatform getJpaPlatform();
-
- /**
* Return the root of the JPA project's context model.
*/
JpaRootContextNode getRootContextNode();
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaStructureNode.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaStructureNode.java
index bd0a32d9c7..00959e1f21 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaStructureNode.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JpaStructureNode.java
@@ -11,7 +11,6 @@ package org.eclipse.jpt.jpa.core;
import java.util.Collection;
-import org.eclipse.jpt.common.core.JptResourceType;
import org.eclipse.jpt.common.core.utility.TextRange;
import org.eclipse.jpt.common.utility.internal.ObjectTools;
import org.eclipse.jpt.jpa.core.context.JpaContextNode;
@@ -59,20 +58,6 @@ public interface JpaStructureNode
ContextType getContextType();
/**
- * Return the structure node's JPA platform.
- * This is used to find the appropriate UI platform for building the
- * structure node's JPA Details Page.
- */
- JpaPlatform getJpaPlatform();
-
- /**
- * Return the structure node's resource type.
- * This is used to find the appropriate UI provider for building the
- * structure node's JPA Details Page.
- */
- JptResourceType getResourceType();
-
- /**
* Return the structure node's type.
* This is used to find the appropriate UI provider for building the
* structure node's JPA Details Page.
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/MappingFilePersistenceUnitMetadata.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/MappingFilePersistenceUnitMetadata.java
index 127483922f..cec3335eb7 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/MappingFilePersistenceUnitMetadata.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/MappingFilePersistenceUnitMetadata.java
@@ -9,8 +9,6 @@
******************************************************************************/
package org.eclipse.jpt.jpa.core.context;
-import org.eclipse.jpt.common.core.utility.TextRange;
-
/**
* Persistence unit metadata held by a mapping file.
* <p>
@@ -46,8 +44,4 @@ public interface MappingFilePersistenceUnitMetadata
* return <code>true</code>; otherwise <code>false</code>.
*/
boolean resourceExists();
-
- // TODO remove when XmlContextNode.validate(...)
- // is moved to JpaContextNode (and JavaJpaContextNode.validate(...) is gone as a result)
- TextRange getValidationTextRange();
}
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/PersistentType.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/PersistentType.java
index d11bb8ee41..c8a604dee8 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/PersistentType.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/PersistentType.java
@@ -9,15 +9,10 @@
******************************************************************************/
package org.eclipse.jpt.jpa.core.context;
-import java.util.List;
-
import org.eclipse.jdt.core.IPackageFragment;
-import org.eclipse.jpt.common.core.utility.TextRange;
import org.eclipse.jpt.common.core.utility.jdt.TypeBinding;
import org.eclipse.jpt.common.utility.iterable.ListIterable;
import org.eclipse.jpt.jpa.core.JpaStructureNode;
-import org.eclipse.wst.validation.internal.provisional.core.IMessage;
-import org.eclipse.wst.validation.internal.provisional.core.IReporter;
/**
* Context persistent type.
@@ -159,20 +154,6 @@ public interface PersistentType
Iterable<PersistentType> getAncestors();
- // ********** validation **********
-
- /**
- * Add to the list of current validation messages
- */
- void validate(List<IMessage> messages, IReporter reporter);
-
- /**
- * Return the text range to be used with any validation messages related
- * to the persistent type.
- */
- TextRange getValidationTextRange();
-
-
// ********** misc **********
/**

Back to the top