/***************************************************************************** * Copyright (c) 2015 CEA LIST. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Fadwa TMAR (CEA LIST) fadwa.tmar@cea.fr - Initial API and implementation *****************************************************************************/ package org.eclipse.papyrus.soaml.profile.validation.selectors; import org.eclipse.emf.validation.model.IClientSelector; import org.eclipse.papyrus.uml.service.validation.StereotypeUtil; /** * This class filters (selects) passed stereotype applications. It returns true, if the * associated stereotype (or one of its super-stereotypes) has the name '[stereotype.name/]'. * * @generated */ public class RequestClientSelector implements IClientSelector { public boolean selects(Object stereoApplicationObj) { return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Request"); //$NON-NLS-1$ } }