Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/types/org.eclipse.papyrus.infra.types.rulebased/model/RuleBased.ecore')
-rw-r--r--plugins/infra/types/org.eclipse.papyrus.infra.types.rulebased/model/RuleBased.ecore21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/infra/types/org.eclipse.papyrus.infra.types.rulebased/model/RuleBased.ecore b/plugins/infra/types/org.eclipse.papyrus.infra.types.rulebased/model/RuleBased.ecore
new file mode 100644
index 00000000000..cb4336e9939
--- /dev/null
+++ b/plugins/infra/types/org.eclipse.papyrus.infra.types.rulebased/model/RuleBased.ecore
@@ -0,0 +1,21 @@
+<?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="rulebased" nsURI="http://www.eclipse.org/papyrus/infra/types/rulebased/1.1"
+ nsPrefix="rulebased">
+ <eClassifiers xsi:type="ecore:EClass" name="RuleBasedTypeConfiguration" eSuperTypes="../../org.eclipse.papyrus.infra.types/model/ElementTypesConfigurations.ecore#//SpecializationTypeConfiguration">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ruleConfiguration" lowerBound="1"
+ eType="#//RuleConfiguration" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RuleConfiguration" abstract="true"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CompositeRuleConfiguration" abstract="true"
+ eSuperTypes="#//RuleConfiguration">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="composedRules" lowerBound="2"
+ upperBound="-1" eType="#//RuleConfiguration" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="NotRuleConfiguration" eSuperTypes="#//RuleConfiguration">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="composedRule" lowerBound="1"
+ eType="#//RuleConfiguration"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AndRuleConfiguration" eSuperTypes="#//CompositeRuleConfiguration"/>
+ <eClassifiers xsi:type="ecore:EClass" name="OrRuleConfiguration" eSuperTypes="#//CompositeRuleConfiguration"/>
+</ecore:EPackage>

Back to the top