1 | /** |
---|
2 | * <copyright> |
---|
3 | * </copyright> |
---|
4 | * |
---|
5 | */ |
---|
6 | package org.modelica.xtext.modelicaBase; |
---|
7 | |
---|
8 | import org.eclipse.emf.common.util.EList; |
---|
9 | |
---|
10 | /** |
---|
11 | * <!-- begin-user-doc --> |
---|
12 | * A representation of the model object '<em><b>Class Definition</b></em>'. |
---|
13 | * <!-- end-user-doc --> |
---|
14 | * |
---|
15 | * <p> |
---|
16 | * The following features are supported: |
---|
17 | * <ul> |
---|
18 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#isEncapsulated <em>Encapsulated</em>}</li> |
---|
19 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#isPartial <em>Partial</em>}</li> |
---|
20 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#isExpandable <em>Expandable</em>}</li> |
---|
21 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getClassType <em>Class Type</em>}</li> |
---|
22 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getComment <em>Comment</em>}</li> |
---|
23 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getModification <em>Modification</em>}</li> |
---|
24 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getElemList <em>Elem List</em>}</li> |
---|
25 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getInitialEquationClauses <em>Initial Equation Clauses</em>}</li> |
---|
26 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getInitialAlgorithmClauses <em>Initial Algorithm Clauses</em>}</li> |
---|
27 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getEquationClauses <em>Equation Clauses</em>}</li> |
---|
28 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getAlgorithmClauses <em>Algorithm Clauses</em>}</li> |
---|
29 | * <li>{@link org.modelica.xtext.modelicaBase.ClassDefinition#getExtClause <em>Ext Clause</em>}</li> |
---|
30 | * </ul> |
---|
31 | * </p> |
---|
32 | * |
---|
33 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition() |
---|
34 | * @model |
---|
35 | * @generated |
---|
36 | */ |
---|
37 | public interface ClassDefinition extends EntityDefinition, ClassElement, ElementRedeclaration |
---|
38 | { |
---|
39 | /** |
---|
40 | * Returns the value of the '<em><b>Encapsulated</b></em>' attribute. |
---|
41 | * <!-- begin-user-doc --> |
---|
42 | * <p> |
---|
43 | * If the meaning of the '<em>Encapsulated</em>' attribute isn't clear, |
---|
44 | * there really should be more of a description here... |
---|
45 | * </p> |
---|
46 | * <!-- end-user-doc --> |
---|
47 | * @return the value of the '<em>Encapsulated</em>' attribute. |
---|
48 | * @see #setEncapsulated(boolean) |
---|
49 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_Encapsulated() |
---|
50 | * @model |
---|
51 | * @generated |
---|
52 | */ |
---|
53 | boolean isEncapsulated(); |
---|
54 | |
---|
55 | /** |
---|
56 | * Sets the value of the '{@link org.modelica.xtext.modelicaBase.ClassDefinition#isEncapsulated <em>Encapsulated</em>}' attribute. |
---|
57 | * <!-- begin-user-doc --> |
---|
58 | * <!-- end-user-doc --> |
---|
59 | * @param value the new value of the '<em>Encapsulated</em>' attribute. |
---|
60 | * @see #isEncapsulated() |
---|
61 | * @generated |
---|
62 | */ |
---|
63 | void setEncapsulated(boolean value); |
---|
64 | |
---|
65 | /** |
---|
66 | * Returns the value of the '<em><b>Partial</b></em>' attribute. |
---|
67 | * <!-- begin-user-doc --> |
---|
68 | * <p> |
---|
69 | * If the meaning of the '<em>Partial</em>' attribute isn't clear, |
---|
70 | * there really should be more of a description here... |
---|
71 | * </p> |
---|
72 | * <!-- end-user-doc --> |
---|
73 | * @return the value of the '<em>Partial</em>' attribute. |
---|
74 | * @see #setPartial(boolean) |
---|
75 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_Partial() |
---|
76 | * @model |
---|
77 | * @generated |
---|
78 | */ |
---|
79 | boolean isPartial(); |
---|
80 | |
---|
81 | /** |
---|
82 | * Sets the value of the '{@link org.modelica.xtext.modelicaBase.ClassDefinition#isPartial <em>Partial</em>}' attribute. |
---|
83 | * <!-- begin-user-doc --> |
---|
84 | * <!-- end-user-doc --> |
---|
85 | * @param value the new value of the '<em>Partial</em>' attribute. |
---|
86 | * @see #isPartial() |
---|
87 | * @generated |
---|
88 | */ |
---|
89 | void setPartial(boolean value); |
---|
90 | |
---|
91 | /** |
---|
92 | * Returns the value of the '<em><b>Expandable</b></em>' attribute. |
---|
93 | * <!-- begin-user-doc --> |
---|
94 | * <p> |
---|
95 | * If the meaning of the '<em>Expandable</em>' attribute isn't clear, |
---|
96 | * there really should be more of a description here... |
---|
97 | * </p> |
---|
98 | * <!-- end-user-doc --> |
---|
99 | * @return the value of the '<em>Expandable</em>' attribute. |
---|
100 | * @see #setExpandable(boolean) |
---|
101 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_Expandable() |
---|
102 | * @model |
---|
103 | * @generated |
---|
104 | */ |
---|
105 | boolean isExpandable(); |
---|
106 | |
---|
107 | /** |
---|
108 | * Sets the value of the '{@link org.modelica.xtext.modelicaBase.ClassDefinition#isExpandable <em>Expandable</em>}' attribute. |
---|
109 | * <!-- begin-user-doc --> |
---|
110 | * <!-- end-user-doc --> |
---|
111 | * @param value the new value of the '<em>Expandable</em>' attribute. |
---|
112 | * @see #isExpandable() |
---|
113 | * @generated |
---|
114 | */ |
---|
115 | void setExpandable(boolean value); |
---|
116 | |
---|
117 | /** |
---|
118 | * Returns the value of the '<em><b>Class Type</b></em>' attribute. |
---|
119 | * The literals are from the enumeration {@link org.modelica.xtext.modelicaBase.ClassType}. |
---|
120 | * <!-- begin-user-doc --> |
---|
121 | * <p> |
---|
122 | * If the meaning of the '<em>Class Type</em>' attribute isn't clear, |
---|
123 | * there really should be more of a description here... |
---|
124 | * </p> |
---|
125 | * <!-- end-user-doc --> |
---|
126 | * @return the value of the '<em>Class Type</em>' attribute. |
---|
127 | * @see org.modelica.xtext.modelicaBase.ClassType |
---|
128 | * @see #setClassType(ClassType) |
---|
129 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_ClassType() |
---|
130 | * @model |
---|
131 | * @generated |
---|
132 | */ |
---|
133 | ClassType getClassType(); |
---|
134 | |
---|
135 | /** |
---|
136 | * Sets the value of the '{@link org.modelica.xtext.modelicaBase.ClassDefinition#getClassType <em>Class Type</em>}' attribute. |
---|
137 | * <!-- begin-user-doc --> |
---|
138 | * <!-- end-user-doc --> |
---|
139 | * @param value the new value of the '<em>Class Type</em>' attribute. |
---|
140 | * @see org.modelica.xtext.modelicaBase.ClassType |
---|
141 | * @see #getClassType() |
---|
142 | * @generated |
---|
143 | */ |
---|
144 | void setClassType(ClassType value); |
---|
145 | |
---|
146 | /** |
---|
147 | * Returns the value of the '<em><b>Comment</b></em>' attribute. |
---|
148 | * <!-- begin-user-doc --> |
---|
149 | * <p> |
---|
150 | * If the meaning of the '<em>Comment</em>' attribute isn't clear, |
---|
151 | * there really should be more of a description here... |
---|
152 | * </p> |
---|
153 | * <!-- end-user-doc --> |
---|
154 | * @return the value of the '<em>Comment</em>' attribute. |
---|
155 | * @see #setComment(String) |
---|
156 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_Comment() |
---|
157 | * @model |
---|
158 | * @generated |
---|
159 | */ |
---|
160 | String getComment(); |
---|
161 | |
---|
162 | /** |
---|
163 | * Sets the value of the '{@link org.modelica.xtext.modelicaBase.ClassDefinition#getComment <em>Comment</em>}' attribute. |
---|
164 | * <!-- begin-user-doc --> |
---|
165 | * <!-- end-user-doc --> |
---|
166 | * @param value the new value of the '<em>Comment</em>' attribute. |
---|
167 | * @see #getComment() |
---|
168 | * @generated |
---|
169 | */ |
---|
170 | void setComment(String value); |
---|
171 | |
---|
172 | /** |
---|
173 | * Returns the value of the '<em><b>Modification</b></em>' containment reference. |
---|
174 | * <!-- begin-user-doc --> |
---|
175 | * <p> |
---|
176 | * If the meaning of the '<em>Modification</em>' containment reference isn't clear, |
---|
177 | * there really should be more of a description here... |
---|
178 | * </p> |
---|
179 | * <!-- end-user-doc --> |
---|
180 | * @return the value of the '<em>Modification</em>' containment reference. |
---|
181 | * @see #setModification(ClassModification) |
---|
182 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_Modification() |
---|
183 | * @model containment="true" |
---|
184 | * @generated |
---|
185 | */ |
---|
186 | ClassModification getModification(); |
---|
187 | |
---|
188 | /** |
---|
189 | * Sets the value of the '{@link org.modelica.xtext.modelicaBase.ClassDefinition#getModification <em>Modification</em>}' containment reference. |
---|
190 | * <!-- begin-user-doc --> |
---|
191 | * <!-- end-user-doc --> |
---|
192 | * @param value the new value of the '<em>Modification</em>' containment reference. |
---|
193 | * @see #getModification() |
---|
194 | * @generated |
---|
195 | */ |
---|
196 | void setModification(ClassModification value); |
---|
197 | |
---|
198 | /** |
---|
199 | * Returns the value of the '<em><b>Elem List</b></em>' containment reference list. |
---|
200 | * The list contents are of type {@link org.modelica.xtext.modelicaBase.ElementList}. |
---|
201 | * <!-- begin-user-doc --> |
---|
202 | * <p> |
---|
203 | * If the meaning of the '<em>Elem List</em>' containment reference list isn't clear, |
---|
204 | * there really should be more of a description here... |
---|
205 | * </p> |
---|
206 | * <!-- end-user-doc --> |
---|
207 | * @return the value of the '<em>Elem List</em>' containment reference list. |
---|
208 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_ElemList() |
---|
209 | * @model containment="true" |
---|
210 | * @generated |
---|
211 | */ |
---|
212 | EList<ElementList> getElemList(); |
---|
213 | |
---|
214 | /** |
---|
215 | * Returns the value of the '<em><b>Initial Equation Clauses</b></em>' containment reference list. |
---|
216 | * The list contents are of type {@link org.modelica.xtext.modelicaBase.initial_equation_rule_clause}. |
---|
217 | * <!-- begin-user-doc --> |
---|
218 | * <p> |
---|
219 | * If the meaning of the '<em>Initial Equation Clauses</em>' containment reference list isn't clear, |
---|
220 | * there really should be more of a description here... |
---|
221 | * </p> |
---|
222 | * <!-- end-user-doc --> |
---|
223 | * @return the value of the '<em>Initial Equation Clauses</em>' containment reference list. |
---|
224 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_InitialEquationClauses() |
---|
225 | * @model containment="true" |
---|
226 | * @generated |
---|
227 | */ |
---|
228 | EList<initial_equation_rule_clause> getInitialEquationClauses(); |
---|
229 | |
---|
230 | /** |
---|
231 | * Returns the value of the '<em><b>Initial Algorithm Clauses</b></em>' containment reference list. |
---|
232 | * The list contents are of type {@link org.modelica.xtext.modelicaBase.initial_algorithm_clause}. |
---|
233 | * <!-- begin-user-doc --> |
---|
234 | * <p> |
---|
235 | * If the meaning of the '<em>Initial Algorithm Clauses</em>' containment reference list isn't clear, |
---|
236 | * there really should be more of a description here... |
---|
237 | * </p> |
---|
238 | * <!-- end-user-doc --> |
---|
239 | * @return the value of the '<em>Initial Algorithm Clauses</em>' containment reference list. |
---|
240 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_InitialAlgorithmClauses() |
---|
241 | * @model containment="true" |
---|
242 | * @generated |
---|
243 | */ |
---|
244 | EList<initial_algorithm_clause> getInitialAlgorithmClauses(); |
---|
245 | |
---|
246 | /** |
---|
247 | * Returns the value of the '<em><b>Equation Clauses</b></em>' containment reference list. |
---|
248 | * The list contents are of type {@link org.modelica.xtext.modelicaBase.EquationClause}. |
---|
249 | * <!-- begin-user-doc --> |
---|
250 | * <p> |
---|
251 | * If the meaning of the '<em>Equation Clauses</em>' containment reference list isn't clear, |
---|
252 | * there really should be more of a description here... |
---|
253 | * </p> |
---|
254 | * <!-- end-user-doc --> |
---|
255 | * @return the value of the '<em>Equation Clauses</em>' containment reference list. |
---|
256 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_EquationClauses() |
---|
257 | * @model containment="true" |
---|
258 | * @generated |
---|
259 | */ |
---|
260 | EList<EquationClause> getEquationClauses(); |
---|
261 | |
---|
262 | /** |
---|
263 | * Returns the value of the '<em><b>Algorithm Clauses</b></em>' containment reference list. |
---|
264 | * The list contents are of type {@link org.modelica.xtext.modelicaBase.algorithm_clause}. |
---|
265 | * <!-- begin-user-doc --> |
---|
266 | * <p> |
---|
267 | * If the meaning of the '<em>Algorithm Clauses</em>' containment reference list isn't clear, |
---|
268 | * there really should be more of a description here... |
---|
269 | * </p> |
---|
270 | * <!-- end-user-doc --> |
---|
271 | * @return the value of the '<em>Algorithm Clauses</em>' containment reference list. |
---|
272 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_AlgorithmClauses() |
---|
273 | * @model containment="true" |
---|
274 | * @generated |
---|
275 | */ |
---|
276 | EList<algorithm_clause> getAlgorithmClauses(); |
---|
277 | |
---|
278 | /** |
---|
279 | * Returns the value of the '<em><b>Ext Clause</b></em>' containment reference. |
---|
280 | * <!-- begin-user-doc --> |
---|
281 | * <p> |
---|
282 | * If the meaning of the '<em>Ext Clause</em>' containment reference isn't clear, |
---|
283 | * there really should be more of a description here... |
---|
284 | * </p> |
---|
285 | * <!-- end-user-doc --> |
---|
286 | * @return the value of the '<em>Ext Clause</em>' containment reference. |
---|
287 | * @see #setExtClause(ExternalClause) |
---|
288 | * @see org.modelica.xtext.modelicaBase.ModelicaBasePackage#getClassDefinition_ExtClause() |
---|
289 | * @model containment="true" |
---|
290 | * @generated |
---|
291 | */ |
---|
292 | ExternalClause getExtClause(); |
---|
293 | |
---|
294 | /** |
---|
295 | * Sets the value of the '{@link org.modelica.xtext.modelicaBase.ClassDefinition#getExtClause <em>Ext Clause</em>}' containment reference. |
---|
296 | * <!-- begin-user-doc --> |
---|
297 | * <!-- end-user-doc --> |
---|
298 | * @param value the new value of the '<em>Ext Clause</em>' containment reference. |
---|
299 | * @see #getExtClause() |
---|
300 | * @generated |
---|
301 | */ |
---|
302 | void setExtClause(ExternalClause value); |
---|
303 | |
---|
304 | } // ClassDefinition |
---|