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/ForeignKeyValidator.java')
-rwxr-xr-xcore/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/ForeignKeyValidator.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/ForeignKeyValidator.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/ForeignKeyValidator.java
new file mode 100755
index 000000000..5a3dcea2b
--- /dev/null
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/ForeignKeyValidator.java
@@ -0,0 +1,20 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ForeignKeyValidator.java,v 1.1 2007/07/11 17:15:11 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.annotations.pannotation.validation;
+
+
+/**
+ * A sample validator interface for {@link org.eclipse.emf.teneo.annotations.pannotation.ForeignKey}.
+ * 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 ForeignKeyValidator {
+ boolean validate();
+
+ boolean validateName(String value);
+}

Back to the top