blob: a011e806f2048988f387b2cd8fac3018b73b053b [file] [log] [blame]
<?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="DesignPatterns" nsURI="http://www.eclipse.org/papyrus/DP/1"
nsPrefix="DesignPatterns">
<eClassifiers xsi:type="ecore:EClass" name="Context">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="Pre-condition Rules that have to be satisfied "/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="applicability" ordered="false"
lowerBound="1" eType="#//Applicability"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="precondition" ordered="false"
upperBound="-1" eType="ecore:EDataType platform:/plugin/org.eclipse.uml2.types/model/Types.ecore#//String"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="motivation" ordered="false"
lowerBound="1" eType="ecore:EDataType platform:/plugin/org.eclipse.uml2.types/model/Types.ecore#//String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Applicability">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="Textual information (extending comment) is shown in light blue"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Comment"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Intent">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="Textual information (extending comment) is shown in light blue"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="description" ordered="false"
lowerBound="1" eType="#//SolutionDesc"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Comment"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SolutionDesc">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="Textual information (extending comment) is shown in light blue"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Comment"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Problem">
<eStructuralFeatures xsi:type="ecore:EReference" name="kind" ordered="false" lowerBound="1"
eType="#//ProblemKind"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Comment"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ProblemKind">
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Solution">
<eStructuralFeatures xsi:type="ecore:EReference" name="consequence" ordered="false"
upperBound="-1" eType="#//Consequence" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="sampleCode" ordered="false"
upperBound="-1" eType="#//SampleCode" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Package" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="safetyLevel" ordered="false"
lowerBound="1" eType="#//SafetyLevel"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="description" ordered="false"
lowerBound="1" eType="#//SolutionDesc" changeable="false" volatile="true"
transient="true" derived="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Consequence">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="conseqKind" ordered="false"
lowerBound="1" eType="#//ConsequenceKind"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Comment"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="ConsequenceKind">
<eLiterals name="Result"/>
<eLiterals name="Tradeoff" value="1"/>
<eLiterals name="ImpactOnFlexibility" value="2"/>
<eLiterals name="ImpactOnExtensibility" value="3"/>
<eLiterals name="ImpactOnPortability" value="4"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SampleCode">
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="SafetyLevel">
<eLiterals name="SIL0"/>
<eLiterals name="SIL1" value="1"/>
<eLiterals name="SIL2" value="2"/>
<eLiterals name="SIL3" value="3"/>
<eLiterals name="SIL4" value="4"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Pattern">
<eStructuralFeatures xsi:type="ecore:EReference" name="knownUse" ordered="false"
upperBound="-1" eType="#//KnownUse" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="applicability" ordered="false"
lowerBound="1" eType="#//Applicability" changeable="false" volatile="true"
transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="relatedPattern" ordered="false"
upperBound="-1" eType="#//Pattern"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="intent" ordered="false"
lowerBound="1" eType="#//Intent" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="problem" ordered="false"
lowerBound="1" eType="#//Problem" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="context" ordered="false"
lowerBound="1" eType="#//Context" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Package" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="solutions" ordered="false"
upperBound="-1" eType="#//Solution" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="classification" ordered="false"
lowerBound="1" eType="#//Classification"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="level" ordered="false"
lowerBound="1" eType="#//ReferenceLevel"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="KnownUse">
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Comment"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="Classification">
<eLiterals name="Creational"/>
<eLiterals name="Structural" value="1"/>
<eLiterals name="Behavioral" value="2"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="ReferenceLevel">
<eLiterals name="System"/>
<eLiterals name="Architecture" value="1"/>
<eLiterals name="Design" value="2"/>
<eLiterals name="Implementation" value="3"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Replication">
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Constraint" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Constraint"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" ordered="false" lowerBound="1"
eType="#//ReplicationKind"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="initialNumberOfReplicas"
ordered="false" lowerBound="1" eType="ecore:EDataType platform:/plugin/org.eclipse.uml2.types/model/Types.ecore#//Integer"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="minNumberOfReplicas" ordered="false"
lowerBound="1" eType="ecore:EDataType platform:/plugin/org.eclipse.uml2.types/model/Types.ecore#//Integer"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="ReplicationKind">
<eLiterals name="IdenticalReplication"/>
<eLiterals name="DiversifiedReplication" value="1"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AutomaticBinding">
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PatternApplication">
<eStructuralFeatures xsi:type="ecore:EReference" name="base_CollaborationUse"
ordered="false" lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//CollaborationUse"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="date" ordered="false" lowerBound="1"
eType="ecore:EDataType platform:/plugin/org.eclipse.uml2.types/model/Types.ecore#//String"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="user" ordered="false" lowerBound="1"
eType="ecore:EDataType platform:/plugin/org.eclipse.uml2.types/model/Types.ecore#//String"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PatternSystem">
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Package" ordered="false"
lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package"/>
</eClassifiers>
</ecore:EPackage>