Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2008-08-15 15:24:31 +0000
committerkmoore2008-08-15 15:24:31 +0000
commit3096256dac9260b13ea7707b9be06e671d5fb8bf (patch)
treeff8b9ae62f2697328edaa223fea82b8a1dc6a25e /jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/java
parentee6048c8124f0c263c7445d8cda98a603b88b2a1 (diff)
downloadwebtools.dali-3096256dac9260b13ea7707b9be06e671d5fb8bf.tar.gz
webtools.dali-3096256dac9260b13ea7707b9be06e671d5fb8bf.tar.xz
webtools.dali-3096256dac9260b13ea7707b9be06e671d5fb8bf.zip
removed initialize method from interface, instead pass the resource model object in via the constructor
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/java/JavaPersistentAttribute.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/java/JavaPersistentAttribute.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/java/JavaPersistentAttribute.java
index cbdd31c8b7..77ef5abad9 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/java/JavaPersistentAttribute.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/java/JavaPersistentAttribute.java
@@ -34,10 +34,13 @@ public interface JavaPersistentAttribute extends PersistentAttribute, JavaJpaCon
JavaTypeMapping getTypeMapping();
JavaPersistentType getPersistentType();
-
- void initialize(JavaResourcePersistentAttribute resourcePersistentAttribute);
- void update(JavaResourcePersistentAttribute resourcePersistentAttribute);
+ /**
+ * Update the JavaPersistentAttribute context model object to match the JavaResourcePersistentAttribute
+ * resource model object passed in to the constructor.
+ * see {@link org.eclipse.jpt.core.JpaProject#update()}
+ */
+ void update();
JavaResourcePersistentAttribute getResourcePersistentAttribute();

Back to the top