diff options
Diffstat (limited to 'extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml')
28 files changed, 844 insertions, 0 deletions
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/Activator.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/Activator.java new file mode 100644 index 00000000000..d5074f58034 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/Activator.java @@ -0,0 +1,61 @@ +/*****************************************************************************
+ * 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;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.papyrus.soaml.profile.validation"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/AgentClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/AgentClientSelector.java new file mode 100644 index 00000000000..9cdbed9b2d6 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/AgentClientSelector.java @@ -0,0 +1,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 AgentClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Agent"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/AttachmentClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/AttachmentClientSelector.java new file mode 100644 index 00000000000..2f254120de5 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/AttachmentClientSelector.java @@ -0,0 +1,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 AttachmentClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Attachment"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CapabilityClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CapabilityClientSelector.java new file mode 100644 index 00000000000..c96c3fab320 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CapabilityClientSelector.java @@ -0,0 +1,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 CapabilityClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Capability"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CatalogClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CatalogClientSelector.java new file mode 100644 index 00000000000..754360590b2 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CatalogClientSelector.java @@ -0,0 +1,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 CatalogClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Catalog"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategorizationClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategorizationClientSelector.java new file mode 100644 index 00000000000..3fa2f915b10 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategorizationClientSelector.java @@ -0,0 +1,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 CategorizationClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Categorization"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategoryClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategoryClientSelector.java new file mode 100644 index 00000000000..6d19c2349ab --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategoryClientSelector.java @@ -0,0 +1,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 CategoryClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Category"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategoryValueClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategoryValueClientSelector.java new file mode 100644 index 00000000000..160f687e559 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CategoryValueClientSelector.java @@ -0,0 +1,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 CategoryValueClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "CategoryValue"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CollaborationClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CollaborationClientSelector.java new file mode 100644 index 00000000000..6a9ac431a94 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CollaborationClientSelector.java @@ -0,0 +1,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 CollaborationClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Collaboration"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CollaborationUseClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CollaborationUseClientSelector.java new file mode 100644 index 00000000000..aaf8900c37e --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/CollaborationUseClientSelector.java @@ -0,0 +1,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 CollaborationUseClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "CollaborationUse"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ConsumerClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ConsumerClientSelector.java new file mode 100644 index 00000000000..38346c7e42c --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ConsumerClientSelector.java @@ -0,0 +1,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 ConsumerClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Consumer"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ExposeClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ExposeClientSelector.java new file mode 100644 index 00000000000..54148e2470f --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ExposeClientSelector.java @@ -0,0 +1,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 ExposeClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Expose"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/FreeFormDescriptorClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/FreeFormDescriptorClientSelector.java new file mode 100644 index 00000000000..1d6c08f9a85 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/FreeFormDescriptorClientSelector.java @@ -0,0 +1,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 FreeFormDescriptorClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "FreeFormDescriptor"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/FreeFormValueClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/FreeFormValueClientSelector.java new file mode 100644 index 00000000000..74f65a23260 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/FreeFormValueClientSelector.java @@ -0,0 +1,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 FreeFormValueClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "FreeFormValue"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MessageTypeClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MessageTypeClientSelector.java new file mode 100644 index 00000000000..20ee462a629 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MessageTypeClientSelector.java @@ -0,0 +1,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 MessageTypeClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "MessageType"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MilestoneClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MilestoneClientSelector.java new file mode 100644 index 00000000000..a058ff8f270 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MilestoneClientSelector.java @@ -0,0 +1,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 MilestoneClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Milestone"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MotivationRealizationClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MotivationRealizationClientSelector.java new file mode 100644 index 00000000000..fd8fcbb94b5 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/MotivationRealizationClientSelector.java @@ -0,0 +1,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 MotivationRealizationClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "MotivationRealization"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/NodeDescriptorClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/NodeDescriptorClientSelector.java new file mode 100644 index 00000000000..1ed92c7fc19 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/NodeDescriptorClientSelector.java @@ -0,0 +1,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 NodeDescriptorClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "NodeDescriptor"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ParticipantClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ParticipantClientSelector.java new file mode 100644 index 00000000000..7ba594bf641 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ParticipantClientSelector.java @@ -0,0 +1,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 ParticipantClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Participant"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/PortClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/PortClientSelector.java new file mode 100644 index 00000000000..17175862132 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/PortClientSelector.java @@ -0,0 +1,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 PortClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Port"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/PropertyClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/PropertyClientSelector.java new file mode 100644 index 00000000000..14398b8b015 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/PropertyClientSelector.java @@ -0,0 +1,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 PropertyClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Property"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ProviderClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ProviderClientSelector.java new file mode 100644 index 00000000000..6a8b8c9a562 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ProviderClientSelector.java @@ -0,0 +1,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 ProviderClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Provider"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/RequestClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/RequestClientSelector.java new file mode 100644 index 00000000000..c1ee4baba80 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/RequestClientSelector.java @@ -0,0 +1,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$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceChannelClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceChannelClientSelector.java new file mode 100644 index 00000000000..ffdc1677537 --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceChannelClientSelector.java @@ -0,0 +1,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 ServiceChannelClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "ServiceChannel"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceClientSelector.java new file mode 100644 index 00000000000..23183520b4b --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceClientSelector.java @@ -0,0 +1,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 ServiceClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "Service"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceContractClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceContractClientSelector.java new file mode 100644 index 00000000000..3adbf6a483a --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceContractClientSelector.java @@ -0,0 +1,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 ServiceContractClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "ServiceContract"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceInterfaceClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceInterfaceClientSelector.java new file mode 100644 index 00000000000..e971ec5c5bf --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServiceInterfaceClientSelector.java @@ -0,0 +1,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 ServiceInterfaceClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "ServiceInterface"); //$NON-NLS-1$
+ }
+}
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServicesArchitectureClientSelector.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServicesArchitectureClientSelector.java new file mode 100644 index 00000000000..5284e4bce9f --- /dev/null +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.profile.validation/src/org/eclipse/papyrus/soaml/profile/validation/selectors/ServicesArchitectureClientSelector.java @@ -0,0 +1,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 ServicesArchitectureClientSelector implements IClientSelector {
+
+ public boolean selects(Object stereoApplicationObj) {
+ return StereotypeUtil.checkStereoApplication(stereoApplicationObj, "ServicesArchitecture"); //$NON-NLS-1$
+ }
+}
|