KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > codegen > ecore > genmodel > GenModel


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2005 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: GenModel.java,v 1.26 2005/06/28 23:49:12 marcelop Exp $
16  */

17 package org.eclipse.emf.codegen.ecore.genmodel;
18
19
20 import java.util.Collection JavaDoc;
21 import java.util.List JavaDoc;
22 import java.util.Map JavaDoc;
23 import java.util.Set JavaDoc;
24
25 import org.eclipse.core.runtime.IStatus;
26
27 import org.eclipse.emf.codegen.jet.JETEmitter;
28 import org.eclipse.emf.codegen.jmerge.JControlModel;
29 import org.eclipse.emf.common.util.EList;
30 import org.eclipse.emf.ecore.EPackage;
31 import org.eclipse.emf.ecore.util.ExtendedMetaData;
32 import org.eclipse.jdt.core.formatter.CodeFormatter;
33
34
35 /**
36  * <!-- begin-user-doc -->
37  * A representation of the model object '<em><b>GenModel</b></em>'.
38  * <!-- end-user-doc -->
39  *
40  * <p>
41  * The following features are supported:
42  * <ul>
43  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getCopyrightText <em>Copyright Text</em>}</li>
44  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelDirectory <em>Model Directory</em>}</li>
45  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isCreationCommands <em>Creation Commands</em>}</li>
46  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isCreationIcons <em>Creation Icons</em>}</li>
47  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditDirectory <em>Edit Directory</em>}</li>
48  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorDirectory <em>Editor Directory</em>}</li>
49  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelPluginID <em>Model Plugin ID</em>}</li>
50  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTemplateDirectory <em>Template Directory</em>}</li>
51  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isRuntimeJar <em>Runtime Jar</em>}</li>
52  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getForeignModel <em>Foreign Model</em>}</li>
53  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isDynamicTemplates <em>Dynamic Templates</em>}</li>
54  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRedirection <em>Redirection</em>}</li>
55  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isForceOverwrite <em>Force Overwrite</em>}</li>
56  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getNonExternalizedStringTag <em>Non Externalized String Tag</em>}</li>
57  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelName <em>Model Name</em>}</li>
58  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelPluginClass <em>Model Plugin Class</em>}</li>
59  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditPluginClass <em>Edit Plugin Class</em>}</li>
60  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorPluginClass <em>Editor Plugin Class</em>}</li>
61  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isUpdateClasspath <em>Update Classpath</em>}</li>
62  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isGenerateSchema <em>Generate Schema</em>}</li>
63  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isNonNLSMarkers <em>Non NLS Markers</em>}</li>
64  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getStaticPackages <em>Static Packages</em>}</li>
65  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelPluginVariables <em>Model Plugin Variables</em>}</li>
66  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRootExtendsInterface <em>Root Extends Interface</em>}</li>
67  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRootExtendsClass <em>Root Extends Class</em>}</li>
68  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRootImplementsInterface <em>Root Implements Interface</em>}</li>
69  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isSuppressEMFTypes <em>Suppress EMF Types</em>}</li>
70  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getFeatureMapWrapperInterface <em>Feature Map Wrapper Interface</em>}</li>
71  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getFeatureMapWrapperInternalInterface <em>Feature Map Wrapper Internal Interface</em>}</li>
72  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getFeatureMapWrapperClass <em>Feature Map Wrapper Class</em>}</li>
73  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isRuntimeCompatibility <em>Runtime Compatibility</em>}</li>
74  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isRichClientPlatform <em>Rich Client Platform</em>}</li>
75  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isReflectiveDelegation <em>Reflective Delegation</em>}</li>
76  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isCodeFormatting <em>Code Formatting</em>}</li>
77  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestsDirectory <em>Tests Directory</em>}</li>
78  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestSuiteClass <em>Test Suite Class</em>}</li>
79  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getBooleanFlagsField <em>Boolean Flags Field</em>}</li>
80  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getBooleanFlagsReservedBits <em>Boolean Flags Reserved Bits</em>}</li>
81  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getImporterID <em>Importer ID</em>}</li>
82  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isBundleManifest <em>Bundle Manifest</em>}</li>
83  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getGenPackages <em>Gen Packages</em>}</li>
84  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getUsedGenPackages <em>Used Gen Packages</em>}</li>
85  * </ul>
86  * </p>
87  *
88  * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel()
89  * @model
90  * @generated
91  */

