KickJava   Java API By Example, From Geeks To Geeks.

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


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: GenPackage.java,v 1.17 2005/06/22 19:55:04 davidms Exp $
16  */

17 package org.eclipse.emf.codegen.ecore.genmodel;
18
19
20 import java.util.List JavaDoc;
21
22 import org.eclipse.emf.common.util.EList;
23 import org.eclipse.emf.ecore.EAnnotation;
24 import org.eclipse.emf.ecore.EPackage;
25
26
27 /**
28  * <!-- begin-user-doc -->
29  * A representation of the model object '<em><b>Gen Package</b></em>'.
30  * <!-- end-user-doc -->
31  *
32  * <p>
33  * The following features are supported:
34  * <ul>
35  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getPrefix <em>Prefix</em>}</li>
36  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getBasePackage <em>Base Package</em>}</li>
37  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getResource <em>Resource</em>}</li>
38  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isDisposableProviderFactory <em>Disposable Provider Factory</em>}</li>
39  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isAdapterFactory <em>Adapter Factory</em>}</li>
40  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isLoadInitialization <em>Load Initialization</em>}</li>
41  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getInterfacePackageSuffix <em>Interface Package Suffix</em>}</li>
42  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getClassPackageSuffix <em>Class Package Suffix</em>}</li>
43  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getUtilityPackageSuffix <em>Utility Package Suffix</em>}</li>
44  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getProviderPackageSuffix <em>Provider Package Suffix</em>}</li>
45  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getPresentationPackageSuffix <em>Presentation Package Suffix</em>}</li>
46  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getTestsPackageSuffix <em>Tests Package Suffix</em>}</li>
47  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isGenerateExampleClass <em>Generate Example Class</em>}</li>
48  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getEcorePackage <em>Ecore Package</em>}</li>
49  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenModel <em>Gen Model</em>}</li>
50  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenEnums <em>Gen Enums</em>}</li>
51  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenDataTypes <em>Gen Data Types</em>}</li>
52  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenClasses <em>Gen Classes</em>}</li>
53  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getNestedGenPackages <em>Nested Gen Packages</em>}</li>
54  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenClassifiers <em>Gen Classifiers</em>}</li>
55  * </ul>
56  * </p>
57  *
58  * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage()
59  * @model
60  * @generated
61  */

