Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sysml/org.eclipse.papyrus.sysml.facets/resources')
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet49
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet52
2 files changed, 101 insertions, 0 deletions
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet b/plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet
new file mode 100644
index 00000000000..a3095424567
--- /dev/null
+++ b/plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsFacets.facetSet
@@ -0,0 +1,49 @@
+<?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/3.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/3.0.0/UML#//Class"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementDerivedQuery"/>
+ </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/3.0.0/UML#//Class"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementDerivedFromQuery"/>
+ </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/3.0.0/UML#//NamedElement"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementSatisfiedByQuery"/>
+ </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/3.0.0/UML#//NamedElement"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementRefinedByQuery"/>
+ </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/3.0.0/UML#//NamedElement"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementTracedToQuery"/>
+ </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/3.0.0/UML#//Operation"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementVerifiedByQuery"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="facet:FacetReference" name="/master" volatile="true" unsettable="true">
+ <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Class"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementMasterQuery"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="facet:FacetReference" name="base_Class" lowerBound="1" volatile="true" unsettable="true">
+ <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Class"/>
+ <valueQuery xsi:type="query:JavaModelQuery" href="requirementsQueries.querySet#GetRequirementBase_ClassQuery"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <extendedPackage href="http://www.eclipse.org/uml2/3.0.0/UML#/"/>
+</facet:FacetSet>
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet b/plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet
new file mode 100644
index 00000000000..7b9454118ca
--- /dev/null
+++ b/plugins/sysml/org.eclipse.papyrus.sysml.facets/resources/requirementsQueries.querySet
@@ -0,0 +1,52 @@
+<?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/3.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/3.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/3.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/3.0.0/UML#//Class"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.0.0/UML#//Class"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.0.0/UML#//NamedElement"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.0.0/UML#//NamedElement"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.0.0/UML#//NamedElement"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.0.0/UML#//Operation"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.0.0/UML#//Class"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.0.0/UML#//Class"/>
+ <scope href="http://www.eclipse.org/uml2/3.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/3.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/3.0.0/UML#//Class"/>
+ </queries>
+</query:ModelQuerySet>

Back to the top