92 public interface GenModel extends GenBase{
93   /**
94    * Returns the value of the '<em><b>Copyright Text</b></em>' attribute.
95    * <!-- begin-user-doc -->
96    * <p>
97    * If the meaning of the '<em>Copyright Text</em>' attribute isn't clear,
98    * there really should be more of a description here...
99    * </p>
100    * <!-- end-user-doc -->
101    * @return the value of the '<em>Copyright Text</em>' attribute.
102    * @see #setCopyrightText(String)
103    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_CopyrightText()
104    * @model
105    * @generated
106    */

107   String JavaDoc getCopyrightText();
108
109   /**
110    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getCopyrightText <em>Copyright Text</em>}' attribute.
111    * <!-- begin-user-doc -->
112    * <!-- end-user-doc -->
113    * @param value the new value of the '<em>Copyright Text</em>' attribute.
114    * @see #getCopyrightText()
115    * @generated
116    */

117   void setCopyrightText(String JavaDoc value);
118
119   /**
120    * Returns the value of the '<em><b>Model Directory</b></em>' attribute.
121    * <!-- begin-user-doc -->
122    * <p>
123    * When unset, this attribute takes a default value based on {@link modelPluginID #getModelPluginID}.
124    * </p>
125    * <!-- end-user-doc -->
126    * @return the value of the '<em>Model Directory</em>' attribute.
127    * @see #setModelDirectory(String)
128    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ModelDirectory()
129    * @model
130    * @generated
131    */

132   String JavaDoc getModelDirectory();
133
134   /**
135    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelDirectory <em>Model Directory</em>}' attribute.
136    * <!-- begin-user-doc -->
137    * <!-- end-user-doc -->
138    * @param value the new value of the '<em>Model Directory</em>' attribute.
139    * @see #getModelDirectory()
140    * @generated
141    */

142   void setModelDirectory(String JavaDoc value);
143
144   /**
145    * Returns the value of the '<em><b>Creation Commands</b></em>' attribute.
146    * The default value is <code>"true"</code>.
147    * <!-- begin-user-doc -->
148    * <!-- end-user-doc -->
149    * @return the value of the '<em>Creation Commands</em>' attribute.
150    * @see #setCreationCommands(boolean)
151    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_CreationCommands()
152    * @model default="true"
153    * @generated
154    */

155   boolean isCreationCommands();
156
157   /**
158    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isCreationCommands <em>Creation Commands</em>}' attribute.
159    * <!-- begin-user-doc -->
160    * <!-- end-user-doc -->
161    * @param value the new value of the '<em>Creation Commands</em>' attribute.
162    * @see #isCreationCommands()
163    * @generated
164    */

165   void setCreationCommands(boolean value);
166
167   /**
168    * Returns the value of the '<em><b>Creation Icons</b></em>' attribute.
169    * The default value is <code>"true"</code>.
170    * <!-- begin-user-doc -->
171    * <p>
172    * If the meaning of the '<em>Creation Icons</em>' attribute isn't clear,
173    * there really should be more of a description here...
174    * </p>
175    * <!-- end-user-doc -->
176    * @return the value of the '<em>Creation Icons</em>' attribute.
177    * @see #setCreationIcons(boolean)
178    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_CreationIcons()
179    * @model default="true"
180    * @generated
181    */

182   boolean isCreationIcons();
183
184   /**
185    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isCreationIcons <em>Creation Icons</em>}' attribute.
186    * <!-- begin-user-doc -->
187    * <!-- end-user-doc -->
188    * @param value the new value of the '<em>Creation Icons</em>' attribute.
189    * @see #isCreationIcons()
190    * @generated
191    */

192   void setCreationIcons(boolean value);
193
194   /**
195    * Returns the value of the '<em><b>Edit Directory</b></em>' attribute.
196    * <!-- begin-user-doc -->
197    * <p>
198    * When unset, this attribute takes a default value based on {@link modelDirectory #getModelDirectory}.
199    * </p>
200    * <!-- end-user-doc -->
201    * @return the value of the '<em>Edit Directory</em>' attribute.
202    * @see #isSetEditDirectory()
203    * @see #unsetEditDirectory()
204    * @see #setEditDirectory(String)
205    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_EditDirectory()
206    * @model unsettable="true"
207    * @generated
208    */

209   String JavaDoc getEditDirectory();
210
211   /**
212    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditDirectory <em>Edit Directory</em>}' attribute.
213    * <!-- begin-user-doc -->
214    * <!-- end-user-doc -->
215    * @param value the new value of the '<em>Edit Directory</em>' attribute.
216    * @see #isSetEditDirectory()
217    * @see #unsetEditDirectory()
218    * @see #getEditDirectory()
219    * @generated
220    */

221   void setEditDirectory(String JavaDoc value);
222
223   /**
224    * Unsets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditDirectory <em>Edit Directory</em>}' attribute.
225    * <!-- begin-user-doc -->
226    * <!-- end-user-doc -->
227    * @see #isSetEditDirectory()
228    * @see #getEditDirectory()
229    * @see #setEditDirectory(String)
230    * @generated
231    */

232   void unsetEditDirectory();
233
234   /**
235    * Returns whether the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditDirectory <em>Edit Directory</em>}' attribute is set.
236    * <!-- begin-user-doc -->
237    * <!-- end-user-doc -->
238    * @return whether the value of the '<em>Edit Directory</em>' attribute is set.
239    * @see #unsetEditDirectory()
240    * @see #getEditDirectory()
241    * @see #setEditDirectory(String)
242    * @generated
243    */

244   boolean isSetEditDirectory();
245
246   /**
247    * Returns the value of the '<em><b>Editor Directory</b></em>' attribute.
248    * <!-- begin-user-doc -->
249    * <p>
250    * When unset, this attribute takes a default value based on {@link modelDirectory #getModelDirectory}.
251    * </p>
252    * <!-- end-user-doc -->
253    * @return the value of the '<em>Editor Directory</em>' attribute.
254    * @see #isSetEditorDirectory()
255    * @see #unsetEditorDirectory()
256    * @see #setEditorDirectory(String)
257    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_EditorDirectory()
258    * @model unsettable="true"
259    * @generated
260    */

261   String JavaDoc getEditorDirectory();
262
263   /**
264    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorDirectory <em>Editor Directory</em>}' attribute.
265    * <!-- begin-user-doc -->
266    * <!-- end-user-doc -->
267    * @param value the new value of the '<em>Editor Directory</em>' attribute.
268    * @see #isSetEditorDirectory()
269    * @see #unsetEditorDirectory()
270    * @see #getEditorDirectory()
271    * @generated
272    */

273   void setEditorDirectory(String JavaDoc value);
274
275   /**
276    * Unsets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorDirectory <em>Editor Directory</em>}' attribute.
277    * <!-- begin-user-doc -->
278    * <!-- end-user-doc -->
279    * @see #isSetEditorDirectory()
280    * @see #getEditorDirectory()
281    * @see #setEditorDirectory(String)
282    * @generated
283    */

284   void unsetEditorDirectory();
285
286   /**
287    * Returns whether the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorDirectory <em>Editor Directory</em>}' attribute is set.
288    * <!-- begin-user-doc -->
289    * <!-- end-user-doc -->
290    * @return whether the value of the '<em>Editor Directory</em>' attribute is set.
291    * @see #unsetEditorDirectory()
292    * @see #getEditorDirectory()
293    * @see #setEditorDirectory(String)
294    * @generated
295    */

296   boolean isSetEditorDirectory();
297
298   /**
299    * Returns the value of the '<em><b>Model Plugin ID</b></em>' attribute.
300    * <!-- begin-user-doc -->
301    * <p>
302    * This attribute is unsettable for the benefit of other attributes, whose
303    * default values are based on it. If it is unset, they will be, too.
304    * </p>
305    * <!-- end-user-doc -->
306    * @return the value of the '<em>Model Plugin ID</em>' attribute.
307    * @see #setModelPluginID(String)
308    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ModelPluginID()
309    * @model
310    * @generated
311    */

312   String JavaDoc getModelPluginID();
313
314   /**
315    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelPluginID <em>Model Plugin ID</em>}' attribute.
316    * <!-- begin-user-doc -->
317    * <!-- end-user-doc -->
318    * @param value the new value of the '<em>Model Plugin ID</em>' attribute.
319    * @see #getModelPluginID()
320    * @generated
321    */

322   void setModelPluginID(String JavaDoc value);
323
324   /**
325    * Returns the value of the '<em><b>Template Directory</b></em>' attribute.
326    * <!-- begin-user-doc -->
327    * <p>
328    * If the meaning of the '<em>Template Directory</em>' attribute isn't clear,
329    * there really should be more of a description here...
330    * </p>
331    * <!-- end-user-doc -->
332    * @return the value of the '<em>Template Directory</em>' attribute.
333    * @see #setTemplateDirectory(String)
334    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_TemplateDirectory()
335    * @model
336    * @generated
337    */

338   String JavaDoc getTemplateDirectory();
339
340   /**
341    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTemplateDirectory <em>Template Directory</em>}' attribute.
342    * <!-- begin-user-doc -->
343    * <!-- end-user-doc -->
344    * @param value the new value of the '<em>Template Directory</em>' attribute.
345    * @see #getTemplateDirectory()
346    * @generated
347    */

348   void setTemplateDirectory(String JavaDoc value);
349
350   /**
351    * Returns the value of the '<em><b>Runtime Jar</b></em>' attribute.
352    * <!-- begin-user-doc -->
353    * <!-- end-user-doc -->
354    * @return the value of the '<em>Runtime Jar</em>' attribute.
355    * @see #setRuntimeJar(boolean)
356    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_RuntimeJar()
357    * @model
358    * @generated
359    */

360   boolean isRuntimeJar();
361
362   /**
363    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isRuntimeJar <em>Runtime Jar</em>}' attribute.
364    * <!-- begin-user-doc -->
365    * <!-- end-user-doc -->
366    * @param value the new value of the '<em>Runtime Jar</em>' attribute.
367    * @see #isRuntimeJar()
368    * @generated
369    */

370   void setRuntimeJar(boolean value);
371
372   /**
373    * Returns the value of the '<em><b>Foreign Model</b></em>' attribute list.
374    * The list contents are of type {@link java.lang.String}.
375    * <!-- begin-user-doc -->
376    * <p>
377    * If the meaning of the '<em>Foreign Model</em>' attribute list isn't clear,
378    * there really should be more of a description here...
379    * </p>
380    * <!-- end-user-doc -->
381    * @return the value of the '<em>Foreign Model</em>' attribute list.
382    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ForeignModel()
383    * @model type="java.lang.String"
384    * @generated
385    */

386   EList getForeignModel();
387
388   /**
389    * Returns the value of the '<em><b>Dynamic Templates</b></em>' attribute.
390    * <!-- begin-user-doc -->
391    * <!-- end-user-doc -->
392    * @return the value of the '<em>Dynamic Templates</em>' attribute.
393    * @see #setDynamicTemplates(boolean)
394    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_DynamicTemplates()
395    * @model
396    * @generated
397    */

398   boolean isDynamicTemplates();
399
400   /**
401    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isDynamicTemplates <em>Dynamic Templates</em>}' attribute.
402    * <!-- begin-user-doc -->
403    * <!-- end-user-doc -->
404    * @param value the new value of the '<em>Dynamic Templates</em>' attribute.
405    * @see #isDynamicTemplates()
406    * @generated
407    */

408   void setDynamicTemplates(boolean value);
409
410   /**
411    * Returns the value of the '<em><b>Redirection</b></em>' attribute.
412    * <!-- begin-user-doc -->
413    * <p>
414    * If the meaning of the '<em>Redirection</em>' attribute isn't clear,
415    * there really should be more of a description here...
416    * </p>
417    * <!-- end-user-doc -->
418    * @return the value of the '<em>Redirection</em>' attribute.
419    * @see #setRedirection(String)
420    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_Redirection()
421    * @model
422    * @generated
423    */

424   String JavaDoc getRedirection();
425
426   /**
427    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRedirection <em>Redirection</em>}' attribute.
428    * <!-- begin-user-doc -->
429    * <!-- end-user-doc -->
430    * @param value the new value of the '<em>Redirection</em>' attribute.
431    * @see #getRedirection()
432    * @generated
433    */

434   void setRedirection(String JavaDoc value);
435
436   /**
437    * Returns the value of the '<em><b>Force Overwrite</b></em>' attribute.
438    * <!-- begin-user-doc -->
439    * <!-- end-user-doc -->
440    * @return the value of the '<em>Force Overwrite</em>' attribute.
441    * @see #setForceOverwrite(boolean)
442    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ForceOverwrite()
443    * @model
444    * @generated
445    */

446   boolean isForceOverwrite();
447
448   /**
449    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isForceOverwrite <em>Force Overwrite</em>}' attribute.
450    * <!-- begin-user-doc -->
451    * <!-- end-user-doc -->
452    * @param value the new value of the '<em>Force Overwrite</em>' attribute.
453    * @see #isForceOverwrite()
454    * @generated
455    */

456   void setForceOverwrite(boolean value);
457
458   /**
459    * Returns the value of the '<em><b>Non Externalized String Tag</b></em>' attribute.
460    * <!-- begin-user-doc -->
461    * <p>This attribute has been replaced by {@link #isNonNLSMarkers
462    * nonNLSMarkers}. Even after the attribute has been set to a non-null
463    * value, this method will continue to return <code>null</code>, though
464    * <code>isNonNLSMarkers()</code> will return <code>true</code>.
465    * </p>
466    * <!-- end-user-doc -->
467    * @return the value of the '<em>Non Externalized String Tag</em>' attribute.
468    * @see #setNonExternalizedStringTag(String)
469    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_NonExternalizedStringTag()
470    * @model
471    * @generated
472    */

473   String JavaDoc getNonExternalizedStringTag();
474
475   /**
476    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getNonExternalizedStringTag <em>Non Externalized String Tag</em>}' attribute.
477    * <!-- begin-user-doc -->
478    * <p>This attribute has been replaced by {@link #setNonNLSMarkers
479    * nonNLSMarkers}. To automate the transition, this sets the attribute
480    * <code>null</code>, and calls <code>setNonNLSMarkers(value != null)</code>.
481    * </p>
482    * <!-- end-user-doc -->
483    * @param value the new value of the '<em>Non Externalized String Tag</em>' attribute.
484    * @see #getNonExternalizedStringTag()
485    * @generated
486    */

487   void setNonExternalizedStringTag(String JavaDoc value);
488
489   /**
490    * Returns the value of the '<em><b>Model Name</b></em>' attribute.
491    * <!-- begin-user-doc -->
492    * <p>
493    * If the meaning of the '<em>Model Name</em>' attribute isn't clear,
494    * there really should be more of a description here...
495    * </p>
496    * <!-- end-user-doc -->
497    * @return the value of the '<em>Model Name</em>' attribute.
498    * @see #setModelName(String)
499    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ModelName()
500    * @model
501    * @generated
502    */

503   String JavaDoc getModelName();
504
505   /**
506    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelName <em>Model Name</em>}' attribute.
507    * <!-- begin-user-doc -->
508    * <!-- end-user-doc -->
509    * @param value the new value of the '<em>Model Name</em>' attribute.
510    * @see #getModelName()
511    * @generated
512    */

513   void setModelName(String JavaDoc value);
514
515   /**
516    * Returns the value of the '<em><b>Model Plugin Class</b></em>' attribute.
517    * <!-- begin-user-doc -->
518    * <p>
519    * If the meaning of the '<em>Model Plugin Class</em>' attribute isn't clear,
520    * there really should be more of a description here...
521    * </p>
522    * <!-- end-user-doc -->
523    * @return the value of the '<em>Model Plugin Class</em>' attribute.
524    * @see #setModelPluginClass(String)
525    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ModelPluginClass()
526    * @model
527    * @generated
528    */

529   String JavaDoc getModelPluginClass();
530
531   /**
532    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getModelPluginClass <em>Model Plugin Class</em>}' attribute.
533    * <!-- begin-user-doc -->
534    * <!-- end-user-doc -->
535    * @param value the new value of the '<em>Model Plugin Class</em>' attribute.
536    * @see #getModelPluginClass()
537    * @generated
538    */

539   void setModelPluginClass(String JavaDoc value);
540
541   /**
542    * Returns the value of the '<em><b>Edit Plugin Class</b></em>' attribute.
543    * <!-- begin-user-doc -->
544    * <p>
545    * When unset, this attribute takes a default value based on {@link modelName #getModelName},
546    * and the first of the {@link genPackages #getGenPackages}.
547    * </p>
548    * <!-- end-user-doc -->
549    * @return the value of the '<em>Edit Plugin Class</em>' attribute.
550    * @see #isSetEditPluginClass()
551    * @see #unsetEditPluginClass()
552    * @see #setEditPluginClass(String)
553    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_EditPluginClass()
554    * @model unsettable="true"
555    * @generated
556    */

557   String JavaDoc getEditPluginClass();
558
559   /**
560    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditPluginClass <em>Edit Plugin Class</em>}' attribute.
561    * <!-- begin-user-doc -->
562    * <!-- end-user-doc -->
563    * @param value the new value of the '<em>Edit Plugin Class</em>' attribute.
564    * @see #isSetEditPluginClass()
565    * @see #unsetEditPluginClass()
566    * @see #getEditPluginClass()
567    * @generated
568    */

569   void setEditPluginClass(String JavaDoc value);
570
571   /**
572    * Unsets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditPluginClass <em>Edit Plugin Class</em>}' attribute.
573    * <!-- begin-user-doc -->
574    * <!-- end-user-doc -->
575    * @see #isSetEditPluginClass()
576    * @see #getEditPluginClass()
577    * @see #setEditPluginClass(String)
578    * @generated
579    */

580   void unsetEditPluginClass();
581
582   /**
583    * Returns whether the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditPluginClass <em>Edit Plugin Class</em>}' attribute is set.
584    * <!-- begin-user-doc -->
585    * <!-- end-user-doc -->
586    * @return whether the value of the '<em>Edit Plugin Class</em>' attribute is set.
587    * @see #unsetEditPluginClass()
588    * @see #getEditPluginClass()
589    * @see #setEditPluginClass(String)
590    * @generated
591    */

592   boolean isSetEditPluginClass();
593
594   /**
595    * Returns the value of the '<em><b>Editor Plugin Class</b></em>' attribute.
596    * <!-- begin-user-doc -->
597    * <p>
598    * When unset, this attribute takes a default value based on {@link modelName #getModelName},
599    * and the first of the {@link genPackages #getGenPackages}.
600    * </p>
601    * <!-- end-user-doc -->
602    * @return the value of the '<em>Editor Plugin Class</em>' attribute.
603    * @see #isSetEditorPluginClass()
604    * @see #unsetEditorPluginClass()
605    * @see #setEditorPluginClass(String)
606    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_EditorPluginClass()
607    * @model unsettable="true"
608    * @generated
609    */

610   String JavaDoc getEditorPluginClass();
611
612   /**
613    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorPluginClass <em>Editor Plugin Class</em>}' attribute.
614    * <!-- begin-user-doc -->
615    * <!-- end-user-doc -->
616    * @param value the new value of the '<em>Editor Plugin Class</em>' attribute.
617    * @see #isSetEditorPluginClass()
618    * @see #unsetEditorPluginClass()
619    * @see #getEditorPluginClass()
620    * @generated
621    */

622   void setEditorPluginClass(String JavaDoc value);
623
624   /**
625    * Unsets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorPluginClass <em>Editor Plugin Class</em>}' attribute.
626    * <!-- begin-user-doc -->
627    * <!-- end-user-doc -->
628    * @see #isSetEditorPluginClass()
629    * @see #getEditorPluginClass()
630    * @see #setEditorPluginClass(String)
631    * @generated
632    */

633   void unsetEditorPluginClass();
634
635   /**
636    * Returns whether the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getEditorPluginClass <em>Editor Plugin Class</em>}' attribute is set.
637    * <!-- begin-user-doc -->
638    * <!-- end-user-doc -->
639    * @return whether the value of the '<em>Editor Plugin Class</em>' attribute is set.
640    * @see #unsetEditorPluginClass()
641    * @see #getEditorPluginClass()
642    * @see #setEditorPluginClass(String)
643    * @generated
644    */

645   boolean isSetEditorPluginClass();
646
647   /**
648    * Returns the value of the '<em><b>Update Classpath</b></em>' attribute.
649    * The default value is <code>"true"</code>.
650    * <!-- begin-user-doc -->
651    * <p>
652    * If the meaning of the '<em>Update Classpath</em>' attribute isn't clear,
653    * there really should be more of a description here...
654    * </p>
655    * <!-- end-user-doc -->
656    * @return the value of the '<em>Update Classpath</em>' attribute.
657    * @see #setUpdateClasspath(boolean)
658    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_UpdateClasspath()
659    * @model default="true"
660    * @generated
661    */

662   boolean isUpdateClasspath();
663
664   /**
665    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isUpdateClasspath <em>Update Classpath</em>}' attribute.
666    * <!-- begin-user-doc -->
667    * <!-- end-user-doc -->
668    * @param value the new value of the '<em>Update Classpath</em>' attribute.
669    * @see #isUpdateClasspath()
670    * @generated
671    */

672   void setUpdateClasspath(boolean value);
673
674   /**
675    * Returns the value of the '<em><b>Generate Schema</b></em>' attribute.
676    * <!-- begin-user-doc -->
677    * <p>
678    * If the meaning of the '<em>Generate Schema</em>' attribute isn't clear,
679    * there really should be more of a description here...
680    * </p>
681    * <!-- end-user-doc -->
682    * @return the value of the '<em>Generate Schema</em>' attribute.
683    * @see #setGenerateSchema(boolean)
684    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_GenerateSchema()
685    * @model
686    * @generated
687    */

688   boolean isGenerateSchema();
689
690   /**
691    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isGenerateSchema <em>Generate Schema</em>}' attribute.
692    * <!-- begin-user-doc -->
693    * <!-- end-user-doc -->
694    * @param value the new value of the '<em>Generate Schema</em>' attribute.
695    * @see #isGenerateSchema()
696    * @generated
697    */

698   void setGenerateSchema(boolean value);
699
700   /**
701    * Returns the value of the '<em><b>Non NLS Markers</b></em>' attribute.
702    * The default value is <code>"false"</code>.
703    * <!-- begin-user-doc -->
704    * <!-- end-user-doc -->
705    * @return the value of the '<em>Non NLS Markers</em>' attribute.
706    * @see #setNonNLSMarkers(boolean)
707    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_NonNLSMarkers()
708    * @model default="false"
709    * @generated
710    */

711   boolean isNonNLSMarkers();
712
713   /**
714    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isNonNLSMarkers <em>Non NLS Markers</em>}' attribute.
715    * <!-- begin-user-doc -->
716    * <p>As a side effect, this method sets {@link #setNonExternalizedStringTag
717    * nonExternalizedStringTag} to <code>null</code>.
718    * </p>
719    * <!-- end-user-doc -->
720    * @param value the new value of the '<em>Non NLS Markers</em>' attribute.
721    * @see #isNonNLSMarkers()
722    * @generated
723    */

724   void setNonNLSMarkers(boolean value);
725
726   /**
727    * Returns the value of the '<em><b>Static Packages</b></em>' attribute list.
728    * The list contents are of type {@link java.lang.String}.
729    * <!-- begin-user-doc -->
730    * <p>
731    * If the meaning of the '<em>Static Packages</em>' attribute list isn't clear,
732    * there really should be more of a description here...
733    * </p>
734    * <!-- end-user-doc -->
735    * @return the value of the '<em>Static Packages</em>' attribute list.
736    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_StaticPackages()
737    * @model type="java.lang.String"
738    * @generated
739    */

740   EList getStaticPackages();
741
742   /**
743    * Returns the value of the '<em><b>Model Plugin Variables</b></em>' attribute list.
744    * The list contents are of type {@link java.lang.String}.
745    * <!-- begin-user-doc -->
746    * <p>
747    * If the meaning of the '<em>Model Plugin Variables</em>' attribute list isn't clear,
748    * there really should be more of a description here...
749    * </p>
750    * <!-- end-user-doc -->
751    * @return the value of the '<em>Model Plugin Variables</em>' attribute list.
752    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ModelPluginVariables()
753    * @model type="java.lang.String"
754    * @generated
755    */

756   EList getModelPluginVariables();
757
758   /**
759    * Returns the value of the '<em><b>Root Extends Interface</b></em>' attribute.
760    * The default value is <code>"org.eclipse.emf.ecore.EObject"</code>.
761    * <!-- begin-user-doc -->
762    * <p>
763    * If the meaning of the '<em>Root Extends Interface</em>' attribute isn't clear,
764    * there really should be more of a description here...
765    * </p>
766    * <!-- end-user-doc -->
767    * @return the value of the '<em>Root Extends Interface</em>' attribute.
768    * @see #setRootExtendsInterface(String)
769    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_RootExtendsInterface()
770    * @model default="org.eclipse.emf.ecore.EObject"
771    * @generated
772    */

773   String JavaDoc getRootExtendsInterface();
774
775   /**
776    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRootExtendsInterface <em>Root Extends Interface</em>}' attribute.
777    * <!-- begin-user-doc -->
778    * <!-- end-user-doc -->
779    * @param value the new value of the '<em>Root Extends Interface</em>' attribute.
780    * @see #getRootExtendsInterface()
781    * @generated
782    */

783   void setRootExtendsInterface(String JavaDoc value);
784
785   /**
786    * Returns the value of the '<em><b>Root Extends Class</b></em>' attribute.
787    * The default value is <code>"org.eclipse.emf.ecore.impl.EObjectImpl"</code>.
788    * <!-- begin-user-doc -->
789    * <p>
790    * If the meaning of the '<em>Root Extends Class</em>' attribute isn't clear,
791    * there really should be more of a description here...
792    * </p>
793    * <!-- end-user-doc -->
794    * @return the value of the '<em>Root Extends Class</em>' attribute.
795    * @see #setRootExtendsClass(String)
796    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_RootExtendsClass()
797    * @model default="org.eclipse.emf.ecore.impl.EObjectImpl"
798    * @generated
799    */

800   String JavaDoc getRootExtendsClass();
801
802   /**
803    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRootExtendsClass <em>Root Extends Class</em>}' attribute.
804    * <!-- begin-user-doc -->
805    * <!-- end-user-doc -->
806    * @param value the new value of the '<em>Root Extends Class</em>' attribute.
807    * @see #getRootExtendsClass()
808    * @generated
809    */

810   void setRootExtendsClass(String JavaDoc value);
811
812   /**
813    * Returns the value of the '<em><b>Root Implements Interface</b></em>' attribute.
814    * <!-- begin-user-doc -->
815    * <p>
816    * If the meaning of the '<em>Root Implements Interface</em>' attribute isn't clear,
817    * there really should be more of a description here...
818    * </p>
819    * <!-- end-user-doc -->
820    * @return the value of the '<em>Root Implements Interface</em>' attribute.
821    * @see #setRootImplementsInterface(String)
822    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_RootImplementsInterface()
823    * @model
824    * @generated
825    */

826   String JavaDoc getRootImplementsInterface();
827
828   GenClass getRootImplementsInterfaceGenClass();
829
830
831   /**
832    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getRootImplementsInterface <em>Root Implements Interface</em>}' attribute.
833    * <!-- begin-user-doc -->
834    * <!-- end-user-doc -->
835    * @param value the new value of the '<em>Root Implements Interface</em>' attribute.
836    * @see #getRootImplementsInterface()
837    * @generated
838    */

839   void setRootImplementsInterface(String JavaDoc value);
840
841   /**
842    * Returns the value of the '<em><b>Suppress EMF Types</b></em>' attribute.
843    * <!-- begin-user-doc -->
844    * <p>
845    * If the meaning of the '<em>Suppress EMF Types</em>' attribute isn't clear,
846    * there really should be more of a description here...
847    * </p>
848    * <!-- end-user-doc -->
849    * @return the value of the '<em>Suppress EMF Types</em>' attribute.
850    * @see #setSuppressEMFTypes(boolean)
851    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_SuppressEMFTypes()
852    * @model
853    * @generated
854    */

855   boolean isSuppressEMFTypes();
856
857   /**
858    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isSuppressEMFTypes <em>Suppress EMF Types</em>}' attribute.
859    * <!-- begin-user-doc -->
860    * <!-- end-user-doc -->
861    * @param value the new value of the '<em>Suppress EMF Types</em>' attribute.
862    * @see #isSuppressEMFTypes()
863    * @generated
864    */

865   void setSuppressEMFTypes(boolean value);
866
867   /**
868    * Returns the value of the '<em><b>Feature Map Wrapper Interface</b></em>' attribute.
869    * <!-- begin-user-doc -->
870    * <p>
871    * If the meaning of the '<em>Feature Map Wrapper Interface</em>' attribute isn't clear,
872    * there really should be more of a description here...
873    * </p>
874    * <!-- end-user-doc -->
875    * @return the value of the '<em>Feature Map Wrapper Interface</em>' attribute.
876    * @see #setFeatureMapWrapperInterface(String)
877    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_FeatureMapWrapperInterface()
878    * @model
879    * @generated
880    */

881   String JavaDoc getFeatureMapWrapperInterface();
882
883   /**
884    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getFeatureMapWrapperInterface <em>Feature Map Wrapper Interface</em>}' attribute.
885    * <!-- begin-user-doc -->
886    * <!-- end-user-doc -->
887    * @param value the new value of the '<em>Feature Map Wrapper Interface</em>' attribute.
888    * @see #getFeatureMapWrapperInterface()
889    * @generated
890    */

891   void setFeatureMapWrapperInterface(String JavaDoc value);
892
893   /**
894    * Returns the value of the '<em><b>Feature Map Wrapper Internal Interface</b></em>' attribute.
895    * <!-- begin-user-doc -->
896    * <p>
897    * If the meaning of the '<em>Feature Map Wrapper Internal Interface</em>' attribute isn't clear,
898    * there really should be more of a description here...
899    * </p>
900    * <!-- end-user-doc -->
901    * @return the value of the '<em>Feature Map Wrapper Internal Interface</em>' attribute.
902    * @see #setFeatureMapWrapperInternalInterface(String)
903    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_FeatureMapWrapperInternalInterface()
904    * @model
905    * @generated
906    */

907   String JavaDoc getFeatureMapWrapperInternalInterface();
908
909   /**
910    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getFeatureMapWrapperInternalInterface <em>Feature Map Wrapper Internal Interface</em>}' attribute.
911    * <!-- begin-user-doc -->
912    * <!-- end-user-doc -->
913    * @param value the new value of the '<em>Feature Map Wrapper Internal Interface</em>' attribute.
914    * @see #getFeatureMapWrapperInternalInterface()
915    * @generated
916    */

917   void setFeatureMapWrapperInternalInterface(String JavaDoc value);
918
919   /**
920    * Returns the value of the '<em><b>Feature Map Wrapper Class</b></em>' attribute.
921    * <!-- begin-user-doc -->
922    * <p>
923    * If the meaning of the '<em>Feature Map Wrapper Class</em>' attribute isn't clear,
924    * there really should be more of a description here...
925    * </p>
926    * <!-- end-user-doc -->
927    * @return the value of the '<em>Feature Map Wrapper Class</em>' attribute.
928    * @see #setFeatureMapWrapperClass(String)
929    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_FeatureMapWrapperClass()
930    * @model
931    * @generated
932    */

933   String JavaDoc getFeatureMapWrapperClass();
934
935   /**
936    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getFeatureMapWrapperClass <em>Feature Map Wrapper Class</em>}' attribute.
937    * <!-- begin-user-doc -->
938    * <!-- end-user-doc -->
939    * @param value the new value of the '<em>Feature Map Wrapper Class</em>' attribute.
940    * @see #getFeatureMapWrapperClass()
941    * @generated
942    */

943   void setFeatureMapWrapperClass(String JavaDoc value);
944
945   /**
946    * Returns the value of the '<em><b>Runtime Compatibility</b></em>' attribute.
947    * <!-- begin-user-doc -->
948    * <p>
949    * If the meaning of the '<em>Runtime Compatibility</em>' attribute isn't clear,
950    * there really should be more of a description here...
951    * </p>
952    * <!-- end-user-doc -->
953    * @return the value of the '<em>Runtime Compatibility</em>' attribute.
954    * @see #setRuntimeCompatibility(boolean)
955    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_RuntimeCompatibility()
956    * @model
957    * @generated
958    */

959   boolean isRuntimeCompatibility();
960
961   /**
962    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isRuntimeCompatibility <em>Runtime Compatibility</em>}' attribute.
963    * <!-- begin-user-doc -->
964    * <!-- end-user-doc -->
965    * @param value the new value of the '<em>Runtime Compatibility</em>' attribute.
966    * @see #isRuntimeCompatibility()
967    * @generated
968    */

969   void setRuntimeCompatibility(boolean value);
970
971   /**
972    * Returns the value of the '<em><b>Rich Client Platform</b></em>' attribute.
973    * <!-- begin-user-doc -->
974    * <p>
975    * If the meaning of the '<em>Rich Client Platform</em>' attribute isn't clear,
976    * there really should be more of a description here...
977    * </p>
978    * <!-- end-user-doc -->
979    * @return the value of the '<em>Rich Client Platform</em>' attribute.
980    * @see #setRichClientPlatform(boolean)
981    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_RichClientPlatform()
982    * @model
983    * @generated
984    */

985   boolean isRichClientPlatform();
986
987   /**
988    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isRichClientPlatform <em>Rich Client Platform</em>}' attribute.
989    * <!-- begin-user-doc -->
990    * <!-- end-user-doc -->
991    * @param value the new value of the '<em>Rich Client Platform</em>' attribute.
992    * @see #isRichClientPlatform()
993    * @generated
994    */

995   void setRichClientPlatform(boolean value);
996
997   /**
998    * Returns the value of the '<em><b>Reflective Delegation</b></em>' attribute.
999    * <!-- begin-user-doc -->
1000   * <p>
1001   * If the meaning of the '<em>Reflective Delegation</em>' attribute isn't clear,
1002   * there really should be more of a description here...
1003   * </p>
1004   * <!-- end-user-doc -->
1005   * @return the value of the '<em>Reflective Delegation</em>' attribute.
1006   * @see #setReflectiveDelegation(boolean)
1007   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ReflectiveDelegation()
1008   * @model
1009   * @generated
1010   */

1011  boolean isReflectiveDelegation();
1012
1013  /**
1014   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isReflectiveDelegation <em>Reflective Delegation</em>}' attribute.
1015   * <!-- begin-user-doc -->
1016   * <!-- end-user-doc -->
1017   * @param value the new value of the '<em>Reflective Delegation</em>' attribute.
1018   * @see #isReflectiveDelegation()
1019   * @generated
1020   */

1021  void setReflectiveDelegation(boolean value);
1022
1023  /**
1024   * Returns the value of the '<em><b>Code Formatting</b></em>' attribute.
1025   * <!-- begin-user-doc -->
1026   * <p>
1027   * If the meaning of the '<em>Code Formatting</em>' attribute isn't clear,
1028   * there really should be more of a description here...
1029   * </p>
1030   * <!-- end-user-doc -->
1031   * @return the value of the '<em>Code Formatting</em>' attribute.
1032   * @see #setCodeFormatting(boolean)
1033   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_CodeFormatting()
1034   * @model
1035   * @generated
1036   */

1037  boolean isCodeFormatting();
1038
1039  /**
1040   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isCodeFormatting <em>Code Formatting</em>}' attribute.
1041   * <!-- begin-user-doc -->
1042   * <!-- end-user-doc -->
1043   * @param value the new value of the '<em>Code Formatting</em>' attribute.
1044   * @see #isCodeFormatting()
1045   * @generated
1046   */

1047  void setCodeFormatting(boolean value);
1048
1049  /**
1050   * Returns the value of the '<em><b>Tests Directory</b></em>' attribute.
1051   * <!-- begin-user-doc -->
1052   * <p>
1053   * By default, this attribute is set to null. When unset, it takes a default value based on {@link modelDirectory #getModelDirectory}.
1054   * </p>
1055   * <!-- end-user-doc -->
1056   * @return the value of the '<em>Tests Directory</em>' attribute.
1057   * @see #isSetTestsDirectory()
1058   * @see #unsetTestsDirectory()
1059   * @see #setTestsDirectory(String)
1060   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_TestsDirectory()
1061   * @model unsettable="true"
1062   * @generated
1063   */

1064  String JavaDoc getTestsDirectory();
1065
1066  /**
1067   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestsDirectory <em>Tests Directory</em>}' attribute.
1068   * <!-- begin-user-doc -->
1069   * <!-- end-user-doc -->
1070   * @param value the new value of the '<em>Tests Directory</em>' attribute.
1071   * @see #isSetTestsDirectory()
1072   * @see #unsetTestsDirectory()
1073   * @see #getTestsDirectory()
1074   * @generated
1075   */

1076  void setTestsDirectory(String JavaDoc value);
1077
1078  /**
1079   * Unsets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestsDirectory <em>Tests Directory</em>}' attribute.
1080   * <!-- begin-user-doc -->
1081   * <!-- end-user-doc -->
1082   * @see #isSetTestsDirectory()
1083   * @see #getTestsDirectory()
1084   * @see #setTestsDirectory(String)
1085   * @generated
1086   */

1087  void unsetTestsDirectory();
1088
1089  /**
1090   * Returns whether the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestsDirectory <em>Tests Directory</em>}' attribute is set.
1091   * <!-- begin-user-doc -->
1092   * <!-- end-user-doc -->
1093   * @return whether the value of the '<em>Tests Directory</em>' attribute is set.
1094   * @see #unsetTestsDirectory()
1095   * @see #getTestsDirectory()
1096   * @see #setTestsDirectory(String)
1097   * @generated
1098   */

1099  boolean isSetTestsDirectory();
1100
1101  /**
1102   * Returns the value of the '<em><b>Test Suite Class</b></em>' attribute.
1103   * <!-- begin-user-doc -->
1104   * <p>
1105   * When unset, this attribute takes a default value based on {@link modelName #getModelName},
1106   * and the first of the {@link genPackages #getGenPackages}.
1107   * </p>
1108   * <!-- end-user-doc -->
1109   * @return the value of the '<em>Test Suite Class</em>' attribute.
1110   * @see #isSetTestSuiteClass()
1111   * @see #unsetTestSuiteClass()
1112   * @see #setTestSuiteClass(String)
1113   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_TestSuiteClass()
1114   * @model unsettable="true"
1115   * @generated
1116   */

1117  String JavaDoc getTestSuiteClass();
1118
1119  /**
1120   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestSuiteClass <em>Test Suite Class</em>}' attribute.
1121   * <!-- begin-user-doc -->
1122   * <!-- end-user-doc -->
1123   * @param value the new value of the '<em>Test Suite Class</em>' attribute.
1124   * @see #isSetTestSuiteClass()
1125   * @see #unsetTestSuiteClass()
1126   * @see #getTestSuiteClass()
1127   * @generated
1128   */

1129  void setTestSuiteClass(String JavaDoc value);
1130
1131  /**
1132   * Unsets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestSuiteClass <em>Test Suite Class</em>}' attribute.
1133   * <!-- begin-user-doc -->
1134   * <!-- end-user-doc -->
1135   * @see #isSetTestSuiteClass()
1136   * @see #getTestSuiteClass()
1137   * @see #setTestSuiteClass(String)
1138   * @generated
1139   */

1140  void unsetTestSuiteClass();
1141
1142  /**
1143   * Returns whether the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getTestSuiteClass <em>Test Suite Class</em>}' attribute is set.
1144   * <!-- begin-user-doc -->
1145   * <!-- end-user-doc -->
1146   * @return whether the value of the '<em>Test Suite Class</em>' attribute is set.
1147   * @see #unsetTestSuiteClass()
1148   * @see #getTestSuiteClass()
1149   * @see #setTestSuiteClass(String)
1150   * @generated
1151   */

1152  boolean isSetTestSuiteClass();
1153
1154  /**
1155   * Returns the value of the '<em><b>Boolean Flags Field</b></em>' attribute.
1156   * <!-- begin-user-doc -->
1157   * <p>
1158   * If the meaning of the '<em>Boolean Flags Field</em>' attribute isn't clear,
1159   * there really should be more of a description here...
1160   * </p>
1161   * <!-- end-user-doc -->
1162   * @return the value of the '<em>Boolean Flags Field</em>' attribute.
1163   * @see #setBooleanFlagsField(String)
1164   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_BooleanFlagsField()
1165   * @model
1166   * @generated
1167   */

1168  String JavaDoc getBooleanFlagsField();
1169
1170  /**
1171   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getBooleanFlagsField <em>Boolean Flags Field</em>}' attribute.
1172   * <!-- begin-user-doc -->
1173   * <!-- end-user-doc -->
1174   * @param value the new value of the '<em>Boolean Flags Field</em>' attribute.
1175   * @see #getBooleanFlagsField()
1176   * @generated
1177   */

1178  void setBooleanFlagsField(String JavaDoc value);
1179
1180  /**
1181   * Returns the value of the '<em><b>Boolean Flags Reserved Bits</b></em>' attribute.
1182   * The default value is <code>"-1"</code>.
1183   * <!-- begin-user-doc -->
1184   * <p>
1185   * If the meaning of the '<em>Boolean Flags Reserved Bits</em>' attribute isn't clear,
1186   * there really should be more of a description here...
1187   * </p>
1188   * <!-- end-user-doc -->
1189   * @return the value of the '<em>Boolean Flags Reserved Bits</em>' attribute.
1190   * @see #setBooleanFlagsReservedBits(int)
1191   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_BooleanFlagsReservedBits()
1192   * @model default="-1"
1193   * @generated
1194   */

1195  int getBooleanFlagsReservedBits();
1196
1197  /**
1198   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getBooleanFlagsReservedBits <em>Boolean Flags Reserved Bits</em>}' attribute.
1199   * <!-- begin-user-doc -->
1200   * <!-- end-user-doc -->
1201   * @param value the new value of the '<em>Boolean Flags Reserved Bits</em>' attribute.
1202   * @see #getBooleanFlagsReservedBits()
1203   * @generated
1204   */

1205  void setBooleanFlagsReservedBits(int value);
1206
1207  /**
1208   * Returns the value of the '<em><b>Importer ID</b></em>' attribute.
1209   * <!-- begin-user-doc -->
1210   * <p>
1211   * If the meaning of the '<em>Importer ID</em>' attribute isn't clear,
1212   * there really should be more of a description here...
1213   * </p>
1214   * <!-- end-user-doc -->
1215   * @return the value of the '<em>Importer ID</em>' attribute.
1216   * @see #setImporterID(String)
1217   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_ImporterID()
1218   * @model
1219   * @generated
1220   */

1221  String JavaDoc getImporterID();
1222
1223  /**
1224   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getImporterID <em>Importer ID</em>}' attribute.
1225   * <!-- begin-user-doc -->
1226   * <!-- end-user-doc -->
1227   * @param value the new value of the '<em>Importer ID</em>' attribute.
1228   * @see #getImporterID()
1229   * @generated
1230   */

1231  void setImporterID(String JavaDoc value);
1232
1233  /**
1234   * Returns the value of the '<em><b>Bundle Manifest</b></em>' attribute.
1235   * The default value is <code>"true"</code>.
1236   * <!-- begin-user-doc -->
1237   * <p>
1238   * If the meaning of the '<em>Bundle Manifest</em>' attribute isn't clear,
1239   * there really should be more of a description here...
1240   * </p>
1241   * <!-- end-user-doc -->
1242   * @return the value of the '<em>Bundle Manifest</em>' attribute.
1243   * @see #setBundleManifest(boolean)
1244   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_BundleManifest()
1245   * @model default="true"
1246   * @generated
1247   */

1248  boolean isBundleManifest();
1249
1250  /**
1251   * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#isBundleManifest <em>Bundle Manifest</em>}' attribute.
1252   * <!-- begin-user-doc -->
1253   * <!-- end-user-doc -->
1254   * @param value the new value of the '<em>Bundle Manifest</em>' attribute.
1255   * @see #isBundleManifest()
1256   * @generated
1257   */

1258  void setBundleManifest(boolean value);
1259
1260  /**
1261   * Returns the value of the '<em><b>Gen Packages</b></em>' containment reference list.
1262   * The list contents are of type {@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage}.
1263   * It is bidirectional and its opposite is '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenModel <em>Gen Model</em>}'.
1264   * <!-- begin-user-doc -->
1265   * <p>
1266   * If the meaning of the '<em>Gen Packages</em>' reference list isn't clear,
1267   * there really should be more of a description here...
1268   * </p>
1269   * <!-- end-user-doc -->
1270   * @return the value of the '<em>Gen Packages</em>' containment reference list.
1271   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_GenPackages()
1272   * @see org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenModel
1273   * @model type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage" opposite="genModel" containment="true"
1274   * @generated
1275   */

1276  EList getGenPackages();
1277
1278  /**
1279   * Returns the value of the '<em><b>Used Gen Packages</b></em>' reference list.
1280   * The list contents are of type {@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage}.
1281   * <!-- begin-user-doc -->
1282   * <p>
1283   * If the meaning of the '<em>Used Gen Packages</em>' reference list isn't clear,
1284   * there really should be more of a description here...
1285   * </p>
1286   * <!-- end-user-doc -->
1287   * @return the value of the '<em>Used Gen Packages</em>' reference list.
1288   * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenModel_UsedGenPackages()
1289   * @model type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"
1290   * @generated
1291   */

1292  EList getUsedGenPackages();
1293
1294  EList getStaticGenPackages();
1295
1296  void initialize(Collection JavaDoc ePackages);
1297
1298  String JavaDoc getDriverNumber();
1299  String JavaDoc getDate();
1300
1301  String JavaDoc getNonNLS();
1302  String JavaDoc getNonNLS(int i);
1303  String JavaDoc getNonNLS(String JavaDoc s);
1304  String JavaDoc getNonNLS(String JavaDoc s, int i);
1305
1306  void markImportLocation(StringBuffer JavaDoc stringBuffer);
1307  void markImportLocation(StringBuffer JavaDoc stringBuffer, GenPackage genPackage);
1308  void emitSortedImports();
1309  String JavaDoc getIndentation(StringBuffer JavaDoc stringBuffer);
1310
1311  String JavaDoc getImportedName(String JavaDoc qualifiedName);
1312  void addImport(String JavaDoc qualifiedName);
1313  void addPseudoImport(String JavaDoc qualifiedName);
1314
1315  JControlModel getJControlModel();
1316
1317  JETEmitter getInterfaceEmitter();
1318  JETEmitter getClassEmitter();
1319  JETEmitter getEnumClassEmitter();
1320  JETEmitter getFactoryInterfaceEmitter();
1321  JETEmitter getFactoryClassEmitter();
1322  JETEmitter getPackageInterfaceEmitter();
1323  JETEmitter getPackageClassEmitter();
1324  JETEmitter getAdapterFactoryClassEmitter();
1325  JETEmitter getSwitchClassEmitter();
1326  JETEmitter getValidatorClassEmitter();
1327  JETEmitter getPluginXMLEmitter();
1328  JETEmitter getManifestMFEmitter();
1329  JETEmitter getModelPluginClassEmitter();
1330  JETEmitter getResourceClassEmitter();
1331  JETEmitter getResourceFactoryClassEmitter();
1332  JETEmitter getBuildPropertiesEmitter();
1333
1334  //
1335
// EMF.Edit generation
1336
//
1337
boolean hasEditSupport();
1338
1339  JETEmitter getItemProviderEmitter();
1340  JETEmitter getItemProviderAdapterFactoryEmitter();
1341  JETEmitter getEditPluginClassEmitter();
1342  JETEmitter getEditPluginXMLEmitter();
1343  JETEmitter getEditManifestMFEmitter();
1344  JETEmitter getEditPluginPropertiesEmitter();
1345  JETEmitter getEditBuildPropertiesEmitter();
1346
1347  //
1348
// EMF.Editor generation
1349
//
1350
boolean hasEditorSupport();
1351
1352  JETEmitter getEditorEmitter();
1353  JETEmitter getActionBarContributorEmitter();
1354  JETEmitter getModelWizardEmitter();
1355  JETEmitter getEditorAdvisorEmitter();
1356  JETEmitter getEditorPluginClassEmitter();
1357  JETEmitter getEditorPluginXMLEmitter();
1358  JETEmitter getEditorManifestMFEmitter();
1359  JETEmitter getEditorPluginPropertiesEmitter();
1360  JETEmitter getEditorBuildPropertiesEmitter();
1361
1362  //
1363
// Tests generation
1364
//
1365
boolean hasTestSupport();
1366
1367  JETEmitter getTestCaseEmitter();
1368  JETEmitter getModelTestSuiteEmitter();
1369  JETEmitter getPackageTestSuiteEmitter();
1370  JETEmitter getPackageExampleEmitter();
1371  JETEmitter getTestsPluginXMLEmitter();
1372  JETEmitter getTestsManifestMFEmitter();
1373  JETEmitter getTestsPluginPropertiesEmitter();
1374  JETEmitter getTestsBuildPropertiesEmitter();
1375  
1376  // boolean isGenerateEditPlugin();
1377
// boolean isGenerateEditorPlugin();
1378

1379  String JavaDoc getModelProjectDirectory();
1380  String JavaDoc getEditProjectDirectory();
1381  String JavaDoc getEditorProjectDirectory();
1382  String JavaDoc getTestsProjectDirectory();
1383  
1384  boolean sameModelEditProject();
1385  boolean sameEditEditorProject();
1386  boolean sameModelEditorProject();
1387  boolean sameModelTestsProject();
1388
1389  String JavaDoc getEditIconsDirectory();
1390  String JavaDoc getEditorIconsDirectory();
1391
1392  void setCanGenerate(boolean canGenerate);
1393
1394  GenPackage findGenPackage(EPackage ePackage);
1395
1396  List JavaDoc getAllGenPackagesWithClassifiers();
1397  List JavaDoc getAllUsedGenPackagesWithClassifiers();
1398  List JavaDoc getAllGenAndUsedGenPackagesWithClassifiers();
1399  List JavaDoc getAllGenUsedAndStaticGenPackagesWithClassifiers();
1400
1401  boolean hasModelPluginClass();
1402  boolean hasPluginSupport();
1403
1404  String JavaDoc getModelPluginClassName();
1405  String JavaDoc getModelPluginPackageName();
1406  String JavaDoc getQualifiedModelPluginClassName();
1407
1408  String JavaDoc getEditPluginClassName();
1409  String JavaDoc getEditPluginPackageName();
1410  String JavaDoc getQualifiedEditPluginClassName();
1411
1412  String JavaDoc getEditorPluginClassName();
1413  String JavaDoc getEditorPluginPackageName();
1414  String JavaDoc getEditorAdvisorClassName();
1415  String JavaDoc getQualifiedEditorPluginClassName();
1416  String JavaDoc getQualifiedEditorAdvisorClassName();
1417
1418  String JavaDoc getTestSuiteClassName();
1419  String JavaDoc getTestSuitePackageName();
1420  String JavaDoc getQualifiedTestSuiteClassName();
1421  
1422  String JavaDoc getEditPluginID();
1423  String JavaDoc getEditorPluginID();
1424  String JavaDoc getTestsPluginID();
1425
1426  List JavaDoc getModelQualifiedPackageNames();
1427  List JavaDoc getModelRequiredPlugins();
1428  List JavaDoc getEditQualifiedPackageNames();
1429  List JavaDoc getEditRequiredPlugins();
1430  List JavaDoc getEditorQualifiedPackageNames();
1431  List JavaDoc getEditorRequiredPlugins();
1432  List JavaDoc getTestsQualifiedPackageNames();
1433  List JavaDoc getTestsRequiredPlugins();
1434
1435  List JavaDoc getEditResourceDelegateImportedPluginClassNames();
1436
1437  /**
1438   * Restore all the corresponding settings of the old version into this version.
1439   */

1440  boolean reconcile(GenModel oldGenModelVersion);
1441
1442  List JavaDoc getMissingPackages();
1443
1444  boolean hasXMLDependency();
1445
1446  IStatus validate();
1447
1448  String JavaDoc getXMLEncodingChoices();
1449
1450  List JavaDoc getEffectiveModelPluginVariables();
1451
1452  boolean needsRuntimeCompatibility();
1453  
1454  List JavaDoc/*of GenFeature*/ getAllGenFeatures();
1455  List JavaDoc/*of GenFeature*/ getFilteredAllGenFeatures(); // Filtered for property keys to remove duplicates.
1456

1457  /**
1458   * Set the code formatter options to be used to {@link #createCodeFormatter create} a new code formatter.
1459   */

1460  void setCodeFormatterOptions(Map JavaDoc options);
1461
1462  /**
1463   * Creates and returns a new JDT code formatter.
1464   */

1465  CodeFormatter createCodeFormatter();
1466
1467  boolean isBooleanFlagsEnabled();
1468
1469  GenModel createGenModel();
1470  GenPackage createGenPackage();
1471  GenClass createGenClass();
1472  GenFeature createGenFeature();
1473  GenEnum createGenEnum();
1474  GenEnumLiteral createGenEnumLiteral();
1475  GenDataType createGenDataType();
1476  GenOperation createGenOperation();
1477  GenParameter createGenParameter();
1478
1479  Set JavaDoc getPropertyCategories();
1480  
1481  boolean hasLocalGenModel();
1482  String JavaDoc getRelativeGenModelLocation();
1483  
1484  String JavaDoc getPropertyCategoryKey(String JavaDoc category);
1485
1486  ExtendedMetaData getExtendedMetaData();
1487  
1488  List JavaDoc computeMissingUsedGenPackages();
1489}
1490
Popular Tags