62 public interface GenPackage extends GenBase{
63   /**
64    * Returns the value of the '<em><b>Prefix</b></em>' attribute.
65    * <!-- begin-user-doc -->
66    * <p>
67    * If the meaning of the '<em>Prefix</em>' attribute isn't clear,
68    * there really should be more of a description here...
69    * </p>
70    * <!-- end-user-doc -->
71    * @return the value of the '<em>Prefix</em>' attribute.
72    * @see #setPrefix(String)
73    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_Prefix()
74    * @model
75    * @generated
76    */

77   String JavaDoc getPrefix();
78
79   /**
80    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getPrefix <em>Prefix</em>}' attribute.
81    * <!-- begin-user-doc -->
82    * <!-- end-user-doc -->
83    * @param value the new value of the '<em>Prefix</em>' attribute.
84    * @see #getPrefix()
85    * @generated
86    */

87   void setPrefix(String JavaDoc value);
88
89   /**
90    * Returns the value of the '<em><b>Base Package</b></em>' attribute.
91    * <!-- begin-user-doc -->
92    * <p>
93    * If the meaning of the '<em>Base Package</em>' attribute isn't clear,
94    * there really should be more of a description here...
95    * </p>
96    * <!-- end-user-doc -->
97    * @return the value of the '<em>Base Package</em>' attribute.
98    * @see #setBasePackage(String)
99    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_BasePackage()
100    * @model
101    * @generated
102    */

103   String JavaDoc getBasePackage();
104
105   /**
106    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getBasePackage <em>Base Package</em>}' attribute.
107    * <!-- begin-user-doc -->
108    * <!-- end-user-doc -->
109    * @param value the new value of the '<em>Base Package</em>' attribute.
110    * @see #getBasePackage()
111    * @generated
112    */

113   void setBasePackage(String JavaDoc value);
114
115   /**
116    * Returns the value of the '<em><b>Resource</b></em>' attribute.
117    * The literals are from the enumeration {@link org.eclipse.emf.codegen.ecore.genmodel.GenResourceKind}.
118    * <!-- begin-user-doc -->
119    * <p>
120    * If the meaning of the '<em>Resource</em>' attribute isn't clear,
121    * there really should be more of a description here...
122    * </p>
123    * <!-- end-user-doc -->
124    * @return the value of the '<em>Resource</em>' attribute.
125    * @see org.eclipse.emf.codegen.ecore.genmodel.GenResourceKind
126    * @see #setResource(GenResourceKind)
127    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_Resource()
128    * @model
129    * @generated
130    */

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

142   void setResource(GenResourceKind value);
143
144   /**
145    * Returns the value of the '<em><b>Disposable Provider Factory</b></em>' attribute.
146    * <!-- begin-user-doc -->
147    * <p>
148    * If the meaning of the '<em>Disposable Provider Factory</em>' attribute isn't clear,
149    * there really should be more of a description here...
150    * </p>
151    * <!-- end-user-doc -->
152    * @return the value of the '<em>Disposable Provider Factory</em>' attribute.
153    * @see #setDisposableProviderFactory(boolean)
154    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_DisposableProviderFactory()
155    * @model
156    * @generated
157    */

158   boolean isDisposableProviderFactory();
159
160   /**
161    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isDisposableProviderFactory <em>Disposable Provider Factory</em>}' attribute.
162    * <!-- begin-user-doc -->
163    * <!-- end-user-doc -->
164    * @param value the new value of the '<em>Disposable Provider Factory</em>' attribute.
165    * @see #isDisposableProviderFactory()
166    * @generated
167    */

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

185   boolean isAdapterFactory();
186
187   /**
188    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isAdapterFactory <em>Adapter Factory</em>}' attribute.
189    * <!-- begin-user-doc -->
190    * <!-- end-user-doc -->
191    * @param value the new value of the '<em>Adapter Factory</em>' attribute.
192    * @see #isAdapterFactory()
193    * @generated
194    */

195   void setAdapterFactory(boolean value);
196
197   /**
198    * Returns the value of the '<em><b>Load Initialization</b></em>' attribute.
199    * <!-- begin-user-doc -->
200    * <p>
201    * If true, the package meta-data will be initialized by loading it from a resource, instead of building it up programmatically.
202    * This should be used for large packasges, for which the generated code for building it would excede the 64k method limit.
203    * </p>
204    * <!-- end-user-doc -->
205    * @return the value of the '<em>Load Initialization</em>' attribute.
206    * @see #setLoadInitialization(boolean)
207    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_LoadInitialization()
208    * @model
209    * @generated
210    */

211   boolean isLoadInitialization();
212
213   /**
214    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isLoadInitialization <em>Load Initialization</em>}' attribute.
215    * <!-- begin-user-doc -->
216    * <!-- end-user-doc -->
217    * @param value the new value of the '<em>Load Initialization</em>' attribute.
218    * @see #isLoadInitialization()
219    * @generated
220    */

221   void setLoadInitialization(boolean value);
222
223   /**
224    * Returns the value of the '<em><b>Interface Package Suffix</b></em>' attribute.
225    * The default value is <code>""</code>.
226    * <!-- begin-user-doc -->
227    * <p>
228    * If the meaning of the '<em>Interface Package Suffix</em>' attribute isn't clear,
229    * there really should be more of a description here...
230    * </p>
231    * <!-- end-user-doc -->
232    * @return the value of the '<em>Interface Package Suffix</em>' attribute.
233    * @see #setInterfacePackageSuffix(String)
234    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_InterfacePackageSuffix()
235    * @model default=""
236    * @generated
237    */

238   String JavaDoc getInterfacePackageSuffix();
239
240   /**
241    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getInterfacePackageSuffix <em>Interface Package Suffix</em>}' attribute.
242    * <!-- begin-user-doc -->
243    * <!-- end-user-doc -->
244    * @param value the new value of the '<em>Interface Package Suffix</em>' attribute.
245    * @see #getInterfacePackageSuffix()
246    * @generated
247    */

248   void setInterfacePackageSuffix(String JavaDoc value);
249
250   /**
251    * Returns the value of the '<em><b>Class Package Suffix</b></em>' attribute.
252    * The default value is <code>"impl"</code>.
253    * <!-- begin-user-doc -->
254    * <p>
255    * If the meaning of the '<em>Class Package Suffix</em>' attribute isn't clear,
256    * there really should be more of a description here...
257    * </p>
258    * <!-- end-user-doc -->
259    * @return the value of the '<em>Class Package Suffix</em>' attribute.
260    * @see #setClassPackageSuffix(String)
261    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_ClassPackageSuffix()
262    * @model default="impl"
263    * @generated
264    */

265   String JavaDoc getClassPackageSuffix();
266
267   /**
268    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getClassPackageSuffix <em>Class Package Suffix</em>}' attribute.
269    * <!-- begin-user-doc -->
270    * <!-- end-user-doc -->
271    * @param value the new value of the '<em>Class Package Suffix</em>' attribute.
272    * @see #getClassPackageSuffix()
273    * @generated
274    */

275   void setClassPackageSuffix(String JavaDoc value);
276
277   /**
278    * Returns the value of the '<em><b>Utility Package Suffix</b></em>' attribute.
279    * The default value is <code>"util"</code>.
280    * <!-- begin-user-doc -->
281    * <p>
282    * If the meaning of the '<em>Utility Package Suffix</em>' attribute 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>Utility Package Suffix</em>' attribute.
287    * @see #setUtilityPackageSuffix(String)
288    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_UtilityPackageSuffix()
289    * @model default="util"
290    * @generated
291    */

292   String JavaDoc getUtilityPackageSuffix();
293
294   /**
295    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getUtilityPackageSuffix <em>Utility Package Suffix</em>}' attribute.
296    * <!-- begin-user-doc -->
297    * <!-- end-user-doc -->
298    * @param value the new value of the '<em>Utility Package Suffix</em>' attribute.
299    * @see #getUtilityPackageSuffix()
300    * @generated
301    */

302   void setUtilityPackageSuffix(String JavaDoc value);
303
304   /**
305    * Returns the value of the '<em><b>Provider Package Suffix</b></em>' attribute.
306    * The default value is <code>"provider"</code>.
307    * <!-- begin-user-doc -->
308    * <p>
309    * If the meaning of the '<em>Provider Package Suffix</em>' attribute isn't clear,
310    * there really should be more of a description here...
311    * </p>
312    * <!-- end-user-doc -->
313    * @return the value of the '<em>Provider Package Suffix</em>' attribute.
314    * @see #setProviderPackageSuffix(String)
315    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_ProviderPackageSuffix()
316    * @model default="provider"
317    * @generated
318    */

319   String JavaDoc getProviderPackageSuffix();
320
321   /**
322    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getProviderPackageSuffix <em>Provider Package Suffix</em>}' attribute.
323    * <!-- begin-user-doc -->
324    * <!-- end-user-doc -->
325    * @param value the new value of the '<em>Provider Package Suffix</em>' attribute.
326    * @see #getProviderPackageSuffix()
327    * @generated
328    */

329   void setProviderPackageSuffix(String JavaDoc value);
330
331   /**
332    * Returns the value of the '<em><b>Presentation Package Suffix</b></em>' attribute.
333    * The default value is <code>"presentation"</code>.
334    * <!-- begin-user-doc -->
335    * <p>
336    * If the meaning of the '<em>Presentation Package Suffix</em>' attribute isn't clear,
337    * there really should be more of a description here...
338    * </p>
339    * <!-- end-user-doc -->
340    * @return the value of the '<em>Presentation Package Suffix</em>' attribute.
341    * @see #setPresentationPackageSuffix(String)
342    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_PresentationPackageSuffix()
343    * @model default="presentation"
344    * @generated
345    */

346   String JavaDoc getPresentationPackageSuffix();
347
348   /**
349    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getPresentationPackageSuffix <em>Presentation Package Suffix</em>}' attribute.
350    * <!-- begin-user-doc -->
351    * <!-- end-user-doc -->
352    * @param value the new value of the '<em>Presentation Package Suffix</em>' attribute.
353    * @see #getPresentationPackageSuffix()
354    * @generated
355    */

356   void setPresentationPackageSuffix(String JavaDoc value);
357
358   /**
359    * Returns the value of the '<em><b>Tests Package Suffix</b></em>' attribute.
360    * The default value is <code>"tests"</code>.
361    * <!-- begin-user-doc -->
362    * <p>
363    * If the meaning of the '<em>Tests Package Suffix</em>' attribute isn't clear,
364    * there really should be more of a description here...
365    * </p>
366    * <!-- end-user-doc -->
367    * @return the value of the '<em>Tests Package Suffix</em>' attribute.
368    * @see #setTestsPackageSuffix(String)
369    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_TestsPackageSuffix()
370    * @model default="tests"
371    * @generated
372    */

373   String JavaDoc getTestsPackageSuffix();
374
375   /**
376    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getTestsPackageSuffix <em>Tests Package Suffix</em>}' attribute.
377    * <!-- begin-user-doc -->
378    * <!-- end-user-doc -->
379    * @param value the new value of the '<em>Tests Package Suffix</em>' attribute.
380    * @see #getTestsPackageSuffix()
381    * @generated
382    */

383   void setTestsPackageSuffix(String JavaDoc value);
384
385   /**
386    * Returns the value of the '<em><b>Generate Example Class</b></em>' attribute.
387    * The default value is <code>"true"</code>.
388    * <!-- begin-user-doc -->
389    * <p>
390    * If the meaning of the '<em>Generate Example Class</em>' attribute isn't clear,
391    * there really should be more of a description here...
392    * </p>
393    * <!-- end-user-doc -->
394    * @return the value of the '<em>Generate Example Class</em>' attribute.
395    * @see #setGenerateExampleClass(boolean)
396    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_GenerateExampleClass()
397    * @model default="true"
398    * @generated
399    */

400   boolean isGenerateExampleClass();
401
402   /**
403    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#isGenerateExampleClass <em>Generate Example Class</em>}' attribute.
404    * <!-- begin-user-doc -->
405    * <!-- end-user-doc -->
406    * @param value the new value of the '<em>Generate Example Class</em>' attribute.
407    * @see #isGenerateExampleClass()
408    * @generated
409    */

410   void setGenerateExampleClass(boolean value);
411
412   /**
413    * Returns the value of the '<em><b>Ecore Package</b></em>' reference.
414    * <!-- begin-user-doc -->
415    * <p>
416    * If the meaning of the '<em>Ecore Package</em>' reference isn't clear,
417    * there really should be more of a description here...
418    * </p>
419    * <!-- end-user-doc -->
420    * @return the value of the '<em>Ecore Package</em>' reference.
421    * @see #setEcorePackage(EPackage)
422    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_EcorePackage()
423    * @model required="true"
424    * @generated
425    */

426   EPackage getEcorePackage();
427
428   /**
429    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getEcorePackage <em>Ecore Package</em>}' reference.
430    * <!-- begin-user-doc -->
431    * <!-- end-user-doc -->
432    * @param value the new value of the '<em>Ecore Package</em>' reference.
433    * @see #getEcorePackage()
434    * @generated
435    */

436   void setEcorePackage(EPackage value);
437
438   /**
439    * Returns the value of the '<em><b>Gen Model</b></em>' container reference.
440    * It is bidirectional and its opposite is '{@link org.eclipse.emf.codegen.ecore.genmodel.GenModel#getGenPackages <em>Gen Packages</em>}'.
441    * <!-- begin-user-doc -->
442    * <p>
443    * If the meaning of the '<em>Gen Model</em>' reference isn't clear,
444    * there really should be more of a description here...
445    * </p>
446    * <!-- end-user-doc -->
447    * @return the value of the '<em>Gen Model</em>' container reference.
448    * @see #setGenModel(GenModel)
449    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_GenModel()
450    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModel#getGenPackages
451    * @model opposite="genPackages" required="true"
452    * @generated
453    */

454   GenModel getGenModel();
455
456   /**
457    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage#getGenModel <em>Gen Model</em>}' container reference.
458    * <!-- begin-user-doc -->
459    * <!-- end-user-doc -->
460    * @param value the new value of the '<em>Gen Model</em>' container reference.
461    * @see #getGenModel()
462    * @generated
463    */

464   void setGenModel(GenModel value);
465
466   /**
467    * Returns the value of the '<em><b>Gen Enums</b></em>' containment reference list.
468    * The list contents are of type {@link org.eclipse.emf.codegen.ecore.genmodel.GenEnum}.
469    * <!-- begin-user-doc -->
470    * <p>
471    * If the meaning of the '<em>Gen Enums</em>' reference list isn't clear,
472    * there really should be more of a description here...
473    * </p>
474    * <!-- end-user-doc -->
475    * @return the value of the '<em>Gen Enums</em>' containment reference list.
476    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_GenEnums()
477    * @model type="org.eclipse.emf.codegen.ecore.genmodel.GenEnum" containment="true"
478    * @generated
479    */

480   EList getGenEnums();
481
482   /**
483    * Returns the value of the '<em><b>Gen Data Types</b></em>' containment reference list.
484    * The list contents are of type {@link org.eclipse.emf.codegen.ecore.genmodel.GenDataType}.
485    * <!-- begin-user-doc -->
486    * <p>
487    * If the meaning of the '<em>Gen Data Types</em>' reference list isn't clear,
488    * there really should be more of a description here...
489    * </p>
490    * <!-- end-user-doc -->
491    * @return the value of the '<em>Gen Data Types</em>' containment reference list.
492    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_GenDataTypes()
493    * @model type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType" containment="true"
494    * @generated
495    */

496   EList getGenDataTypes();
497
498   /**
499    * Returns the value of the '<em><b>Gen Classes</b></em>' containment reference list.
500    * The list contents are of type {@link org.eclipse.emf.codegen.ecore.genmodel.GenClass}.
501    * <!-- begin-user-doc -->
502    * <p>
503    * If the meaning of the '<em>Gen Classes</em>' reference list isn't clear,
504    * there really should be more of a description here...
505    * </p>
506    * <!-- end-user-doc -->
507    * @return the value of the '<em>Gen Classes</em>' containment reference list.
508    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_GenClasses()
509    * @model type="org.eclipse.emf.codegen.ecore.genmodel.GenClass" containment="true"
510    * @generated
511    */

512   EList getGenClasses();
513
514   /**
515    * Returns the value of the '<em><b>Nested Gen Packages</b></em>' containment reference list.
516    * The list contents are of type {@link org.eclipse.emf.codegen.ecore.genmodel.GenPackage}.
517    * <!-- begin-user-doc -->
518    * <p>
519    * If the meaning of the '<em>Nested Gen Packages</em>' reference list 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>Nested Gen Packages</em>' containment reference list.
524    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_NestedGenPackages()
525    * @model type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage" containment="true"
526    * @generated
527    */

528   EList getNestedGenPackages();
529
530   /**
531    * Returns the value of the '<em><b>Gen Classifiers</b></em>' reference list.
532    * The list contents are of type {@link org.eclipse.emf.codegen.ecore.genmodel.GenClassifier}.
533    * It is bidirectional and its opposite is '{@link org.eclipse.emf.codegen.ecore.genmodel.GenClassifier#getGenPackage <em>Gen Package</em>}'.
534    * <!-- begin-user-doc -->
535    * <p>
536    * If the meaning of the '<em>Gen Meta Objects</em>' reference list isn't clear,
537    * there really should be more of a description here...
538    * </p>
539    * <!-- end-user-doc -->
540    * @return the value of the '<em>Gen Classifiers</em>' reference list.
541    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenPackage_GenClassifiers()
542    * @see org.eclipse.emf.codegen.ecore.genmodel.GenClassifier#getGenPackage
543    * @model type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier" opposite="genPackage" resolveProxies="false" transient="true" changeable="false" volatile="true"
544    * @generated
545    */

546   EList getGenClassifiers();
547
548   String JavaDoc getInterfacePackageName();
549   String JavaDoc getClassPackageName();
550   String JavaDoc getUtilitiesPackageName();
551   String JavaDoc getTestsPackageName();
552
553   // String getPackageID();
554
String JavaDoc getNSName();
555   String JavaDoc getNSURI();
556   String JavaDoc getPackageName();
557   String JavaDoc getQualifiedPackageName();
558
559   String JavaDoc getPackageInterfaceName();
560   String JavaDoc getQualifiedPackageInterfaceName();
561   String JavaDoc getImportedPackageInterfaceName();
562   String JavaDoc getUncapPackageInterfaceName();
563   String JavaDoc getPackageClassName();
564   String JavaDoc getQualifiedPackageClassName();
565   String JavaDoc getImportedPackageClassName();
566
567   String JavaDoc getFactoryInterfaceName();
568   String JavaDoc getQualifiedFactoryInterfaceName();
569   String JavaDoc getImportedFactoryInterfaceName();
570   String JavaDoc getUncapFactoryInterfaceName();
571   String JavaDoc getFactoryClassName();
572   String JavaDoc getQualifiedFactoryClassName();
573   String JavaDoc getImportedFactoryClassName();
574
575   String JavaDoc getAdapterFactoryClassName();
576   String JavaDoc getQualifiedAdapterFactoryClassName();
577   String JavaDoc getImportedAdapterFactoryClassName();
578   String JavaDoc getUncapAdapterFactoryClassName();
579
580   String JavaDoc getSwitchClassName();
581   String JavaDoc getValidatorClassName();
582   String JavaDoc getImportedValidatorClassName();
583   String JavaDoc getTestSuiteClassName();
584   String JavaDoc getExampleClassName();
585   String JavaDoc getQualifiedTestSuiteClassName();
586   String JavaDoc getImportedTestSuiteClassName();
587
588   List JavaDoc getAllGenDataTypes();
589
590   /**
591    * Returns the list of GenClasses in the GenPackage, ordered such that
592    * a class always follows all of the classes it extends. Appropriate
593    * for use in package interface to declare feature constants, which will
594    * depend on (and hence must follow) constants for the extended class.
595    */

596   List JavaDoc getOrderedGenClasses();
597   List JavaDoc getOrderedGenClassifiers();
598
599   String JavaDoc getClassifierID(GenClassifier genClassifier);
600   int getClassifierValue(GenClassifier genClassifier);
601   int getLocalClassifierIndex(GenClassifier genClassifier);
602
603   List JavaDoc /*of GenPackage*/ getPackageSimpleDependencies();
604   List JavaDoc /*of GenPackage*/ getPackageInterDependencies();
605   List JavaDoc /*of GenPackage*/ getPackageLoadInterDependencies();
606   List JavaDoc /*of GenPackage*/ getPackageBuildInterDependencies();
607   List JavaDoc /*of GenPackage*/ getPackageInitializationDependencies();
608   String JavaDoc getPackageInstanceVariable(GenPackage genPackage);
609
610   /**
611    * Returns a list of those nestedGenPackages for which hasClassifiers() is
612    * true.
613    */

614   List JavaDoc/*of GenPackage*/ getSubGenPackages();
615
616   /**
617    * Returns the closest GenPackage-typed container for which
618    * hasClassifiers() is true, or null if there is none.
619    */

620   GenPackage getSuperGenPackage();
621
622   /**
623    * Returns the top-most GenPackage-typed container for which
624    * hasClassifiers() is true, which may be this GenPackage, itself.
625    */

626   GenPackage getRootGenPackage();
627   
628   /**
629    * Returns true if this is a root package that requires, or has a direct or indirect subpackage that requires, load initialization.
630    */

631   boolean isLoadingInitialization();
632   
633   /**
634    * Returns true if this package's root, which may be itself, requires, or has a subpackage that requires, load initialization.
635    */

636   boolean isLoadedInitialization();
637   
638   boolean isEcorePackage();
639   boolean hasInterfaceImplConflict();
640   boolean hasJavaLangConflict();
641   List JavaDoc getJavaLangConflicts();
642   boolean hasClassifiers();
643   boolean hasClassifiers(boolean traverseNestedPackages);
644
645   List JavaDoc /*of GenClass*/ getAllSwitchGenClasses();
646   String JavaDoc getClassUniqueName(GenClass genClass);
647
648   List JavaDoc /*of GenPackage*/ getAllValidatorBaseGenPackages();
649   String JavaDoc getValidatorPackageUniqueSafeName(GenPackage genPackage);
650
651   void initialize(EPackage ePackage);
652
653   /**
654    * @deprecated Use {@link GenBase#generateSchema(IProgressMonitor)} instead. This
655    * method will be removed soon.
656    */

657   void generateSchema();
658   
659   //
660
// EMFEdit generation
661
//
662

663   String JavaDoc getProviderPackageName();
664   String JavaDoc getPresentationPackageName();
665
666   String JavaDoc getItemProviderAdapterFactoryClassName();
667   String JavaDoc getQualifiedItemProviderAdapterFactoryClassName();
668   String JavaDoc getImportedItemProviderAdapterFactoryClassName();
669   String JavaDoc getEditorClassName();
670   String JavaDoc getQualifiedEditorClassName();
671   String JavaDoc getImportedEditorClassName();
672   String JavaDoc getModelWizardClassName();
673   String JavaDoc getQualifiedModelWizardClassName();
674   String JavaDoc getImportedModelWizardClassName();
675   String JavaDoc getActionBarContributorClassName();
676   String JavaDoc getQualifiedActionBarContributorClassName();
677   String JavaDoc getImportedActionBarContributorClassName();
678
679   String JavaDoc getAdapterFactoryDelegateName(GenPackage genDelegate);
680   String JavaDoc getUncapAdapterFactoryDelegateName(GenPackage genDelegate);
681
682   String JavaDoc getEditPluginClassName();
683   String JavaDoc getQualifiedEditPluginClassName();
684   String JavaDoc getImportedEditPluginClassName();
685
686   String JavaDoc getEditorPluginClassName();
687   String JavaDoc getQualifiedEditorPluginClassName();
688   String JavaDoc getImportedEditorPluginClassName();
689
690   // String getCapPackageID();
691
List JavaDoc/*GenFeature*/ getAllGenFeatures(); // Includes features in other packages that delegate to those in this one.
692

693   List JavaDoc/*GenPackage*/ getAdapterDelegatePackages();
694   List JavaDoc/*GenClass*/ getAdapterDelegateSuperClasses();
695
696   boolean hasStatefulProvider();
697
698   String JavaDoc getModelInfo();
699
700   boolean reconcile(GenPackage oldGenPackageVersion);
701
702   List JavaDoc getAnnotationSources();
703   String JavaDoc getAnnotationSourceIdentifier(String JavaDoc annotationSource);
704   List JavaDoc getAllAnnotations();
705   String JavaDoc getAnnotatedModelElementAccessor(EAnnotation eAnnotation);
706
707   String JavaDoc getResourceClassName();
708   String JavaDoc getQualifiedResourceClassName();
709   String JavaDoc getImportedResourceClassName();
710   String JavaDoc getImportedResourceBaseClassName();
711
712   String JavaDoc getResourceFactoryClassName();
713   String JavaDoc getQualifiedResourceFactoryClassName();
714   String JavaDoc getImportedResourceFactoryClassName();
715   String JavaDoc getImportedResourceFactoryBaseClassName();
716
717   boolean hasXMLMap();
718   boolean hasDocumentRoot();
719   boolean hasExtendedMetaData();
720   boolean hasTargetNamespace();
721
722   boolean hasConstraints();
723
724   String JavaDoc getSerializedPackageFilename();
725   
726   List JavaDoc /*String*/ getProviderSupportedTypes();
727   
728   GenClass getRootClass();
729   GenFeature getRootFeature();
730   
731   boolean hasConcreteClasses();
732   
733   boolean hasTests();
734 }
735
Popular Tags