Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7a7f9e6c5fb5c2a4f3fce5da30ef9bc8f9575c68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * <copyright>
 * </copyright>
 *
 * $Id: TableValidator.java,v 1.1 2009/07/23 11:16:29 mtaal Exp $
 */
package org.eclipse.emf.teneo.jpa.orm.validation;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.teneo.jpa.orm.UniqueConstraint;

/**
 * A sample validator interface for {@link org.eclipse.emf.teneo.jpa.orm.Table}.
 * 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 TableValidator {
	boolean validate();

	boolean validateUniqueConstraint(EList<UniqueConstraint> value);
	boolean validateCatalog(String value);
	boolean validateName(String value);
	boolean validateSchema(String value);
}

Back to the top