diff options
author | Martin Taal | 2011-11-01 18:12:35 +0000 |
---|---|---|
committer | Martin Taal | 2011-11-01 18:12:35 +0000 |
commit | 97842a213a338601aa158b3d9f995f464bb25681 (patch) | |
tree | 5b9a657ccdce9960b252f3bc8dcc09a2626bd711 /eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/ManyToOneValidator.java | |
parent | 709ec105b89258b5e6b27e57cb3deb177529c54c (diff) | |
download | org.eclipse.emf.teneo-97842a213a338601aa158b3d9f995f464bb25681.tar.gz org.eclipse.emf.teneo-97842a213a338601aa158b3d9f995f464bb25681.tar.xz org.eclipse.emf.teneo-97842a213a338601aa158b3d9f995f464bb25681.zip |
New structure
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/ManyToOneValidator.java')
-rwxr-xr-x | eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/ManyToOneValidator.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/ManyToOneValidator.java b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/ManyToOneValidator.java new file mode 100755 index 000000000..abe9661bc --- /dev/null +++ b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/ManyToOneValidator.java @@ -0,0 +1,32 @@ +/** + * <copyright> + * </copyright> + * + * $Id: ManyToOneValidator.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.CascadeType; +import org.eclipse.emf.teneo.jpa.orm.FetchType; +import org.eclipse.emf.teneo.jpa.orm.JoinColumn; +import org.eclipse.emf.teneo.jpa.orm.JoinTable; + +/** + * A sample validator interface for {@link org.eclipse.emf.teneo.jpa.orm.ManyToOne}. + * 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 ManyToOneValidator { + boolean validate(); + + boolean validateJoinColumn(EList<JoinColumn> value); + boolean validateJoinTable(JoinTable value); + boolean validateCascade(CascadeType value); + boolean validateFetch(FetchType value); + boolean validateName(String value); + boolean validateOptional(boolean value); + boolean validateTargetEntity(String value); +} |