Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/OneToManyValidator.java')
-rwxr-xr-xcore/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/OneToManyValidator.java13
1 files changed, 9 insertions, 4 deletions
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/OneToManyValidator.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/OneToManyValidator.java
index 7ee31fc40..a88897109 100755
--- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/OneToManyValidator.java
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/OneToManyValidator.java
@@ -7,23 +7,28 @@
package org.eclipse.emf.teneo.annotations.pannotation.validation;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.teneo.annotations.pannotation.CascadeType;
import org.eclipse.emf.teneo.annotations.pannotation.FetchType;
/**
* A sample validator interface for {@link org.eclipse.emf.teneo.annotations.pannotation.OneToMany}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
+ * This doesn't really do anything, and it's not a real EMF artifact. It was generated by the
+ * org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can
+ * be extended. This can be disabled with -vmargs
+ * -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface OneToManyValidator {
boolean validate();
boolean validateTargetEntity(String value);
+
boolean validateCascade(EList<CascadeType> value);
+
boolean validateFetch(FetchType value);
+
boolean validateMappedBy(String value);
+
boolean validateIndexed(boolean value);
+
boolean validateUnique(boolean value);
}

Back to the top