Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/JoinTableAnnotation.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/JoinTableAnnotation.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/JoinTableAnnotation.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/JoinTableAnnotation.java
index f977fb2fb7..de6583e7e8 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/JoinTableAnnotation.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/JoinTableAnnotation.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 Oracle. All rights reserved.
+ * Copyright (c) 2007, 2011 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
@@ -9,7 +9,7 @@
******************************************************************************/
package org.eclipse.jpt.jpa.core.resource.java;
-import java.util.ListIterator;
+import org.eclipse.jpt.common.utility.internal.iterables.ListIterable;
/**
* Corresponds to the JPA annotation
@@ -36,13 +36,13 @@ public interface JoinTableAnnotation
* Corresponds to the 'inverseJoinColumns' element of the JoinTable annotation.
* Return an empty iterator if the element does not exist in Java.
*/
- ListIterator<JoinColumnAnnotation> inverseJoinColumns();
+ ListIterable<JoinColumnAnnotation> getInverseJoinColumns();
String INVERSE_JOIN_COLUMNS_LIST = "inverseJoinColumns"; //$NON-NLS-1$
/**
* Corresponds to the 'inverseJoinColumns' element of the JoinTable annotation.
*/
- int inverseJoinColumnsSize();
+ int getInverseJoinColumnsSize();
/**
* Corresponds to the 'inverseJoinColumns' element of the JoinTable annotation.
@@ -52,11 +52,6 @@ public interface JoinTableAnnotation
/**
* Corresponds to the 'inverseJoinColumns' element of the JoinTable annotation.
*/
- int indexOfInverseJoinColumn(JoinColumnAnnotation joinColumn);
-
- /**
- * Corresponds to the 'inverseJoinColumns' element of the JoinTable annotation.
- */
JoinColumnAnnotation addInverseJoinColumn(int index);
/**

Back to the top