diff options
author | 2021-06-27 01:43:59 +0200 | |
---|---|---|
committer | 2021-06-27 02:01:19 +0200 | |
commit | b88c842ba625753ea185e6166cd967e694160798 (patch) | |
tree | 51931f892dff12d253f7697179e137bdfe705155 /org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/impl/ClassDeclarationImpl.java | |
parent | Opposite reference scope (diff) | |
download | refinery-b88c842ba625753ea185e6166cd967e694160798.tar.gz refinery-b88c842ba625753ea185e6166cd967e694160798.tar.zst refinery-b88c842ba625753ea185e6166cd967e694160798.zip |
Add enum support
Diffstat (limited to 'org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/impl/ClassDeclarationImpl.java')
-rw-r--r-- | org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/impl/ClassDeclarationImpl.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/impl/ClassDeclarationImpl.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/impl/ClassDeclarationImpl.java index 89de4d01..774a6e33 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/impl/ClassDeclarationImpl.java +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/impl/ClassDeclarationImpl.java | |||
@@ -22,6 +22,7 @@ import org.eclipse.viatra.solver.language.model.problem.ClassDeclaration; | |||
22 | import org.eclipse.viatra.solver.language.model.problem.Node; | 22 | import org.eclipse.viatra.solver.language.model.problem.Node; |
23 | import org.eclipse.viatra.solver.language.model.problem.ProblemPackage; | 23 | import org.eclipse.viatra.solver.language.model.problem.ProblemPackage; |
24 | import org.eclipse.viatra.solver.language.model.problem.ReferenceDeclaration; | 24 | import org.eclipse.viatra.solver.language.model.problem.ReferenceDeclaration; |
25 | import org.eclipse.viatra.solver.language.model.problem.Relation; | ||
25 | 26 | ||
26 | /** | 27 | /** |
27 | * <!-- begin-user-doc --> | 28 | * <!-- begin-user-doc --> |
@@ -68,7 +69,7 @@ public class ClassDeclarationImpl extends RelationImpl implements ClassDeclarati | |||
68 | * @generated | 69 | * @generated |
69 | * @ordered | 70 | * @ordered |
70 | */ | 71 | */ |
71 | protected EList<ClassDeclaration> superTypes; | 72 | protected EList<Relation> superTypes; |
72 | 73 | ||
73 | /** | 74 | /** |
74 | * The cached value of the '{@link #getReferenceDeclarations() <em>Reference Declarations</em>}' containment reference list. | 75 | * The cached value of the '{@link #getReferenceDeclarations() <em>Reference Declarations</em>}' containment reference list. |
@@ -136,9 +137,9 @@ public class ClassDeclarationImpl extends RelationImpl implements ClassDeclarati | |||
136 | * <!-- end-user-doc --> | 137 | * <!-- end-user-doc --> |
137 | * @generated | 138 | * @generated |
138 | */ | 139 | */ |
139 | public EList<ClassDeclaration> getSuperTypes() { | 140 | public EList<Relation> getSuperTypes() { |
140 | if (superTypes == null) { | 141 | if (superTypes == null) { |
141 | superTypes = new EObjectResolvingEList<ClassDeclaration>(ClassDeclaration.class, this, | 142 | superTypes = new EObjectResolvingEList<Relation>(Relation.class, this, |
142 | ProblemPackage.CLASS_DECLARATION__SUPER_TYPES); | 143 | ProblemPackage.CLASS_DECLARATION__SUPER_TYPES); |
143 | } | 144 | } |
144 | return superTypes; | 145 | return superTypes; |
@@ -257,7 +258,7 @@ public class ClassDeclarationImpl extends RelationImpl implements ClassDeclarati | |||
257 | return; | 258 | return; |
258 | case ProblemPackage.CLASS_DECLARATION__SUPER_TYPES: | 259 | case ProblemPackage.CLASS_DECLARATION__SUPER_TYPES: |
259 | getSuperTypes().clear(); | 260 | getSuperTypes().clear(); |
260 | getSuperTypes().addAll((Collection<? extends ClassDeclaration>) newValue); | 261 | getSuperTypes().addAll((Collection<? extends Relation>) newValue); |
261 | return; | 262 | return; |
262 | case ProblemPackage.CLASS_DECLARATION__REFERENCE_DECLARATIONS: | 263 | case ProblemPackage.CLASS_DECLARATION__REFERENCE_DECLARATIONS: |
263 | getReferenceDeclarations().clear(); | 264 | getReferenceDeclarations().clear(); |