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/SequenceStyleGeneratorValidator.java')
-rw-r--r--core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/SequenceStyleGeneratorValidator.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/SequenceStyleGeneratorValidator.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/SequenceStyleGeneratorValidator.java
new file mode 100644
index 000000000..cd3565eb0
--- /dev/null
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/validation/SequenceStyleGeneratorValidator.java
@@ -0,0 +1,25 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: SequenceStyleGeneratorValidator.java,v 1.1 2009/08/21 10:16:53 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.annotations.pannotation.validation;
+
+import org.eclipse.emf.teneo.annotations.pannotation.OptimizerType;
+
+/**
+ * A sample validator interface for {@link org.eclipse.emf.teneo.annotations.pannotation.SequenceStyleGenerator}.
+ * 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 SequenceStyleGeneratorValidator {
+ boolean validate();
+
+ boolean validateName(String value);
+ boolean validateSequenceName(String value);
+ boolean validateInitialValue(int value);
+ boolean validateIncrementSize(int value);
+ boolean validateOptimizer(OptimizerType value);
+}

Back to the top