blob: c1ee4baba80526de5b6c3bb0d89c6ea09eb4dc8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*****************************************************************************
* 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$
}
}
|