Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.xpand3.common/emf-gen/org/eclipse/xpand3/staticTypesystem/validation/DeclaredTypeValidator.java')
-rw-r--r--plugins/org.eclipse.xpand3.common/emf-gen/org/eclipse/xpand3/staticTypesystem/validation/DeclaredTypeValidator.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/org.eclipse.xpand3.common/emf-gen/org/eclipse/xpand3/staticTypesystem/validation/DeclaredTypeValidator.java b/plugins/org.eclipse.xpand3.common/emf-gen/org/eclipse/xpand3/staticTypesystem/validation/DeclaredTypeValidator.java
new file mode 100644
index 00000000..7f2ff538
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.common/emf-gen/org/eclipse/xpand3/staticTypesystem/validation/DeclaredTypeValidator.java
@@ -0,0 +1,31 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DeclaredTypeValidator.java,v 1.1 2008/03/17 14:39:19 jkohnlein Exp $
+ */
+package org.eclipse.xpand3.staticTypesystem.validation;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.xpand3.staticTypesystem.AbstractTypeReference;
+import org.eclipse.xpand3.staticTypesystem.DeclaredProperty;
+import org.eclipse.xpand3.staticTypesystem.DeclaredStaticProperty;
+import org.eclipse.xpand3.staticTypesystem.DeclaredTypeParameter;
+
+/**
+ * A sample validator interface for {@link org.eclipse.xpand3.staticTypesystem.DeclaredType}.
+ * 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 DeclaredTypeValidator {
+ boolean validate();
+
+ boolean validateStaticProperties(EList<DeclaredStaticProperty> value);
+ boolean validateProperties(EList<DeclaredProperty> value);
+ boolean validateDeclaredTypeParameters(EList<DeclaredTypeParameter> value);
+ boolean validateSuperTypes(EList<AbstractTypeReference> value);
+ boolean validateUniqueID(String value);
+ boolean validateIsAbstract(boolean value);
+}

Back to the top