Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9aab2b3cc0a8fb9bfe107beec6e5938fff150cfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * <copyright>
 * </copyright>
 *
 * $Id: NamedQueryValidator.java,v 1.1 2008/03/31 07:22:07 mtaal Exp $
 */
package org.eclipse.emf.teneo.hibernate.hbannotation.validation;

/**
 * A sample validator interface for {@link org.eclipse.emf.teneo.hibernate.hbannotation.NamedQuery}.
 * 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 NamedQueryValidator {
	boolean validate();

	boolean validateName(String value);

	boolean validateQuery(String value);
}

Back to the top