diff options
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/PrePersistValidator.java')
-rwxr-xr-x | eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/PrePersistValidator.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/PrePersistValidator.java b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/PrePersistValidator.java new file mode 100755 index 000000000..b8256decb --- /dev/null +++ b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/validation/PrePersistValidator.java @@ -0,0 +1,20 @@ +/** + * <copyright> + * </copyright> + * + * $Id: PrePersistValidator.java,v 1.1 2009/07/23 11:16:29 mtaal Exp $ + */ +package org.eclipse.emf.teneo.jpa.orm.validation; + + +/** + * A sample validator interface for {@link org.eclipse.emf.teneo.jpa.orm.PrePersist}. + * 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 PrePersistValidator { + boolean validate(); + + boolean validateMethodName(String value); +} |