diff options
author | 2020-05-19 21:18:06 +0200 | |
---|---|---|
committer | 2020-05-19 21:18:06 +0200 | |
commit | b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b (patch) | |
tree | ad3222182065b8fac7d9b3d528c4efabf2aa0dd2 /Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java | |
parent | Merge branch 'master' of github.com:viatra/VIATRA-Generator (diff) | |
download | VIATRA-Generator-b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b.tar.gz VIATRA-Generator-b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b.tar.zst VIATRA-Generator-b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b.zip |
Config language WIP
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java')
-rw-r--r-- | Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java | 169 |
1 files changed, 0 insertions, 169 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java deleted file mode 100644 index 8c16fb4f..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java +++ /dev/null | |||
@@ -1,169 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
16 | |||
17 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
18 | import org.eclipse.emf.ecore.util.InternalEList; | ||
19 | |||
20 | import org.eclipse.viatra.solver.language.solverLanguage.Argument; | ||
21 | import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; | ||
22 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
23 | |||
24 | /** | ||
25 | * <!-- begin-user-doc --> | ||
26 | * An implementation of the model object '<em><b>Argument List</b></em>'. | ||
27 | * <!-- end-user-doc --> | ||
28 | * <p> | ||
29 | * The following features are implemented: | ||
30 | * </p> | ||
31 | * <ul> | ||
32 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl#getArguments <em>Arguments</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @generated | ||
36 | */ | ||
37 | public class ArgumentListImpl extends MinimalEObjectImpl.Container implements ArgumentList | ||
38 | { | ||
39 | /** | ||
40 | * The cached value of the '{@link #getArguments() <em>Arguments</em>}' containment reference list. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getArguments() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected EList<Argument> arguments; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected ArgumentListImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return SolverLanguagePackage.Literals.ARGUMENT_LIST; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | public EList<Argument> getArguments() | ||
77 | { | ||
78 | if (arguments == null) | ||
79 | { | ||
80 | arguments = new EObjectContainmentEList<Argument>(Argument.class, this, SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS); | ||
81 | } | ||
82 | return arguments; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | @Override | ||
91 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
92 | { | ||
93 | switch (featureID) | ||
94 | { | ||
95 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
96 | return ((InternalEList<?>)getArguments()).basicRemove(otherEnd, msgs); | ||
97 | } | ||
98 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | @Override | ||
107 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
108 | { | ||
109 | switch (featureID) | ||
110 | { | ||
111 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
112 | return getArguments(); | ||
113 | } | ||
114 | return super.eGet(featureID, resolve, coreType); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @SuppressWarnings("unchecked") | ||
123 | @Override | ||
124 | public void eSet(int featureID, Object newValue) | ||
125 | { | ||
126 | switch (featureID) | ||
127 | { | ||
128 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
129 | getArguments().clear(); | ||
130 | getArguments().addAll((Collection<? extends Argument>)newValue); | ||
131 | return; | ||
132 | } | ||
133 | super.eSet(featureID, newValue); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public void eUnset(int featureID) | ||
143 | { | ||
144 | switch (featureID) | ||
145 | { | ||
146 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
147 | getArguments().clear(); | ||
148 | return; | ||
149 | } | ||
150 | super.eUnset(featureID); | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public boolean eIsSet(int featureID) | ||
160 | { | ||
161 | switch (featureID) | ||
162 | { | ||
163 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
164 | return arguments != null && !arguments.isEmpty(); | ||
165 | } | ||
166 | return super.eIsSet(featureID); | ||
167 | } | ||
168 | |||
169 | } //ArgumentListImpl | ||