Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/TableGeneratorAnnotation.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/TableGeneratorAnnotation.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/TableGeneratorAnnotation.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/TableGeneratorAnnotation.java
index 5e77cc046b..93382d9392 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/TableGeneratorAnnotation.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/resource/java/TableGeneratorAnnotation.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,9 +9,9 @@
******************************************************************************/
package org.eclipse.jpt.jpa.core.resource.java;
-import java.util.ListIterator;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jpt.common.core.utility.TextRange;
+import org.eclipse.jpt.common.utility.internal.iterables.ListIterable;
/**
* Corresponds to the JPA annotation
@@ -191,13 +191,13 @@ public interface TableGeneratorAnnotation
* Corresponds to the 'uniqueConstraints' element of the TableGenerator annotation.
* Return null if the element does not exist in Java.
*/
- ListIterator<UniqueConstraintAnnotation> uniqueConstraints();
+ ListIterable<UniqueConstraintAnnotation> getUniqueConstraints();
String UNIQUE_CONSTRAINTS_LIST = "uniqueConstraints"; //$NON-NLS-1$
/**
* Corresponds to the 'uniqueConstraints' element of the TableGenerator annotation.
*/
- int uniqueConstraintsSize();
+ int getUniqueConstraintsSize();
/**
* Corresponds to the 'uniqueConstraints' element of the TableGenerator annotation.
@@ -207,11 +207,6 @@ public interface TableGeneratorAnnotation
/**
* Corresponds to the 'uniqueConstraints' element of the TableGenerator annotation.
*/
- int indexOfUniqueConstraint(UniqueConstraintAnnotation uniqueConstraint);
-
- /**
- * Corresponds to the 'uniqueConstraints' element of the TableGenerator annotation.
- */
UniqueConstraintAnnotation addUniqueConstraint(int index);
/**

Back to the top