diff options
Diffstat (limited to 'hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/validation/OnDeleteValidator.java')
-rwxr-xr-x | hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/validation/OnDeleteValidator.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/validation/OnDeleteValidator.java b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/validation/OnDeleteValidator.java new file mode 100755 index 000000000..8159507ed --- /dev/null +++ b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/validation/OnDeleteValidator.java @@ -0,0 +1,25 @@ +/** + * <copyright> + * </copyright> + * + * $Id: OnDeleteValidator.java,v 1.1 2007/03/04 21:18:07 mtaal Exp $ + */ +package org.eclipse.emf.teneo.hibernate.hbannotation.validation; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.teneo.hibernate.hbannotation.OnDeleteAction; + +/** + * A sample validator interface for {@link org.eclipse.emf.teneo.hibernate.hbannotation.OnDelete}. + * 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 OnDeleteValidator { + boolean validate(); + + boolean validateAction(OnDeleteAction value); + + boolean validateAction(EList<OnDeleteAction> value); +} |