| /** |
| * <copyright> |
| * </copyright> |
| * |
| * $Id: BookValidator.java,v 1.1 2007/02/20 01:36:47 ahunter Exp $ |
| */ |
| package org.eclipse.gmf.examples.eclipsecon.library.validation; |
| |
| import org.eclipse.gmf.examples.eclipsecon.library.Author; |
| |
| /** |
| * A sample validator interface for {@link org.eclipse.gmf.examples.eclipsecon.library.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 validateAuthor(Author value); |
| } |