Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Wouters2014-04-04 14:13:16 +0000
committerLaurent Wouters2014-04-04 14:13:16 +0000
commitbfd26c7d4fffc448f167a1f5460916e68c0c07f5 (patch)
treeb8abcefdb7a02d61ea8eb61b4b27c2b24b05c5c7 /deprecated
parent3ad1612f2763dd30f2259d6f12eb8c6cacd887dd (diff)
downloadorg.eclipse.papyrus-bfd26c7d4fffc448f167a1f5460916e68c0c07f5.tar.gz
org.eclipse.papyrus-bfd26c7d4fffc448f167a1f5460916e68c0c07f5.tar.xz
org.eclipse.papyrus-bfd26c7d4fffc448f167a1f5460916e68c0c07f5.zip
[clean] Retiring org.eclipse.papyrus.sysml.facetslast/org.eclipse.papyrus.sysml.facets
Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
Diffstat (limited to 'deprecated')
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/.classpath7
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/.project28
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/META-INF/MANIFEST.MF33
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/README.txt7
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/about.html28
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/build.properties7
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/plugin.properties3
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/plugin.xml17
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/extendedsysml.genmodel20
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/extentedsysml.ecore12
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsFacets.facetSet16
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsQueries.querySet19
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet56
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet80
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.facetSet270
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.querySet594
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/Activator.java45
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/NAFlowPortDirection.java198
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsFactory.java41
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsPackage.java130
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsFactoryImpl.java149
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsPackageImpl.java173
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/Messages.java40
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/messages.properties6
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortDirectionQuery.java37
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortIsAtomicQuery.java42
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/setter/SetFlowPortDirectionQuery.java73
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementBase_ClassQuery.java30
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedFromQuery.java40
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedQuery.java40
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementIdQuery.java30
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementMasterQuery.java30
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementRefinedByQuery.java33
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementSatifiedByQuery.java33
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTextQuery.java30
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTracedToQuery.java35
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementVerifiedByQuery.java38
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedFromQuery.java133
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedQuery.java133
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementIdQuery.java96
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementMasterQuery.java121
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementRefinedByQuery.java125
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementSatisfiedByQuery.java120
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTextQuery.java92
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTracedToQuery.java150
-rw-r--r--deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementVerifiedByQuery.java120
46 files changed, 0 insertions, 3560 deletions
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/.classpath b/deprecated/org.eclipse.papyrus.sysml.facets/.classpath
deleted file mode 100644
index 45f024e850e..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/.project b/deprecated/org.eclipse.papyrus.sysml.facets/.project
deleted file mode 100644
index df39881e32a..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.sysml.facets</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/META-INF/MANIFEST.MF b/deprecated/org.eclipse.papyrus.sysml.facets/META-INF/MANIFEST.MF
deleted file mode 100644
index 29da509e8f9..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,33 +0,0 @@
-Manifest-Version: 1.0
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.emf.facet.infra.common.core,
- org.eclipse.emf.facet.infra.query.core,
- org.eclipse.emf.ecore,
- org.eclipse.uml2.uml,
- org.eclipse.papyrus.sysml;bundle-version="1.0.0",
- org.eclipse.emf.edit,
- org.eclipse.uml2.common.edit,
- org.eclipse.papyrus.infra.core;bundle-version="1.0.0",
- org.eclipse.papyrus.infra.services.edit;bundle-version="1.0.0",
- org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0",
- org.eclipse.papyrus.uml.service.types;bundle-version="1.0.0",
- org.eclipse.papyrus.sysml.diagram.common;bundle-version="1.0.0",
- org.eclipse.papyrus.infra.widgets.toolbox;bundle-version="1.0.0",
- org.eclipse.gmf.runtime.common.core;bundle-version="1.4.1",
- org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0",
- org.eclipse.jface;bundle-version="3.8.0",
- org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.0.0",
- org.eclipse.uml2.uml.profile.l2;bundle-version="1.0.0",
- org.eclipse.papyrus.infra.emf;bundle-version="1.0.0"
-Bundle-Vendor: %providerName
-Bundle-ActivationPolicy: lazy
-Bundle-ClassPath: .,
- bin
-Bundle-Version: 1.0.0.qualifier
-Bundle-Localization: plugin
-Bundle-Name: %pluginName
-Bundle-ManifestVersion: 2
-Bundle-Activator: org.eclipse.papyrus.sysml.facets.Activator
-Bundle-SymbolicName: org.eclipse.papyrus.sysml.facets;singleton:=true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/README.txt b/deprecated/org.eclipse.papyrus.sysml.facets/README.txt
deleted file mode 100644
index 51c4cbfeaf5..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/README.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-The goal of this plugin :
- - provide facets to represent and edit the SysML elements in the Papyrus Table. The facets allow to
- represent and edit stereotypes properties.
-
-the goal of extendedsysml :
- This model provides the Enumeration NAFlowPortDirection. This Enumeration is used to display N/A in the FlowPortDirection
- when the port is not atomic. So the Facet "Direction" extends Enumerator and not FlowDirection to allow this behavior.
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/about.html b/deprecated/org.eclipse.papyrus.sysml.facets/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/build.properties b/deprecated/org.eclipse.papyrus.sysml.facets/build.properties
deleted file mode 100644
index ec9877ca04a..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-#Mon Sep 12 09:30:16 CEST 2011
-bin.includes=META-INF/,.,plugin.xml,resources/,about.html,plugin.properties
-output..=bin/
-src.includes = about.html
-source..=src/
-bin..=bin/
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/plugin.properties b/deprecated/org.eclipse.papyrus.sysml.facets/plugin.properties
deleted file mode 100644
index 4b1ed988b60..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/plugin.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-#Properties file for org.eclipse.papyrus.sysml.facets
-providerName = Eclipse Modeling Project
-pluginName = EMF Facets for Papyrus SysML (Incubation)
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/plugin.xml b/deprecated/org.eclipse.papyrus.sysml.facets/plugin.xml
deleted file mode 100644
index 7f2b95565b0..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/plugin.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?eclipse version="3.4"?>
-
-<plugin>
- <extension point="org.eclipse.emf.facet.infra.facet.registration">
- <facetset file="resources/requirementsFacets.facetSet"/>
- </extension>
- <extension point="org.eclipse.emf.facet.infra.query.registration">
- <modelqueryset file="resources/requirementsQueries.querySet"/>
- </extension>
- <extension point="org.eclipse.emf.facet.infra.query.registration">
- <modelqueryset file="resources/portAndFlowsQueries.querySet"/>
- </extension>
- <extension point="org.eclipse.emf.facet.infra.facet.registration">
- <facetset file="resources/portAndFlowsFacets.facetSet"/>
- </extension>
-</plugin>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/extendedsysml.genmodel b/deprecated/org.eclipse.papyrus.sysml.facets/resources/extendedsysml.genmodel
deleted file mode 100644
index ba39a559190..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/extendedsysml.genmodel
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.sysml.facets_branch/src"
- modelPluginID="org.eclipse.papyrus.sysml.facets_branch" modelName="Extendedsysml"
- importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false">
- <foreignModel>extentedsysml.ecore</foreignModel>
- <genPackages prefix="Extendedsysml" basePackage="org.eclipse.papyrus.sysml.facets.extendedsysml"
- disposableProviderFactory="true" ecorePackage="extentedsysml.ecore#/">
- <nestedGenPackages prefix="Portandflows" disposableProviderFactory="true" ecorePackage="extentedsysml.ecore#//portandflows">
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="extentedsysml.ecore#//portandflows/FlowPortDirection">
- <genEnumLiterals ecoreEnumLiteral="extentedsysml.ecore#//portandflows/FlowPortDirection/in"/>
- <genEnumLiterals ecoreEnumLiteral="extentedsysml.ecore#//portandflows/FlowPortDirection/out"/>
- <genEnumLiterals ecoreEnumLiteral="extentedsysml.ecore#//portandflows/FlowPortDirection/inout"/>
- </genEnums>
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="extentedsysml.ecore#//portandflows/NAFlowPortDirection">
- <genEnumLiterals ecoreEnumLiteral="extentedsysml.ecore#//portandflows/NAFlowPortDirection/NA"/>
- </genEnums>
- </nestedGenPackages>
- </genPackages>
-</genmodel:GenModel>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/extentedsysml.ecore b/deprecated/org.eclipse.papyrus.sysml.facets/resources/extentedsysml.ecore
deleted file mode 100644
index 154a23ae23d..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/extentedsysml.ecore
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="extendedsysml"
- nsURI="http://www.eclipse.org/papyrus/0.8.0/ExtendedSysML" nsPrefix="ExtendedSysml">
- <eSubpackages name="portandflows" nsURI="http://www.eclipse.org/papyrus/0.7.0/ExtendedSysML/PortAndFlows"
- nsPrefix="PortAndFlows">
- <eClassifiers xsi:type="ecore:EEnum" name="NAFlowPortDirection" instanceTypeName="NAFlowPortDirection">
- <eLiterals name="NA" literal="N/A"/>
- </eClassifiers>
- </eSubpackages>
-</ecore:EPackage>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsFacets.facetSet b/deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsFacets.facetSet
deleted file mode 100644
index ab24bf55d01..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsFacets.facetSet
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<facet:FacetSet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:facet="http://www.eclipse.org/EmfFacet/infra/facet/0.8.incubation" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="portAndFlowsFacets" nsURI="http://www.eclipse.org/papyrus/sysml/portAndFlows/SysMLPortAndFlowsFacetSet.facetSet" nsPrefix="SysMLPortAndFlowsFacetSet">
- <eClassifiers xsi:type="facet:Facet" name="FlowPort" abstract="true">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Port"/>
- <eStructuralFeatures xsi:type="facet:FacetAttribute" name="/isAtomic" changeable="false" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/portAndFlowsQueries#GetFlowPortIsAtomicQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetAttribute" name="direction" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EEnumerator"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/portAndFlowsQueries#GetFlowPortDirectionQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/portAndFlowsQueries#SetFlowPortDirectionQuery"/>
- </eStructuralFeatures>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
-</facet:FacetSet>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsQueries.querySet b/deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsQueries.querySet
deleted file mode 100644
index de8e0bcf4a9..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/portAndFlowsQueries.querySet
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="portAndFlowsQueries" description="These queries are used to manage the PortAndFlowsProfile">
- <associatedMetamodels href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- <associatedMetamodels href="http://www.eclipse.org/emf/2002/Ecore#/"/>
- <associatedMetamodels href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/>
- <associatedMetamodels href="http://www.eclipse.org/uml2/4.0.0/Types#/"/>
- <queries xsi:type="query:JavaModelQuery" name="GetFlowPortIsAtomicQuery" description="Query to get the derived attribute &quot;isAtomic&quot; of the FlowPort" implementationClassName="org.eclipse.papyrus.sysml.facets.portandflows.query.value.getter.GetFlowPortIsAtomicQuery">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Port"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetFlowPortDirectionQuery" description="Query to qet the attribute &quot;Direction&quot; of the FlowPort" implementationClassName="org.eclipse.papyrus.sysml.facets.portandflows.query.value.getter.GetFlowPortDirectionQuery">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EEnumerator"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Port"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetFlowPortDirectionQuery" description="Query to qet the attribute &quot;Direction&quot; of the FlowPort" implementationClassName="org.eclipse.papyrus.sysml.facets.portandflows.query.value.setter.SetFlowPortDirectionQuery">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EEnumerator"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Port"/>
- </queries>
-</query:ModelQuerySet>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet b/deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet
deleted file mode 100644
index 8e7cded63a0..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<facet:FacetSet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:facet="http://www.eclipse.org/EmfFacet/infra/facet/0.8.incubation" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="requirementsFacets" nsURI="http://www.eclipse.org/papyrus/sysml/requirements/SysMLRequirementsFacetSet.facetSet" nsPrefix="SysMLRequirementsFacetSet">
- <eClassifiers xsi:type="facet:Facet" name="Requirement" abstract="true">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <eStructuralFeatures xsi:type="facet:FacetAttribute" name="text" lowerBound="1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementTextQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementTextQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetAttribute" name="id" lowerBound="1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementIdQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementIdQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="/derived" upperBound="-1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementDerivedQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementDerivedQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="/derivedFrom" upperBound="-1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementDerivedFromQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementDerivedFromQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="/satisfiedBy" upperBound="-1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementSatisfiedByQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementSatisfiedByQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="/refinedBy" upperBound="-1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementRefinedByQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementRefinedByQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="/tracedTo" upperBound="-1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementTracedToQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementTracedToQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="/verifiedBy" upperBound="-1" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementVerifiedByQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementVerifiedByQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="/master" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementMasterQuery"/>
- <setQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#SetRequirementMasterQuery"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="facet:FacetReference" name="base_Class" lowerBound="1" changeable="false" volatile="true" unsettable="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementBase_ClassQuery"/>
- </eStructuralFeatures>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
-</facet:FacetSet>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet b/deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet
deleted file mode 100644
index bdf14ce2ef7..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="requirementsQueries" description="These queries are used to manage the requirements">
- <associatedMetamodels href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementIdQuery" description="Query to get the attribute &quot;id&quot; of the requirement" lowerBound="1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementIdQuery">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementTextQuery" description="Query to get the attribute &quot;text&quot; of the requirement" lowerBound="1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementTextQuery">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementDerivedQuery" description="Query to get the reference &quot;derived&quot; of the requirement" upperBound="-1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementDerivedQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementDerivedFromQuery" description="Query to get the reference &quot;derivedBy&quot; of the requirement" upperBound="-1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementDerivedFromQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementSatisfiedByQuery" description="Query to get the reference &quot;satisfiedBy&quot; of the requirement" upperBound="-1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementSatifiedByQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementRefinedByQuery" description="Query to get the reference &quot;redefinedBy&quot; of the requirement" upperBound="-1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementRefinedByQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementTracedToQuery" description="Query to get the reference &quot;tracedTo&quot; of the requirement" upperBound="-1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementTracedToQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementVerifiedByQuery" description="Query to get the reference &quot;verified by&quot; of the requirement" upperBound="-1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementVerifiedByQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementMasterQuery" description="Query to get the field reference &quot;master&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementMasterQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="GetRequirementBase_ClassQuery" description="Query to get the reference &quot;base_class&quot; of the requirement" lowerBound="1" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.getter.GetRequirementBase_ClassQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementIdQuery" description="Query to set the attribute &quot;id&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementIdQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementTextQuery" description="Query to set the attribute &quot;text&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementTextQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementDerivedFromQuery" description="Query to set the derived attribute &quot;derived From&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementDerivedFromQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementDerivedQuery" description="Query to set the derived attribute &quot;derived&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementDerivedQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementMasterQuery" description="Query to set the derived attribute &quot;master&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementMasterQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementSatisfiedByQuery" description="Query to set the derived attribute &quot;satisfiedBy&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementSatisfiedByQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementVerifiedByQuery" description="Query to set the derived attribute &quot;verifiedBy&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementVerifiedByQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementTracedToQuery" description="Query to set the derived attribute &quot;tracedTo&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementTracedToQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="SetRequirementRefinedByQuery" description="Query to set the derived attribute &quot;refinedBy&quot; of the requirement" implementationClassName="org.eclipse.papyrus.sysml.facets.query.value.setter.SetRequirementRefinedByQuery">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- </queries>
-</query:ModelQuerySet>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.facetSet b/deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.facetSet
deleted file mode 100644
index c8d6ea1cbf8..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.facetSet
+++ /dev/null
@@ -1,270 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<profilefacet:ProfileFacetSet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:paramQuery="http://www.eclipse.org/papyrus/infra/emf/facet/parametric/query/0.9.1" xmlns:profilefacet="http://www.eclipse.org/papyrus/0.9/profilefacet" name="SysML" nsURI="http://www.eclipse.org/papyrus/profilefacet/SysML" nsPrefix="SysML" representedElement_XMI_ID="_TZ_nULU5EduiKqCzJMWbGw" profileQualifiedName="SysML">
- <eSubpackages xsi:type="profilefacet:ProfileFacetSet" name="ModelElements" nsURI="http://www.eclipse.org/papyrus/profilefacet/SysML::ModelElements" nsPrefix="ModelElements" representedElement_XMI_ID="_Gx8MgLX7EduFmqQsrNB9lw" profileQualifiedName="SysML::ModelElements">
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="View" representedElement_XMI_ID="_mPGvULU9Edu2ieF4ON8UjA" stereotypeQualifiedName="SysML::ModelElements::View">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="viewPoint" lowerBound="1" changeable="false" derived="true" representedElement_XMI_ID="_3Qho8LU9Edu2ieF4ON8UjA" propertyQualifiedName="SysML::ModelElements::View::viewPoint" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::ModelElements::View::viewPoint_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::ModelElements::View::viewPoint_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::ModelElements::View_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="ViewPoint" representedElement_XMI_ID="_mhSEcLU9Edu2ieF4ON8UjA" stereotypeQualifiedName="SysML::ModelElements::ViewPoint">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="stakeHolders" upperBound="-1" derived="true" representedElement_XMI_ID="__VwDoLU9Edu2ieF4ON8UjA" propertyQualifiedName="SysML::ModelElements::ViewPoint::stakeHolders">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::ModelElements::ViewPoint::stakeHolders_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::ModelElements::ViewPoint::stakeHolders_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="purpose" derived="true" representedElement_XMI_ID="__lB1wLU9Edu2ieF4ON8UjA" propertyQualifiedName="SysML::ModelElements::ViewPoint::purpose">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::ModelElements::ViewPoint::purpose_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::ModelElements::ViewPoint::purpose_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="concerns" upperBound="-1" derived="true" representedElement_XMI_ID="__s9pwLU9Edu2ieF4ON8UjA" propertyQualifiedName="SysML::ModelElements::ViewPoint::concerns">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::ModelElements::ViewPoint::concerns_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::ModelElements::ViewPoint::concerns_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="languages" upperBound="-1" derived="true" representedElement_XMI_ID="__48QQLU9Edu2ieF4ON8UjA" propertyQualifiedName="SysML::ModelElements::ViewPoint::languages">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::ModelElements::ViewPoint::languages_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::ModelElements::ViewPoint::languages_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="methods" upperBound="-1" derived="true" representedElement_XMI_ID="_AEs0ULU-Edu2ieF4ON8UjA" propertyQualifiedName="SysML::ModelElements::ViewPoint::methods">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::ModelElements::ViewPoint::methods_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::ModelElements::ViewPoint::methods_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::ModelElements::ViewPoint_query"/>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- </eSubpackages>
- <eSubpackages xsi:type="profilefacet:ProfileFacetSet" name="Blocks" nsURI="http://www.eclipse.org/papyrus/profilefacet/SysML::Blocks" nsPrefix="Blocks" representedElement_XMI_ID="_fSw28LX7EduFmqQsrNB9lw" profileQualifiedName="SysML::Blocks">
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="Block" representedElement_XMI_ID="_8J2A8LVAEdu2ieF4ON8UjA" stereotypeQualifiedName="SysML::Blocks::Block">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="isEncapsulated" derived="true" representedElement_XMI_ID="__AIRkLVAEdu2ieF4ON8UjA" propertyQualifiedName="SysML::Blocks::Block::isEncapsulated">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Blocks::Block::isEncapsulated_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Blocks::Block::isEncapsulated_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Blocks::Block_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="Unit" representedElement_XMI_ID="_t9k6ELVBEdu2ieF4ON8UjA" stereotypeQualifiedName="SysML::Blocks::Unit">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="dimension" unsettable="true" derived="true" representedElement_XMI_ID="_U8AxIKGxEdyj2Ya50HPlXg" propertyQualifiedName="SysML::Blocks::Unit::dimension">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Blocks::Unit::dimension_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Blocks::Unit::dimension_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Blocks::Unit_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="ValueType" representedElement_XMI_ID="_yfp-ILVBEdu2ieF4ON8UjA" stereotypeQualifiedName="SysML::Blocks::ValueType">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="unit" unsettable="true" derived="true" representedElement_XMI_ID="_mfPXUKGxEdyj2Ya50HPlXg" propertyQualifiedName="SysML::Blocks::ValueType::unit">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Blocks::ValueType::unit_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Blocks::ValueType::unit_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="dimension" unsettable="true" derived="true" representedElement_XMI_ID="_pj40EKGxEdyj2Ya50HPlXg" propertyQualifiedName="SysML::Blocks::ValueType::dimension">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Blocks::ValueType::dimension_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Blocks::ValueType::dimension_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Blocks::ValueType_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="NestedConnectorEnd" representedElement_XMI_ID="_moxaQLVCEdu2ieF4ON8UjA" stereotypeQualifiedName="SysML::Blocks::NestedConnectorEnd">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="propertyPath" lowerBound="1" upperBound="-1" derived="true" representedElement_XMI_ID="_oH640LVCEdu2ieF4ON8UjA" propertyQualifiedName="SysML::Blocks::NestedConnectorEnd::propertyPath">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Blocks::NestedConnectorEnd::propertyPath_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Blocks::NestedConnectorEnd::propertyPath_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Blocks::NestedConnectorEnd_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="ParticipantProperty" representedElement_XMI_ID="_AJuDYKGwEdyj2Ya50HPlXg" stereotypeQualifiedName="SysML::Blocks::ParticipantProperty">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="end" lowerBound="1" unsettable="true" derived="true" representedElement_XMI_ID="_X_BroKGwEdyj2Ya50HPlXg" propertyQualifiedName="SysML::Blocks::ParticipantProperty::end">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Blocks::ParticipantProperty::end_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Blocks::ParticipantProperty::end_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Blocks::ParticipantProperty_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="ConnectorProperty" representedElement_XMI_ID="_FC-RUKGwEdyj2Ya50HPlXg" stereotypeQualifiedName="SysML::Blocks::ConnectorProperty">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="connector" lowerBound="1" unsettable="true" derived="true" representedElement_XMI_ID="_bq6ukKGwEdyj2Ya50HPlXg" propertyQualifiedName="SysML::Blocks::ConnectorProperty::connector">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Blocks::ConnectorProperty::connector_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Blocks::ConnectorProperty::connector_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Blocks::ConnectorProperty_query"/>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- </eSubpackages>
- <eSubpackages xsi:type="profilefacet:ProfileFacetSet" name="PortAndFlows" nsURI="http://www.eclipse.org/papyrus/profilefacet/SysML::PortAndFlows" nsPrefix="PortAndFlows" representedElement_XMI_ID="_rpx28LX7EduFmqQsrNB9lw" profileQualifiedName="SysML::PortAndFlows">
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="FlowPort" representedElement_XMI_ID="_lNvKMLVDEdu2ieF4ON8UjA" stereotypeQualifiedName="SysML::PortAndFlows::FlowPort">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="isAtomic" lowerBound="1" changeable="false" derived="true" representedElement_XMI_ID="_TrY4ULVEEdu2ieF4ON8UjA" propertyQualifiedName="SysML::PortAndFlows::FlowPort::isAtomic" isDerived="true">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::PortAndFlows::FlowPort::isAtomic_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::PortAndFlows::FlowPort::isAtomic_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="isConjugated" derived="true" representedElement_XMI_ID="_T-tc8LVEEdu2ieF4ON8UjA" propertyQualifiedName="SysML::PortAndFlows::FlowPort::isConjugated">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::PortAndFlows::FlowPort::isConjugated_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::PortAndFlows::FlowPort::isConjugated_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="direction" lowerBound="1" derived="true" representedElement_XMI_ID="_ULDP0LVEEdu2ieF4ON8UjA" propertyQualifiedName="SysML::PortAndFlows::FlowPort::direction">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//EnumerationLiteral"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::PortAndFlows::FlowPort::direction_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::PortAndFlows::FlowPort::direction_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::PortAndFlows::FlowPort_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="FlowProperty" representedElement_XMI_ID="_mB-qkLVDEdu2ieF4ON8UjA" stereotypeQualifiedName="SysML::PortAndFlows::FlowProperty">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="direction" lowerBound="1" derived="true" representedElement_XMI_ID="_M9NJELVEEdu2ieF4ON8UjA" propertyQualifiedName="SysML::PortAndFlows::FlowProperty::direction">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//EnumerationLiteral"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::PortAndFlows::FlowProperty::direction_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::PortAndFlows::FlowProperty::direction_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::PortAndFlows::FlowProperty_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="ItemFlow" representedElement_XMI_ID="_9cdikLVEEdu2ieF4ON8UjA" stereotypeQualifiedName="SysML::PortAndFlows::ItemFlow">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="itemProperty" unsettable="true" derived="true" representedElement_XMI_ID="__ulWMLVEEdu2ieF4ON8UjA" propertyQualifiedName="SysML::PortAndFlows::ItemFlow::itemProperty">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::PortAndFlows::ItemFlow::itemProperty_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::PortAndFlows::ItemFlow::itemProperty_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::PortAndFlows::ItemFlow_query"/>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- </eSubpackages>
- <eSubpackages xsi:type="profilefacet:ProfileFacetSet" name="Activities" nsURI="http://www.eclipse.org/papyrus/profilefacet/SysML::Activities" nsPrefix="Activities" representedElement_XMI_ID="_C2zXMLX8EduFmqQsrNB9lw" profileQualifiedName="SysML::Activities">
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="Rate" representedElement_XMI_ID="_2a7ZQLXjEduHWpAaWjM62w" stereotypeQualifiedName="SysML::Activities::Rate">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="rate" unsettable="true" derived="true" representedElement_XMI_ID="_YzasYLXkEduHWpAaWjM62w" propertyQualifiedName="SysML::Activities::Rate::rate">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Activities::Rate::rate_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Activities::Rate::rate_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Activities::Rate_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="Probability" representedElement_XMI_ID="_3MEiULXjEduHWpAaWjM62w" stereotypeQualifiedName="SysML::Activities::Probability">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="probability" unsettable="true" derived="true" representedElement_XMI_ID="_frTxQLXkEduHWpAaWjM62w" propertyQualifiedName="SysML::Activities::Probability::probability">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Activities::Probability::probability_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Activities::Probability::probability_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Activities::Probability_query"/>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- </eSubpackages>
- <eSubpackages xsi:type="profilefacet:ProfileFacetSet" name="Allocations" nsURI="http://www.eclipse.org/papyrus/profilefacet/SysML::Allocations" nsPrefix="Allocations" representedElement_XMI_ID="_NxdG4LX8EduFmqQsrNB9lw" profileQualifiedName="SysML::Allocations">
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="Allocated" representedElement_XMI_ID="_Hj0sgLXnEduHWpAaWjM62w" stereotypeQualifiedName="SysML::Allocations::Allocated">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="allocatedFrom" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_Sj35kLXnEduHWpAaWjM62w" propertyQualifiedName="SysML::Allocations::Allocated::allocatedFrom" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Allocations::Allocated::allocatedFrom_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Allocations::Allocated::allocatedFrom_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="allocatedTo" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_S07NULXnEduHWpAaWjM62w" propertyQualifiedName="SysML::Allocations::Allocated::allocatedTo" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Allocations::Allocated::allocatedTo_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Allocations::Allocated::allocatedTo_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Allocations::Allocated_query"/>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- </eSubpackages>
- <eSubpackages xsi:type="profilefacet:ProfileFacetSet" name="Requirements" nsURI="http://www.eclipse.org/papyrus/profilefacet/SysML::Requirements" nsPrefix="Requirements" representedElement_XMI_ID="_OOJC4LX8EduFmqQsrNB9lw" profileQualifiedName="SysML::Requirements">
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="TestCase" representedElement_XMI_ID="_Sb6wELXqEduHWpAaWjM62w" stereotypeQualifiedName="SysML::Requirements::TestCase">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="verifies" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_zN7ToKG1Edyj2Ya50HPlXg" propertyQualifiedName="SysML::Requirements::TestCase::verifies" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::TestCase::verifies_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::TestCase::verifies_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Requirements::TestCase_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="Requirement" representedElement_XMI_ID="_xajygLXqEduHWpAaWjM62w" stereotypeQualifiedName="SysML::Requirements::Requirement">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="text" lowerBound="1" derived="true" representedElement_XMI_ID="_3DxdwLXqEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::text">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::text_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::text_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetAttribute" name="id" lowerBound="1" derived="true" representedElement_XMI_ID="_3YlQILXqEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::id">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::id_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::id_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="derived" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_3jp3sLXqEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::derived" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::derived_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::derived_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="derivedFrom" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_3wFxMLXqEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::derivedFrom" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::derivedFrom_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::derivedFrom_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="satisfiedBy" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_FHcz4LXrEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::satisfiedBy" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::satisfiedBy_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::satisfiedBy_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="refinedBy" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_F-KZcLXrEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::refinedBy" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::refinedBy_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::refinedBy_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="tracedTo" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_O6rBcLXrEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::tracedTo" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::tracedTo_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::tracedTo_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="verifiedBy" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_PHumALXrEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::verifiedBy" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::verifiedBy_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::verifiedBy_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="master" changeable="false" derived="true" representedElement_XMI_ID="_PStuALXrEduHWpAaWjM62w" propertyQualifiedName="SysML::Requirements::Requirement::master" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::Requirement::master_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::Requirement::master_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Requirements::Requirement_query"/>
- </eClassifiers>
- <eClassifiers xsi:type="profilefacet:StereotypeFacet" name="RequirementRelated" representedElement_XMI_ID="_ypiHELXqEduHWpAaWjM62w" stereotypeQualifiedName="SysML::Requirements::RequirementRelated">
- <eSuperTypes href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="tracedFrom" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_0nBtgLX1Edu94_NE0EO5_A" propertyQualifiedName="SysML::Requirements::RequirementRelated::tracedFrom" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::RequirementRelated::tracedFrom_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::RequirementRelated::tracedFrom_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="satisfies" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_0yJ_cLX1Edu94_NE0EO5_A" propertyQualifiedName="SysML::Requirements::RequirementRelated::satisfies" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::RequirementRelated::satisfies_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::RequirementRelated::satisfies_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="refines" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_1AqVgLX1Edu94_NE0EO5_A" propertyQualifiedName="SysML::Requirements::RequirementRelated::refines" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::RequirementRelated::refines_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::RequirementRelated::refines_value"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="profilefacet:StereotypePropertyFacetReference" name="verifies" upperBound="-1" changeable="false" derived="true" representedElement_XMI_ID="_56-VIMq4Ed2earfX6q16xg" propertyQualifiedName="SysML::Requirements::RequirementRelated::verifies" isDerived="true">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <valueQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#get_SysML::Requirements::RequirementRelated::verifies_value"/>
- <setQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#set_SysML::Requirements::RequirementRelated::verifies_value"/>
- </eStructuralFeatures>
- <conditionQuery xsi:type="paramQuery:ParametricQuery" href="sysml_profilefacet.querySet#IsApplied_SysML::Requirements::RequirementRelated_query"/>
- </eClassifiers>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- </eSubpackages>
- <extendedPackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
-</profilefacet:ProfileFacetSet>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.querySet b/deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.querySet
deleted file mode 100644
index 048bc4e9c75..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/resources/sysml_profilefacet.querySet
+++ /dev/null
@@ -1,594 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:paramQuery="http://www.eclipse.org/papyrus/infra/emf/facet/parametric/query/0.9.1" xmlns:profilefacet="http://www.eclipse.org/papyrus/0.9/profilefacet" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="QueriesFor_SysML" description="Queries used by the generated facetset SysML">
- <associatedMetamodels href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- <associatedMetamodels href="http://www.eclipse.org/emf/2002/Ecore#/"/>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Blocks::Block_query" description="Test if the stereotype SysML::Blocks::Block or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Blocks::Block"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::ModelElements::ViewPoint::purpose_value" description="Getter for the stereotype property SysML::ModelElements::ViewPoint::purpose">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getStringSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/purpose"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::ModelElements::ViewPoint::methods_value" description="Setter for the stereotype property SysML::ModelElements::ViewPoint::methods">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/methods"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Allocations::Allocated::allocatedTo_value" description="Getter for the stereotype property SysML::Allocations::Allocated::allocatedTo" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Allocations/Allocated/allocatedTo"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::RequirementRelated::verifies_value" description="Setter for the stereotype property SysML::Requirements::RequirementRelated::verifies">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/verifies"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::master_value" description="Getter for the stereotype property SysML::Requirements::Requirement::master">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/master"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Blocks::NestedConnectorEnd::propertyPath_value" description="Setter for the stereotype property SysML::Blocks::NestedConnectorEnd::propertyPath">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/NestedConnectorEnd/propertyPath"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::PortAndFlows::FlowPort::isAtomic_value" description="Getter for the stereotype property SysML::PortAndFlows::FlowPort::isAtomic" lowerBound="1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getBooleanSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowPort/isAtomic"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::TestCase::verifies_value" description="Getter for the stereotype property SysML::Requirements::TestCase::verifies" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/TestCase/verifies"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Blocks::ParticipantProperty_query" description="Test if the stereotype SysML::Blocks::ParticipantProperty or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Blocks::ParticipantProperty"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Allocations::Allocated_query" description="Test if the stereotype SysML::Allocations::Allocated or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Allocations::Allocated"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Activities::Rate::rate_value" description="Getter for the stereotype property SysML::Activities::Rate::rate">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Activities/Rate/rate"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Activities::Probability::probability_value" description="Setter for the stereotype property SysML::Activities::Probability::probability">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Activities/Probability/probability"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::master_value" description="Setter for the stereotype property SysML::Requirements::Requirement::master">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/master"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::satisfiedBy_value" description="Getter for the stereotype property SysML::Requirements::Requirement::satisfiedBy" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/satisfiedBy"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Requirements::RequirementRelated_query" description="Test if the stereotype SysML::Requirements::RequirementRelated or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Requirements::RequirementRelated"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::RequirementRelated::refines_value" description="Getter for the stereotype property SysML::Requirements::RequirementRelated::refines" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/refines"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::ModelElements::ViewPoint::stakeHolders_value" description="Getter for the stereotype property SysML::ModelElements::ViewPoint::stakeHolders" upperBound="-1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/stakeHolders"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::id_value" description="Setter for the stereotype property SysML::Requirements::Requirement::id">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setStringSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//Requirements/Requirement/id"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Blocks::Block::isEncapsulated_value" description="Getter for the stereotype property SysML::Blocks::Block::isEncapsulated">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getBooleanSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//Blocks/Block/isEncapsulated"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Blocks::ValueType::unit_value" description="Getter for the stereotype property SysML::Blocks::ValueType::unit">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ValueType/unit"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Blocks::NestedConnectorEnd_query" description="Test if the stereotype SysML::Blocks::NestedConnectorEnd or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Blocks::NestedConnectorEnd"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::PortAndFlows::FlowPort::direction_value" description="Getter for the stereotype property SysML::PortAndFlows::FlowPort::direction" lowerBound="1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//EnumerationLiteral"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getUMLEnumerationSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowPort/direction"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::derivedFrom_value" description="Getter for the stereotype property SysML::Requirements::Requirement::derivedFrom" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/derivedFrom"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::RequirementRelated::satisfies_value" description="Setter for the stereotype property SysML::Requirements::RequirementRelated::satisfies">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/satisfies"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::ModelElements::View::viewPoint_value" description="Getter for the stereotype property SysML::ModelElements::View::viewPoint" lowerBound="1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//ModelElements/View/viewPoint"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Activities::Probability::probability_value" description="Getter for the stereotype property SysML::Activities::Probability::probability">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Activities/Probability/probability"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::PortAndFlows::FlowProperty::direction_value" description="Getter for the stereotype property SysML::PortAndFlows::FlowProperty::direction" lowerBound="1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//EnumerationLiteral"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getUMLEnumerationSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowProperty/direction"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Blocks::Unit_query" description="Test if the stereotype SysML::Blocks::Unit or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Blocks::Unit"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::derived_value" description="Setter for the stereotype property SysML::Requirements::Requirement::derived">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/derived"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Allocations::Allocated::allocatedTo_value" description="Setter for the stereotype property SysML::Allocations::Allocated::allocatedTo">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Allocations/Allocated/allocatedTo"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Blocks::Block::isEncapsulated_value" description="Setter for the stereotype property SysML::Blocks::Block::isEncapsulated">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setBooleanSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//Blocks/Block/isEncapsulated"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Allocations::Allocated::allocatedFrom_value" description="Setter for the stereotype property SysML::Allocations::Allocated::allocatedFrom">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Allocations/Allocated/allocatedFrom"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Requirements::TestCase_query" description="Test if the stereotype SysML::Requirements::TestCase or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Requirements::TestCase"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::tracedTo_value" description="Setter for the stereotype property SysML::Requirements::Requirement::tracedTo">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/tracedTo"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Blocks::ValueType_query" description="Test if the stereotype SysML::Blocks::ValueType or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Blocks::ValueType"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::ModelElements::ViewPoint_query" description="Test if the stereotype SysML::ModelElements::ViewPoint or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::ModelElements::ViewPoint"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::PortAndFlows::FlowPort_query" description="Test if the stereotype SysML::PortAndFlows::FlowPort or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::PortAndFlows::FlowPort"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::text_value" description="Getter for the stereotype property SysML::Requirements::Requirement::text" lowerBound="1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getStringSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//Requirements/Requirement/text"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Blocks::Unit::dimension_value" description="Getter for the stereotype property SysML::Blocks::Unit::dimension">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/Unit/dimension"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Activities::Rate_query" description="Test if the stereotype SysML::Activities::Rate or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Activities::Rate"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Blocks::NestedConnectorEnd::propertyPath_value" description="Getter for the stereotype property SysML::Blocks::NestedConnectorEnd::propertyPath" upperBound="-1" lowerBound="1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/NestedConnectorEnd/propertyPath"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Allocations::Allocated::allocatedFrom_value" description="Getter for the stereotype property SysML::Allocations::Allocated::allocatedFrom" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Allocations/Allocated/allocatedFrom"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::satisfiedBy_value" description="Setter for the stereotype property SysML::Requirements::Requirement::satisfiedBy">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/satisfiedBy"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::ModelElements::ViewPoint::stakeHolders_value" description="Setter for the stereotype property SysML::ModelElements::ViewPoint::stakeHolders">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/stakeHolders"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::ModelElements::ViewPoint::methods_value" description="Getter for the stereotype property SysML::ModelElements::ViewPoint::methods" upperBound="-1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/methods"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::ModelElements::ViewPoint::languages_value" description="Getter for the stereotype property SysML::ModelElements::ViewPoint::languages" upperBound="-1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/languages"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::refinedBy_value" description="Setter for the stereotype property SysML::Requirements::Requirement::refinedBy">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/refinedBy"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::id_value" description="Getter for the stereotype property SysML::Requirements::Requirement::id" lowerBound="1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getStringSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//Requirements/Requirement/id"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::PortAndFlows::FlowProperty::direction_value" description="Setter for the stereotype property SysML::PortAndFlows::FlowProperty::direction">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//EnumerationLiteral"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setUMLEnumerationSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowProperty/direction"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::refinedBy_value" description="Getter for the stereotype property SysML::Requirements::Requirement::refinedBy" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/refinedBy"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::RequirementRelated::tracedFrom_value" description="Setter for the stereotype property SysML::Requirements::RequirementRelated::tracedFrom">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/tracedFrom"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::verifiedBy_value" description="Getter for the stereotype property SysML::Requirements::Requirement::verifiedBy" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/verifiedBy"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::ModelElements::View::viewPoint_value" description="Setter for the stereotype property SysML::ModelElements::View::viewPoint">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//ModelElements/View/viewPoint"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::PortAndFlows::FlowPort::direction_value" description="Setter for the stereotype property SysML::PortAndFlows::FlowPort::direction">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//EnumerationLiteral"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setUMLEnumerationSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowPort/direction"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::derivedFrom_value" description="Setter for the stereotype property SysML::Requirements::Requirement::derivedFrom">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/derivedFrom"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::ModelElements::ViewPoint::concerns_value" description="Setter for the stereotype property SysML::ModelElements::ViewPoint::concerns">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/concerns"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::TestCase::verifies_value" description="Setter for the stereotype property SysML::Requirements::TestCase::verifies">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/TestCase/verifies"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::RequirementRelated::tracedFrom_value" description="Getter for the stereotype property SysML::Requirements::RequirementRelated::tracedFrom" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/tracedFrom"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Blocks::ParticipantProperty::end_value" description="Getter for the stereotype property SysML::Blocks::ParticipantProperty::end" lowerBound="1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ParticipantProperty/end"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::PortAndFlows::FlowPort::isConjugated_value" description="Setter for the stereotype property SysML::PortAndFlows::FlowPort::isConjugated">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setBooleanSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowPort/isConjugated"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::RequirementRelated::satisfies_value" description="Getter for the stereotype property SysML::Requirements::RequirementRelated::satisfies" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/satisfies"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::RequirementRelated::verifies_value" description="Getter for the stereotype property SysML::Requirements::RequirementRelated::verifies" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/verifies"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Blocks::ParticipantProperty::end_value" description="Setter for the stereotype property SysML::Blocks::ParticipantProperty::end">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ParticipantProperty/end"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::tracedTo_value" description="Getter for the stereotype property SysML::Requirements::Requirement::tracedTo" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/tracedTo"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::PortAndFlows::FlowPort::isConjugated_value" description="Getter for the stereotype property SysML::PortAndFlows::FlowPort::isConjugated">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getBooleanSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowPort/isConjugated"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Blocks::ValueType::dimension_value" description="Setter for the stereotype property SysML::Blocks::ValueType::dimension">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ValueType/dimension"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::PortAndFlows::FlowProperty_query" description="Test if the stereotype SysML::PortAndFlows::FlowProperty or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::PortAndFlows::FlowProperty"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Blocks::ConnectorProperty::connector_value" description="Setter for the stereotype property SysML::Blocks::ConnectorProperty::connector">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ConnectorProperty/connector"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Blocks::ConnectorProperty_query" description="Test if the stereotype SysML::Blocks::ConnectorProperty or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Blocks::ConnectorProperty"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::PortAndFlows::ItemFlow::itemProperty_value" description="Getter for the stereotype property SysML::PortAndFlows::ItemFlow::itemProperty">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//PortAndFlows/ItemFlow/itemProperty"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::RequirementRelated::refines_value" description="Setter for the stereotype property SysML::Requirements::RequirementRelated::refines">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/RequirementRelated/refines"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Blocks::ValueType::dimension_value" description="Getter for the stereotype property SysML::Blocks::ValueType::dimension">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ValueType/dimension"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::ModelElements::ViewPoint::concerns_value" description="Getter for the stereotype property SysML::ModelElements::ViewPoint::concerns" upperBound="-1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/concerns"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::PortAndFlows::ItemFlow_query" description="Test if the stereotype SysML::PortAndFlows::ItemFlow or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::PortAndFlows::ItemFlow"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::ModelElements::ViewPoint::languages_value" description="Setter for the stereotype property SysML::ModelElements::ViewPoint::languages">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setStringMultiValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/languages"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Blocks::ConnectorProperty::connector_value" description="Getter for the stereotype property SysML::Blocks::ConnectorProperty::connector" lowerBound="1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ConnectorProperty/connector"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Activities::Rate::rate_value" description="Setter for the stereotype property SysML::Activities::Rate::rate">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Activities/Rate/rate"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::verifiedBy_value" description="Setter for the stereotype property SysML::Requirements::Requirement::verifiedBy">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/verifiedBy"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::PortAndFlows::ItemFlow::itemProperty_value" description="Setter for the stereotype property SysML::PortAndFlows::ItemFlow::itemProperty">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//PortAndFlows/ItemFlow/itemProperty"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Blocks::ValueType::unit_value" description="Setter for the stereotype property SysML::Blocks::ValueType::unit">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/ValueType/unit"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::ModelElements::View_query" description="Test if the stereotype SysML::ModelElements::View or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::ModelElements::View"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Requirements::Requirement::text_value" description="Setter for the stereotype property SysML::Requirements::Requirement::text">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setStringSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//Requirements/Requirement/text"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::PortAndFlows::FlowPort::isAtomic_value" description="Setter for the stereotype property SysML::PortAndFlows::FlowPort::isAtomic">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setBooleanSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//PortAndFlows/FlowPort/isAtomic"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="get_SysML::Requirements::Requirement::derived_value" description="Getter for the stereotype property SysML::Requirements::Requirement::derived" upperBound="-1">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#getEObjectMultiReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Requirements/Requirement/derived"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::Blocks::Unit::dimension_value" description="Setter for the stereotype property SysML::Blocks::Unit::dimension">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setEObjectSingleReferenceValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetReference" href="sysml_profilefacet.facetSet#//Blocks/Unit/dimension"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Activities::Probability_query" description="Test if the stereotype SysML::Activities::Probability or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Activities::Probability"/>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="set_SysML::ModelElements::ViewPoint::purpose_value" description="Setter for the stereotype property SysML::ModelElements::ViewPoint::purpose">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#setStringSingleValue"/>
- <arguments xsi:type="paramQuery:EStructuralFeatureArgument" argumentName="editedFeature">
- <value xsi:type="profilefacet:StereotypePropertyFacetAttribute" href="sysml_profilefacet.facetSet#//ModelElements/ViewPoint/purpose"/>
- </arguments>
- </queries>
- <queries xsi:type="paramQuery:ParametricQuery" name="IsApplied_SysML::Requirements::Requirement_query" description="Test if the stereotype SysML::Requirements::Requirement or one of its specialization is applied on the element">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <calledQuery xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_stereotype_queries#isAppliedRequiredStereotype"/>
- <arguments xsi:type="paramQuery:StringArgument" argumentName="stereotypeQualifiedName" value="SysML::Requirements::Requirement"/>
- </queries>
-</query:ModelQuerySet>
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/Activator.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/Activator.java
deleted file mode 100644
index b0b5e972881..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/Activator.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 Mia-Software.
- * 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:
- * Nicolas Bros (Mia-Software)
- *******************************************************************************/
-package org.eclipse.papyrus.sysml.facets;
-
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleContext;
-
-/** The activator class controls the plug-in life cycle */
-public class Activator extends Plugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml.facets"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- @Override
- public void start(final BundleContext context) throws Exception {
- super.start(context);
- Activator.plugin = this;
- }
-
- @Override
- public void stop(final BundleContext context) throws Exception {
- Activator.plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return Activator.plugin;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/NAFlowPortDirection.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/NAFlowPortDirection.java
deleted file mode 100644
index fa4ef9b6907..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/NAFlowPortDirection.java
+++ /dev/null
@@ -1,198 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>NA Flow Port Direction</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsPackage#getNAFlowPortDirection()
- * @model instanceClass="org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection"
- * @generated
- */
-public enum NAFlowPortDirection implements Enumerator {
- /**
- * The '<em><b>NA</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #NA_VALUE
- * @generated
- * @ordered
- */
- NA(0, "NA", "N/A");
-
- /**
- * The '<em><b>NA</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>NA</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #NA
- * @model literal="N/A"
- * @generated
- * @ordered
- */
- public static final int NA_VALUE = 0;
-
- /**
- * An array of all the '<em><b>NA Flow Port Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static final NAFlowPortDirection[] VALUES_ARRAY = new NAFlowPortDirection[]{ NA, };
-
- /**
- * A public read-only list of all the '<em><b>NA Flow Port Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<NAFlowPortDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>NA Flow Port Direction</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static NAFlowPortDirection get(String literal) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
- NAFlowPortDirection result = VALUES_ARRAY[i];
- if(result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>NA Flow Port Direction</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static NAFlowPortDirection getByName(String name) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
- NAFlowPortDirection result = VALUES_ARRAY[i];
- if(result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>NA Flow Port Direction</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static NAFlowPortDirection get(int value) {
- switch(value) {
- case NA_VALUE:
- return NA;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private NAFlowPortDirection(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
-} //NAFlowPortDirection
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsFactory.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsFactory.java
deleted file mode 100644
index 8517e729810..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsFactory.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsPackage
- * @generated
- */
-public interface PortandflowsFactory extends EFactory {
-
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- PortandflowsFactory eINSTANCE = org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.impl.PortandflowsFactoryImpl.init();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- PortandflowsPackage getPortandflowsPackage();
-
-} //PortandflowsFactory
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsPackage.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsPackage.java
deleted file mode 100644
index d29c765c961..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/PortandflowsPackage.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows;
-
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsFactory
- * @model kind="package"
- * @generated
- */
-public interface PortandflowsPackage extends EPackage {
-
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "portandflows";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/ExtendedSysML/PortAndFlows";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "PortAndFlows";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- PortandflowsPackage eINSTANCE = org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.impl.PortandflowsPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection
- * <em>NA Flow Port Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.impl.PortandflowsPackageImpl#getNAFlowPortDirection()
- * @generated
- */
- int NA_FLOW_PORT_DIRECTION = 0;
-
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection
- * <em>NA Flow Port Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for enum '<em>NA Flow Port Direction</em>'.
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection
- * @generated
- */
- EEnum getNAFlowPortDirection();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- PortandflowsFactory getPortandflowsFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals {
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection
- * <em>NA Flow Port Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.impl.PortandflowsPackageImpl#getNAFlowPortDirection()
- * @generated
- */
- EEnum NA_FLOW_PORT_DIRECTION = eINSTANCE.getNAFlowPortDirection();
-
- }
-
-} //PortandflowsPackage
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsFactoryImpl.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsFactoryImpl.java
deleted file mode 100644
index 37cb7a4d18d..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsFactoryImpl.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsFactory;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class PortandflowsFactoryImpl extends EFactoryImpl implements PortandflowsFactory {
-
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static PortandflowsFactory init() {
- try {
- PortandflowsFactory thePortandflowsFactory = (PortandflowsFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/0.7.0/ExtendedSysML/PortAndFlows");
- if(thePortandflowsFactory != null) {
- return thePortandflowsFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new PortandflowsFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public PortandflowsFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
- case PortandflowsPackage.NA_FLOW_PORT_DIRECTION:
- return createNAFlowPortDirectionFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
- case PortandflowsPackage.NA_FLOW_PORT_DIRECTION:
- return convertNAFlowPortDirectionToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NAFlowPortDirection createNAFlowPortDirectionFromString(EDataType eDataType, String initialValue) {
- NAFlowPortDirection result = NAFlowPortDirection.get(initialValue);
- if(result == null)
- throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertNAFlowPortDirectionToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public PortandflowsPackage getPortandflowsPackage() {
- return (PortandflowsPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static PortandflowsPackage getPackage() {
- return PortandflowsPackage.eINSTANCE;
- }
-
-} //PortandflowsFactoryImpl
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsPackageImpl.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsPackageImpl.java
deleted file mode 100644
index 81111ed61fa..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/extendedsysml/extendedsysml/portandflows/impl/PortandflowsPackageImpl.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.impl;
-
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsFactory;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class PortandflowsPackageImpl extends EPackageImpl implements PortandflowsPackage {
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EEnum naFlowPortDirectionEEnum = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
- * package
- * package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.PortandflowsPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private PortandflowsPackageImpl() {
- super(eNS_URI, PortandflowsFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>
- * This method is used to initialize {@link PortandflowsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static PortandflowsPackage init() {
- if(isInited)
- return (PortandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortandflowsPackage.eNS_URI);
-
- // Obtain or create and register package
- PortandflowsPackageImpl thePortandflowsPackage = (PortandflowsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PortandflowsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PortandflowsPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- thePortandflowsPackage.createPackageContents();
-
- // Initialize created meta-data
- thePortandflowsPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- thePortandflowsPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(PortandflowsPackage.eNS_URI, thePortandflowsPackage);
- return thePortandflowsPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EEnum getNAFlowPortDirection() {
- return naFlowPortDirectionEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public PortandflowsFactory getPortandflowsFactory() {
- return (PortandflowsFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents() {
- if(isCreated)
- return;
- isCreated = true;
-
- // Create enums
- naFlowPortDirectionEEnum = createEEnum(NA_FLOW_PORT_DIRECTION);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents() {
- if(isInitialized)
- return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Initialize enums and add enum literals
- initEEnum(naFlowPortDirectionEEnum, NAFlowPortDirection.class, "NAFlowPortDirection");
- addEEnumLiteral(naFlowPortDirectionEEnum, NAFlowPortDirection.NA);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //PortandflowsPackageImpl
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/Messages.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/Messages.java
deleted file mode 100644
index fe75aa339c7..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/Messages.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.messages;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.papyrus.sysml.facets.messages.messages"; //$NON-NLS-1$
-
- public static String SetRequirementDerivedFromQuery_DeriveReqtCantBeCreated;
-
- public static String SetRequirementDerivedQuery_DeriveReqtCanBeCreated;
-
- public static String SetRequirementMasterQuery_CopyCantBeCreated;
-
- public static String SetRequirementRefinedByQuery_StandardIsNotAppliedOnTheModel;
-
- public static String SetRequirementTextQuery_AssignmentCantBeDone;
-
- public static String SetRequirementTextQuery_NotASysMLRequirement;
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/messages.properties b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/messages.properties
deleted file mode 100644
index ab7c93339f5..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/messages/messages.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-SetRequirementDerivedFromQuery_DeriveReqtCantBeCreated=The link DeriveReqt can't be created between {0} and {1}.
-SetRequirementDerivedQuery_DeriveReqtCanBeCreated=The link DeriveReqt can't be created between {0} and {1}.
-SetRequirementMasterQuery_CopyCantBeCreated=The link Copy can't be created between {0} and {1}.
-SetRequirementRefinedByQuery_StandardIsNotAppliedOnTheModel=The required profile Standard is not applied on the model.
-SetRequirementTextQuery_AssignmentCantBeDone=Assignment can't be done.
-SetRequirementTextQuery_NotASysMLRequirement=The edited element is not a SysML Requirement.
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortDirectionQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortDirectionQuery.java
deleted file mode 100644
index 636ee52d23c..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortDirectionQuery.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.portandflows.query.value.getter;
-
-import org.eclipse.emf.common.util.Enumerator;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection;
-import org.eclipse.papyrus.sysml.portandflows.FlowPort;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to qet the attribute "Direction" of the FlowPort */
-public class GetFlowPortDirectionQuery implements IJavaModelQuery<Port, Enumerator> {
-
- public Enumerator evaluate(final Port context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- FlowPort flowPort = UMLUtil.getStereotypeApplication(context, FlowPort.class);
- if(flowPort != null) {
- if(flowPort.isAtomic()) {
- return flowPort.getDirection();
- } else {
- return NAFlowPortDirection.get(0);
- }
- }
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortIsAtomicQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortIsAtomicQuery.java
deleted file mode 100644
index bd305a936c1..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/getter/GetFlowPortIsAtomicQuery.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.portandflows.query.value.getter;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.portandflows.FlowPort;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the derived attribute "isAtomic" of the FlowPort */
-public class GetFlowPortIsAtomicQuery implements IJavaModelQuery<Port, Boolean> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public Boolean evaluate(final Port context, final ParameterValueList parameterValues)
- throws ModelQueryExecutionException {
- FlowPort flowPort = UMLUtil.getStereotypeApplication(context, FlowPort.class);
- if(flowPort != null) {
- return flowPort.isAtomic();
- }
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/setter/SetFlowPortDirectionQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/setter/SetFlowPortDirectionQuery.java
deleted file mode 100644
index 3517b252da2..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/portandflows/query/value/setter/SetFlowPortDirectionQuery.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.portandflows.query.value.setter;
-
-import org.eclipse.emf.common.util.Enumerator;
-import org.eclipse.emf.edit.command.SetCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForEObject;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.extendedsysml.extendedsysml.portandflows.NAFlowPortDirection;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.portandflows.FlowPort;
-import org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to qet the attribute "Direction" of the FlowPort */
-public class SetFlowPortDirectionQuery implements IJavaModelQueryWithEditingDomain<Port, Enumerator> {
-
- public Enumerator evaluate(final Port context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- //nothing to do
- return null;
- }
-
-
- public Enumerator evaluate(Port context, ParameterValueList parameterValues, EditingDomain editingDomain) throws ModelQueryExecutionException {
- FlowPort flowPort = UMLUtil.getStereotypeApplication(context, FlowPort.class);
-
- if(flowPort != null) {
- if(!((parameterValues.isEmpty()) || (parameterValues.get(0) == null))) {
-
-
-
- // Retrieve new value from parameter and update if the property value has changed.
- Enumerator newValue = (parameterValues.get(0).getValue() instanceof Enumerator) ? (Enumerator)parameterValues.get(0).getValue() : null;
- if(!(newValue instanceof NAFlowPortDirection)) {//we do nothing in this case
- if(newValue != flowPort.getDirection()) {
- try {
- TransactionalEditingDomain domain = ServiceUtilsForEObject.getInstance().getTransactionalEditingDomain(flowPort);
- SetCommand command = new SetCommand(domain, flowPort, PortandflowsPackage.eINSTANCE.getFlowPort_Direction(), newValue);
- if(command.canExecute()) {
- domain.getCommandStack().execute(command);
- }
-
- } catch (ServiceException e) {
- throw new ModelQueryExecutionException(e);
- }
-
- }
- }
- }
- } else {
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, "The edited element is not a SysML FlowPort.", Type.ERROR)));
- }
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementBase_ClassQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementBase_ClassQuery.java
deleted file mode 100644
index 025ba56a8d6..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementBase_ClassQuery.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-public class GetRequirementBase_ClassQuery implements IJavaModelQuery<Class, Class> {
-
- public Class evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- return (requirement != null) ? requirement.getBase_Class() : null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedFromQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedFromQuery.java
deleted file mode 100644
index 83b1f1db01c..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedFromQuery.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-public class GetRequirementDerivedFromQuery implements IJavaModelQuery<Class, Collection<Class>> {
-
- public Collection<Class> evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Collection<Class> result = new ArrayList<Class>();
-
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- if(requirement != null) {
- for(Requirement current : requirement.getDerivedFrom()) {
- result.add(current.getBase_Class());
- }
- }
- return result;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedQuery.java
deleted file mode 100644
index 63eb8e4b9e5..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementDerivedQuery.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-public class GetRequirementDerivedQuery implements IJavaModelQuery<Class, Collection<Class>> {
-
- public Collection<Class> evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Collection<Class> result = new ArrayList<Class>();
-
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- if(requirement != null) {
- for(Requirement current : requirement.getDerived()) {
- result.add(current.getBase_Class());
- }
- }
- return result;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementIdQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementIdQuery.java
deleted file mode 100644
index 7103bc1f514..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementIdQuery.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the id of the requirement */
-public class GetRequirementIdQuery implements IJavaModelQuery<Class, String> {
-
- public String evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- return (requirement != null) ? requirement.getId() : null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementMasterQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementMasterQuery.java
deleted file mode 100644
index 55baa02992d..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementMasterQuery.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-public class GetRequirementMasterQuery implements IJavaModelQuery<Class, Class> {
-
- public Class evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- return ((requirement != null) && (requirement.getMaster() != null)) ? requirement.getMaster().getBase_Class() : null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementRefinedByQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementRefinedByQuery.java
deleted file mode 100644
index e3d080fc385..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementRefinedByQuery.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import java.util.Collection;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-public class GetRequirementRefinedByQuery implements IJavaModelQuery<Class, Collection<NamedElement>> {
-
- public Collection<NamedElement> evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- return (requirement != null) ? requirement.getRefinedBy() : null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementSatifiedByQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementSatifiedByQuery.java
deleted file mode 100644
index aba70bf3670..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementSatifiedByQuery.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import java.util.Collection;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-public class GetRequirementSatifiedByQuery implements IJavaModelQuery<Class, Collection<NamedElement>> {
-
- public Collection<NamedElement> evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- return (requirement != null) ? requirement.getSatisfiedBy() : null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTextQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTextQuery.java
deleted file mode 100644
index c9f3020182f..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTextQuery.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-public class GetRequirementTextQuery implements IJavaModelQuery<Class, String> {
-
- public String evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- return (requirement != null) ? requirement.getText() : null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTracedToQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTracedToQuery.java
deleted file mode 100644
index c454df504f5..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementTracedToQuery.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import java.util.Collection;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/**
- * Query to get the text of the requirement
- */
-public class GetRequirementTracedToQuery implements IJavaModelQuery<Class, Collection<NamedElement>> {
-
- public Collection<NamedElement> evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- return (requirement != null) ? requirement.getTracedTo() : null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementVerifiedByQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementVerifiedByQuery.java
deleted file mode 100644
index e1119eeb045..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/getter/GetRequirementVerifiedByQuery.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.getter;
-
-import java.util.Collection;
-
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to get the text of the requirement */
-
-public class GetRequirementVerifiedByQuery implements IJavaModelQuery<Class, Collection<NamedElement>> {
-
- public Collection<NamedElement> evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
-
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
- if(requirement != null) {
- return requirement.getVerifiedBy();
- }
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedFromQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedFromQuery.java
deleted file mode 100644
index afb3a5f9fb7..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedFromQuery.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/**
- *
- * Copyright (c) 2011 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:
- * Vincent Lorenzo(CEA LIST) - initial API and implementation
- */
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.DeriveReqt;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.service.types.element.SysMLElementTypes;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the derived attribute "derived" of the requirement */
-public class SetRequirementDerivedFromQuery implements IJavaModelQueryWithEditingDomain<Class, EObject> {
-
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- //nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param arg0
- * @param parameter
- * @param arg2
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final Class context, final ParameterValueList parameter, final EditingDomain editingDomain) throws ModelQueryExecutionException {
- CompositeCommand cmd = new CompositeCommand("Edit the feature /DerivedFrom"); //$NON-NLS-1$
- /*
- * we need to do this test, because, the facets can be applied on a default table.
- * In this case, we can't be sure the edited element is a Requirement
- */
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
- Requirement req = UMLUtil.getStereotypeApplication(context, Requirement.class);
- EList<Dependency> dependencies = context.getClientDependencies();
- EList<Requirement> currentDerivedFrom = req.getDerivedFrom();
- List<Class> currentDerivedFrom_base_Class = new ArrayList<Class>();
- for(Requirement currentReq : currentDerivedFrom) {
- currentDerivedFrom_base_Class.add(currentReq.getBase_Class());
- }
-
-
- ModelQueryParameterValue object = parameter.get(0);
- Object values = object.getValue();
- Assert.isTrue(values instanceof List<?>);
- List<?> newDerivedFrom = (List<?>)values;
-
- //we destroy the unnecessary Derive_Reqt
- for(Dependency current : dependencies) {
- if(UMLUtil.getStereotypeApplication(current, DeriveReqt.class) != null) {
- EList<NamedElement> suppliers = current.getSuppliers();
- //we assume that there is only one supplier
- if(suppliers.size() == 1) {
- NamedElement supplier = suppliers.get(0);
- if(!newDerivedFrom.contains(supplier)) {//we destroy this dependencies
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(current);
- DestroyElementRequest request = new DestroyElementRequest(current, false);
- ICommand desroyCommand = provider.getEditCommand(request);
- cmd.add(desroyCommand);
- }
- }
- }
- }
-
- for(Object current : (List<?>)values) {
- //we create the derive_reqt only if it doesn't exist
-
- if(!currentDerivedFrom_base_Class.contains(current)) {
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context);
- CreateRelationshipRequest createRequest = new CreateRelationshipRequest(context.getNearestPackage(), context, (EObject)current, SysMLElementTypes.DERIVE_REQT);
- cmd.add(provider.getEditCommand(createRequest));
- } else {
-
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, NLS.bind(Messages.SetRequirementDerivedFromQuery_DeriveReqtCantBeCreated, context.getName(), ((NamedElement)current).getName()), Type.ERROR));
- }
- }
- }
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR));
- }
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(cmd));
- return null;
- }
-
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedQuery.java
deleted file mode 100644
index 6dcb8676ce5..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementDerivedQuery.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.DeriveReqt;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.service.types.element.SysMLElementTypes;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.DirectedRelationship;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the derived attribute "derived" of the requirement */
-public class SetRequirementDerivedQuery implements IJavaModelQueryWithEditingDomain<Class, EObject> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(Class context, ParameterValueList parameterValues) throws ModelQueryExecutionException {
- //nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param context
- * @param parameterValues
- * @param editingDomain
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(Class context, ParameterValueList parameter, EditingDomain editingDomain) throws ModelQueryExecutionException {
- CompositeCommand cmd = new CompositeCommand("Edit the feature /Derived"); //$NON-NLS-1$
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
- Requirement req = UMLUtil.getStereotypeApplication(context, Requirement.class);
-
- EList<DirectedRelationship> dependencies = context.getTargetDirectedRelationships();
- EList<Requirement> currentDerived = req.getDerived();
- List<Class> currentDerived_base_Class = new ArrayList<Class>();
- for(Requirement currentReq : currentDerived) {
- currentDerived_base_Class.add(currentReq.getBase_Class());
- }
-
-
- ModelQueryParameterValue object = parameter.get(0);
- Object values = object.getValue();
- Assert.isTrue(values instanceof List<?>);
- List<?> newDerivedFrom = (List<?>)values;
-
- //we destroy the unnecessary Derive_Reqt
- for(DirectedRelationship current : dependencies) {
- if(UMLUtil.getStereotypeApplication(current, DeriveReqt.class) != null) {
- EList<NamedElement> clients = ((Dependency)current).getClients();
- //we assume that there is only one client
- if(clients.size() == 1) {
- NamedElement supplier = clients.get(0);
- if(!newDerivedFrom.contains(supplier)) {//we destroy this dependencies
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(current);
- DestroyElementRequest request = new DestroyElementRequest(current, false);
- ICommand desroyCommand = provider.getEditCommand(request);
- cmd.add(desroyCommand);
- }
- }
- }
- }
-
-
- for(Object current : (List<?>)values) {
- //we create the derive_reqt only if it doesn't exist
- if(!currentDerived_base_Class.contains(current)) {
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context);
-
- CreateElementRequest createRequest = new CreateRelationshipRequest(context.getNearestPackage(), (EObject)current, context, SysMLElementTypes.DERIVE_REQT);
- cmd.add(provider.getEditCommand(createRequest));
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, NLS.bind(Messages.SetRequirementDerivedQuery_DeriveReqtCanBeCreated, context.getName(), ((NamedElement)current).getName()), Type.ERROR));
- }
- }
-
- }
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR));
- }
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(cmd));
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementIdQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementIdQuery.java
deleted file mode 100644
index d83a07373e0..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementIdQuery.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.command.SetCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForEObject;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.requirements.RequirementsPackage;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the attribute "id" of the requirement */
-public class SetRequirementIdQuery implements IJavaModelQueryWithEditingDomain<Class, EObject> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- //nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param arg0
- * @param parameter
- * @param arg2
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final Class context, final ParameterValueList parameter, final EditingDomain editingDomain) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
-
- if(requirement != null) {
- if(!((parameter.isEmpty()) || (parameter.get(0) == null))) {
-
-
-
- // Retrieve new value from parameter and update if the property value has changed.
- String newValue = (parameter.get(0).getValue() instanceof String) ? (String)parameter.get(0).getValue() : null;
- if(newValue != requirement.getId()) {
-
- try {
-
- TransactionalEditingDomain domain = ServiceUtilsForEObject.getInstance().getTransactionalEditingDomain(requirement);
- SetCommand command = new SetCommand(domain, requirement, RequirementsPackage.eINSTANCE.getRequirement_Id(), newValue);
- if(command.canExecute()) {
- domain.getCommandStack().execute(command);
- }
-
- } catch (ServiceException e) {
- throw new ModelQueryExecutionException(e);
- }
-
- }
- }
- } else {
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR)));
- }
-
- return context;
- }
-
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementMasterQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementMasterQuery.java
deleted file mode 100644
index b118e058fe7..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementMasterQuery.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.Copy;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.service.types.element.SysMLElementTypes;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.DirectedRelationship;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the derived attribute "master" of the requirement */
-public class SetRequirementMasterQuery implements IJavaModelQueryWithEditingDomain<Class, EObject> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- // nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param context
- * @param parameterValues
- * @param editingDomain
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(Class context, ParameterValueList parameterValues, EditingDomain editingDomain) throws ModelQueryExecutionException {
- CompositeCommand cmd = new CompositeCommand("Edit the derived attribute /master"); //$NON-NLS-1$
- ModelQueryParameterValue object = parameterValues.get(0);
- Object value = object.getValue();
- Class newMaster = null;
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
- if(value != null) {
- Assert.isTrue(value instanceof Class);
- newMaster = (Class)value;
- }
- Assert.isTrue(UMLUtil.getStereotypeApplication(context, Requirement.class) != null);
-
- EList<Dependency> dependencies = context.getClientDependencies();
-
- //we destroy the unnecessary Copy
- for(DirectedRelationship current : dependencies) {
- if(UMLUtil.getStereotypeApplication(current, Copy.class) != null) {
- EList<NamedElement> target = ((Dependency)current).getSuppliers();
- //we assume that there is only one client
- if(target.size() == 1) {
- NamedElement client = target.get(0);
- if(newMaster != client) {//we destroy this dependency
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(current);
- DestroyElementRequest request = new DestroyElementRequest(current, false);
- ICommand destroyCommand = provider.getEditCommand(request);
- cmd.add(destroyCommand);
- }
- }
- }
- }
-
- if(newMaster != null) {
- if(UMLUtil.getStereotypeApplication(newMaster, Requirement.class) != null) {
- //we create the Element Copy
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context);
- CreateElementRequest createRequest = new CreateRelationshipRequest(context.getNearestPackage(), context, newMaster, SysMLElementTypes.COPY);
- cmd.add(provider.getEditCommand(createRequest));
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, NLS.bind(Messages.SetRequirementMasterQuery_CopyCantBeCreated, context.getName(), ((NamedElement)newMaster).getName()), Type.ERROR));
- }
- }
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR));
- }
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(cmd));
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementRefinedByQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementRefinedByQuery.java
deleted file mode 100644
index 12e6ed4fe41..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementRefinedByQuery.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.util.ElementUtil;
-import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.DirectedRelationship;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.profile.l2.L2Package;
-import org.eclipse.uml2.uml.profile.l2.Refine;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the derived attribute "refinedBy" of the requirement */
-public class SetRequirementRefinedByQuery implements IJavaModelQueryWithEditingDomain<NamedElement, EObject> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final NamedElement context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- //nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param context
- * @param parameterValues
- * @param editingDomain
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(NamedElement context, ParameterValueList parameterValues, EditingDomain editingDomain) throws ModelQueryExecutionException {
- CompositeCommand cmd = new CompositeCommand("Edit the feature /refinedBy"); //$NON-NLS-1$
- if(ElementUtil.getStereotypeApplication(context, Requirement.class) != null) {
- if(!context.getNearestPackage().isProfileApplied(UMLUtil.getProfile(L2Package.eINSTANCE))) {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementRefinedByQuery_StandardIsNotAppliedOnTheModel, Type.ERROR));
- } else {
- Requirement req = UMLUtil.getStereotypeApplication(context, Requirement.class);
- EList<DirectedRelationship> dependencies = context.getTargetDirectedRelationships();
- EList<NamedElement> currentRefinedBy = req.getRefinedBy();
-
-
- ModelQueryParameterValue object = parameterValues.get(0);
- Object values = object.getValue();
- Assert.isTrue(values instanceof List<?>);
- List<?> newRefinedBy = (List<?>)values;
-
- //we destroy the unnecessary Refine
- for(DirectedRelationship current : dependencies) {
- if(UMLUtil.getStereotypeApplication(current, Refine.class) != null) {
-
- EList<NamedElement> clients = ((Dependency)current).getClients();
- //we assume that there is only one client
- if(clients.size() == 1) {
- NamedElement client = clients.get(0);
- if(!newRefinedBy.contains(client)) {//we destroy this dependencies
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(current);
- DestroyElementRequest request = new DestroyElementRequest(current, false);
- ICommand destroyCommand = provider.getEditCommand(request);
- cmd.add(destroyCommand);
- }
- }
- }
- }
-
- for(Object current : (List<?>)values) {
- //we create the Trace only if it doesn't exist
- Assert.isTrue(current instanceof NamedElement);
- if(!currentRefinedBy.contains(current)) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context);
- CreateRelationshipRequest createRequest = new CreateRelationshipRequest(context.getNearestPackage(), (NamedElement)current, context, UMLElementTypes.REFINE);
- cmd.add(provider.getEditCommand(createRequest));
- }
- }
- }
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR));
- }
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(cmd));
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementSatisfiedByQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementSatisfiedByQuery.java
deleted file mode 100644
index 6aa6cc7a233..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementSatisfiedByQuery.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.requirements.Satisfy;
-import org.eclipse.papyrus.sysml.service.types.element.SysMLElementTypes;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.DirectedRelationship;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the derived attribute "satisfiedBy" of the requirement */
-public class SetRequirementSatisfiedByQuery implements IJavaModelQueryWithEditingDomain<NamedElement, EObject> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final NamedElement context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- // nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param context
- * @param parameterValues
- * @param editingDomain
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(NamedElement context, ParameterValueList parameterValues, EditingDomain editingDomain) throws ModelQueryExecutionException {
- CompositeCommand cmd = new CompositeCommand("Edit the derived attribute /SatisfiedBy"); //$NON-NLS-1$
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
-
- Requirement req = UMLUtil.getStereotypeApplication(context, Requirement.class);
- EList<DirectedRelationship> dependencies = context.getTargetDirectedRelationships();
- EList<NamedElement> currentSatisfiedBy = req.getSatisfiedBy();
-
-
-
- ModelQueryParameterValue object = parameterValues.get(0);
- Object values = object.getValue();
- Assert.isTrue(values instanceof List<?>);
- List<?> newSatisfiedBy = (List<?>)values;
-
- //we destroy the unnecessary Satisfy
- for(DirectedRelationship current : dependencies) {
- if(UMLUtil.getStereotypeApplication(current, Satisfy.class) != null) {
- EList<NamedElement> clients = ((Dependency)current).getClients();
- //we assume that there is only one client
- if(clients.size() == 1) {
- NamedElement client = clients.get(0);
- if(!newSatisfiedBy.contains(client)) {//we destroy this dependencies
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(current);
- DestroyElementRequest request = new DestroyElementRequest(current, false);
- ICommand desroyCommand = provider.getEditCommand(request);
- cmd.add(desroyCommand);
- }
- }
- }
- }
-
- for(Object current : (List<?>)values) {
- //we create the derive_reqt only if it doesn't exist
- Assert.isTrue(current instanceof NamedElement);
- if(!currentSatisfiedBy.contains(current)) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context);
- CreateRelationshipRequest createRequest = new CreateRelationshipRequest(context.getNearestPackage(), (NamedElement)current, context, SysMLElementTypes.SATISFY);
- cmd.add(provider.getEditCommand(createRequest));
- }
- }
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR));
- }
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(cmd));
- return null;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTextQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTextQuery.java
deleted file mode 100644
index bc87bed3aaa..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTextQuery.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.command.SetCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForEObject;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.requirements.RequirementsPackage;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the attribute "text" of the requirement */
-public class SetRequirementTextQuery implements IJavaModelQueryWithEditingDomain<Class, EObject> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final Class context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- // nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param context
- * @param parameter
- * @param editingDomain
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final Class context, final ParameterValueList parameter, final EditingDomain editingDomain) throws ModelQueryExecutionException {
- Requirement requirement = UMLUtil.getStereotypeApplication(context, Requirement.class);
-
- if(requirement != null) {
- if(!((parameter.isEmpty()) || (parameter.get(0) == null))) {
-
- // Retrieve new value from parameter and update if the property value has changed.
- String newValue = (parameter.get(0).getValue() instanceof String) ? (String)parameter.get(0).getValue() : null;
- if(newValue != requirement.getId()) {
-
- try {
-
- TransactionalEditingDomain domain = ServiceUtilsForEObject.getInstance().getTransactionalEditingDomain(context);
- SetCommand command = new SetCommand(domain, requirement, RequirementsPackage.eINSTANCE.getRequirement_Text(), newValue);
- if(command.canExecute()) {
- domain.getCommandStack().execute(command);
- }
-
- } catch (ServiceException e) {
- throw new ModelQueryExecutionException(e);
- }
-
- }
- }
- } else {
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR)));
- }
- return context;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTracedToQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTracedToQuery.java
deleted file mode 100644
index 590f09c7c5f..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementTracedToQuery.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.DirectedRelationship;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.eclipse.uml2.uml.profile.l2.L2Package;
-import org.eclipse.uml2.uml.profile.l2.Trace;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the derived attribute "tracedTo" of the requirement */
-public class SetRequirementTracedToQuery implements IJavaModelQueryWithEditingDomain<NamedElement, EObject> {
-
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final NamedElement context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- // nothing to do
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param context
- * @param parameterValues
- * @param editingDomain
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(NamedElement context, ParameterValueList parameterValues, EditingDomain editingDomain) throws ModelQueryExecutionException {
- CompositeCommand cmd = new CompositeCommand("Edit the feature /TracedTo"); //$NON-NLS-1$
- int result = MessageDialog.OK;
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
- if(!context.getNearestPackage().isProfileApplied(UMLUtil.getProfile(L2Package.eINSTANCE))) {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementRefinedByQuery_StandardIsNotAppliedOnTheModel, Type.ERROR));
- } else {
- Requirement req = UMLUtil.getStereotypeApplication(context, Requirement.class);
- EList<DirectedRelationship> dependencies = context.getTargetDirectedRelationships();
-
- EList<?> currentTracedTo = req.getTracedTo();
-
- ModelQueryParameterValue object = parameterValues.get(0);
- Object values = object.getValue();
- Assert.isTrue(values instanceof List<?>);
- List<?> newTracedTo = (List<?>)values;
-
- //we destroy the unnecessary tracedTo
- for(DirectedRelationship current : dependencies) {
- if(UMLUtil.getStereotypeApplication(current, Trace.class) != null && isStricteTrace(current)) {
- EList<NamedElement> clients = ((Dependency)current).getClients();
- //we assume that there is only one client
- if(clients.size() == 1) {
- NamedElement client = clients.get(0);
- if(!newTracedTo.contains(client)) {//we destroy this dependencies
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(current);
- DestroyElementRequest request = new DestroyElementRequest(current, false);
- ICommand desroyCommand = provider.getEditCommand(request);
- cmd.add(desroyCommand);
- }
-
- }
- }
- }
-
- for(Object current : (List<?>)values) {
- //we create the Trace only if it doesn't exist
- Assert.isTrue(current instanceof NamedElement);
- if(!currentTracedTo.contains(current)) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context);
- CreateRelationshipRequest createRequest = new CreateRelationshipRequest(context.getNearestPackage(), (NamedElement)current, context, UMLElementTypes.TRACE);
- cmd.add(provider.getEditCommand(createRequest));
- }
- }
- }
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR));
- }
- if(result == MessageDialog.OK) {
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(cmd));
- }
- return null;
- }
-
- /**
- *
- * @param link
- * a {@link DirectedRelationship}
- * @return
- * <code>true</code> if the link is Stereotyped with Trace (and <code>false</code> if the link is stereotyped with a subtype of Trace
- */
- private boolean isStricteTrace(DirectedRelationship link) {
- EList<Stereotype> appliedStereotypes = link.getAppliedStereotypes();
- for(Stereotype ste : appliedStereotypes) {
- if((ste instanceof Trace)) {
- EObject stereotypeApplication = link.getStereotypeApplication(ste);
- if(Trace.class.isInstance(stereotypeApplication)) {
- return true;
- }
- }
- }
- return false;
- }
-}
diff --git a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementVerifiedByQuery.java b/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementVerifiedByQuery.java
deleted file mode 100644
index a6894ffcd9e..00000000000
--- a/deprecated/org.eclipse.papyrus.sysml.facets/src/org/eclipse/papyrus/sysml/facets/query/value/setter/SetRequirementVerifiedByQuery.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.facets.query.value.setter;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
-import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain;
-import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.gmf.diagram.common.commands.IdentityCommandWithNotification;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.toolbox.notification.Type;
-import org.eclipse.papyrus.sysml.facets.messages.Messages;
-import org.eclipse.papyrus.sysml.requirements.Requirement;
-import org.eclipse.papyrus.sysml.requirements.Verify;
-import org.eclipse.papyrus.sysml.service.types.element.SysMLElementTypes;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.DirectedRelationship;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/** Query to set the derived attribute "verifiedBy" of the requirement */
-public class SetRequirementVerifiedByQuery implements IJavaModelQueryWithEditingDomain<NamedElement, EObject> {
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList)
- *
- * @param context
- * @param parameterValues
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(final NamedElement context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
- // TODO Auto-generated method stub
- return null;
- }
-
- /**
- *
- * @see org.eclipse.emf.facet.infra.query.core.java.IJavaModelQueryWithEditingDomain#evaluate(org.eclipse.emf.ecore.EObject,
- * org.eclipse.emf.facet.infra.query.core.java.ParameterValueList, org.eclipse.emf.edit.domain.EditingDomain)
- *
- * @param context
- * @param parameterValues
- * @param editingDomain
- * @return
- * @throws ModelQueryExecutionException
- */
- public EObject evaluate(NamedElement context, ParameterValueList parameterValues, EditingDomain editingDomain) throws ModelQueryExecutionException {
- CompositeCommand cmd = new CompositeCommand("Edit the feature /VerifiedBy"); //$NON-NLS-1$
- if(UMLUtil.getStereotypeApplication(context, Requirement.class) != null) {
-
- Requirement req = UMLUtil.getStereotypeApplication(context, Requirement.class);
- EList<DirectedRelationship> dependencies = context.getTargetDirectedRelationships();
- EList<?> currentVerifiedBy = req.getVerifiedBy();
-
-
-
- ModelQueryParameterValue object = parameterValues.get(0);
- Object values = object.getValue();
- Assert.isTrue(values instanceof List<?>);
- List<?> newVerifiedBy = (List<?>)values;
-
- //we destroy the unnecessary Verified
- for(DirectedRelationship current : dependencies) {
- if(UMLUtil.getStereotypeApplication(current, Verify.class) != null) {
- EList<NamedElement> clients = ((Dependency)current).getClients();
- //we assume that there is only one client
- if(clients.size() == 1) {
- NamedElement client = clients.get(0);
- if(!newVerifiedBy.contains(client)) {//we destroy this dependencies
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(current);
- DestroyElementRequest request = new DestroyElementRequest(current, false);
- ICommand desroyCommand = provider.getEditCommand(request);
- cmd.add(desroyCommand);
- }
- }
- }
- }
-
- for(Object current : (List<?>)values) {
- //we create the derive_reqt only if it doesn't exist
- Assert.isTrue(current instanceof NamedElement);
- if(!currentVerifiedBy.contains(current)) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context);
- CreateRelationshipRequest createRequest = new CreateRelationshipRequest(context.getNearestPackage(), (NamedElement)current, context, SysMLElementTypes.VERIFY);
- cmd.add(provider.getEditCommand(createRequest));
- }
- }
- } else {
- cmd.add(new IdentityCommandWithNotification(Messages.SetRequirementTextQuery_AssignmentCantBeDone, Messages.SetRequirementTextQuery_NotASysMLRequirement, Type.ERROR));
- }
- editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(cmd));
- return null;
- }
-}

Back to the top