Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7f462a0382a4c93398cfe27c7b5da684eae2ef46 (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: SqlResultSetMappingValidator.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.ColumnResult;
import org.eclipse.emf.teneo.jpa.orm.EntityResult;

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

	boolean validateEntityResult(EList<EntityResult> value);
	boolean validateColumnResult(EList<ColumnResult> value);
	boolean validateName(String value);
}

Back to the top