aboutsummaryrefslogtreecommitdiffstats
path: root/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java')
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java165
1 files changed, 0 insertions, 165 deletions
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java
deleted file mode 100644
index 1b510870..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java
+++ /dev/null
@@ -1,165 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
8
9import java.util.Collection;
10
11import org.eclipse.emf.common.notify.NotificationChain;
12
13import org.eclipse.emf.common.util.EList;
14
15import org.eclipse.emf.ecore.EClass;
16import org.eclipse.emf.ecore.InternalEObject;
17
18import org.eclipse.emf.ecore.util.EObjectContainmentEList;
19import org.eclipse.emf.ecore.util.InternalEList;
20
21/**
22 * <!-- begin-user-doc -->
23 * An implementation of the model object '<em><b>ALS Enum Declaration</b></em>'.
24 * <!-- end-user-doc -->
25 * <p>
26 * The following features are implemented:
27 * </p>
28 * <ul>
29 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl#getLiteral <em>Literal</em>}</li>
30 * </ul>
31 *
32 * @generated
33 */
34public class ALSEnumDeclarationImpl extends ALSTypeDeclarationImpl implements ALSEnumDeclaration
35{
36 /**
37 * The cached value of the '{@link #getLiteral() <em>Literal</em>}' containment reference list.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @see #getLiteral()
41 * @generated
42 * @ordered
43 */
44 protected EList<ALSEnumLiteral> literal;
45
46 /**
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @generated
50 */
51 protected ALSEnumDeclarationImpl()
52 {
53 super();
54 }
55
56 /**
57 * <!-- begin-user-doc -->
58 * <!-- end-user-doc -->
59 * @generated
60 */
61 @Override
62 protected EClass eStaticClass()
63 {
64 return AlloyLanguagePackage.Literals.ALS_ENUM_DECLARATION;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 public EList<ALSEnumLiteral> getLiteral()
73 {
74 if (literal == null)
75 {
76 literal = new EObjectContainmentEList<ALSEnumLiteral>(ALSEnumLiteral.class, this, AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL);
77 }
78 return literal;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 @Override
87 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
88 {
89 switch (featureID)
90 {
91 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
92 return ((InternalEList<?>)getLiteral()).basicRemove(otherEnd, msgs);
93 }
94 return super.eInverseRemove(otherEnd, featureID, msgs);
95 }
96
97 /**
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @generated
101 */
102 @Override
103 public Object eGet(int featureID, boolean resolve, boolean coreType)
104 {
105 switch (featureID)
106 {
107 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
108 return getLiteral();
109 }
110 return super.eGet(featureID, resolve, coreType);
111 }
112
113 /**
114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc -->
116 * @generated
117 */
118 @SuppressWarnings("unchecked")
119 @Override
120 public void eSet(int featureID, Object newValue)
121 {
122 switch (featureID)
123 {
124 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
125 getLiteral().clear();
126 getLiteral().addAll((Collection<? extends ALSEnumLiteral>)newValue);
127 return;
128 }
129 super.eSet(featureID, newValue);
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 @Override
138 public void eUnset(int featureID)
139 {
140 switch (featureID)
141 {
142 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
143 getLiteral().clear();
144 return;
145 }
146 super.eUnset(featureID);
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 @Override
155 public boolean eIsSet(int featureID)
156 {
157 switch (featureID)
158 {
159 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
160 return literal != null && !literal.isEmpty();
161 }
162 return super.eIsSet(featureID);
163 }
164
165} //ALSEnumDeclarationImpl