Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/EmbeddableValidator.java')
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/EmbeddableValidator.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/EmbeddableValidator.java b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/EmbeddableValidator.java
new file mode 100755
index 000000000..eb9e6fb1b
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/EmbeddableValidator.java
@@ -0,0 +1,26 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EmbeddableValidator.java,v 1.1 2009/07/23 11:16:29 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.jpa.orm.validation;
+
+import org.eclipse.emf.teneo.jpa.orm.AccessType;
+import org.eclipse.emf.teneo.jpa.orm.EmbeddableAttributes;
+
+/**
+ * A sample validator interface for {@link org.eclipse.emf.teneo.jpa.orm.Embeddable}.
+ * 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 EmbeddableValidator {
+ boolean validate();
+
+ boolean validateDescription(String value);
+ boolean validateAttributes(EmbeddableAttributes value);
+ boolean validateAccess(AccessType value);
+ boolean validateClass(String value);
+ boolean validateMetadataComplete(boolean value);
+}

Back to the top