/** * <copyright> * </copyright> * * $Id$ */ package org.obeonetwork.dsl.bpmn2.validation; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; import org.obeonetwork.dsl.bpmn2.RelationshipDirection; /** * A sample validator interface for {@link org.obeonetwork.dsl.bpmn2.Relationship}. * 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 RelationshipValidator { boolean validate(); boolean validateType(String value); boolean validateDirection(RelationshipDirection value); boolean validateSources(EList<EObject> value); boolean validateTargets(EList<EObject> value); }