Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/BookValidator.java')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/BookValidator.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/BookValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/BookValidator.java
deleted file mode 100644
index 7ad482b6e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/BookValidator.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BookValidator.java,v 1.2 2009/09/12 04:47:30 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.validation;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory;
-import org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Writer;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Book}.
- * 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 BookValidator {
- boolean validate();
-
- boolean validateTitle(String value);
- boolean validatePages(int value);
- boolean validateCategory(BookCategory value);
- boolean validateAuthor(Writer value);
- boolean validateTest(int value);
-
- boolean validateFrontCoverImage(byte[] value);
-
- boolean validateAbstract(String value);
-}

Back to the top