KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > EcoreFactory


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2004 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: EcoreFactory.java,v 1.2 2005/06/08 06:20:10 nickb Exp $
16  */

17 package org.eclipse.emf.ecore;
18
19
20
21 /**
22  * <!-- begin-user-doc -->
23  * The <b>Factory</b> for the model.
24  * It provides a create method for each non-abstract class of the model.
25  * <!-- end-user-doc -->
26  * @see org.eclipse.emf.ecore.EcorePackage
27  * @generated
28  */

29 public interface EcoreFactory extends EFactory
30 {
31   /**
32    * The singleton instance of the factory.
33    * @generated
34    */

35   EcoreFactory eINSTANCE = new org.eclipse.emf.ecore.impl.EcoreFactoryImpl();
36
37   /**
38    * Returns a new object of class '<em>EObject</em>'.
39    * <!-- begin-user-doc -->
40    * <!-- end-user-doc -->
41    * @return a new object of class '<em>EObject</em>'.
42    * @generated
43    */

44   EObject createEObject();
45
46   /**
47    * Returns a new object of class '<em>EAttribute</em>'.
48    * <!-- begin-user-doc -->
49    * <!-- end-user-doc -->
50    * @return a new object of class '<em>EAttribute</em>'.
51    * @generated
52    */

53   EAttribute createEAttribute();
54
55   /**
56    * Returns a new object of class '<em>EAnnotation</em>'.
57    * <!-- begin-user-doc -->
58    * <!-- end-user-doc -->
59    * @return a new object of class '<em>EAnnotation</em>'.
60    * @generated
61    */

62   EAnnotation createEAnnotation();
63
64   /**
65    * Returns a new object of class '<em>EClass</em>'.
66    * <!-- begin-user-doc -->
67    * <!-- end-user-doc -->
68    * @return a new object of class '<em>EClass</em>'.
69    * @generated
70    */

71   EClass createEClass();
72
73   /**
74    * Returns a new object of class '<em>EData Type</em>'.
75    * <!-- begin-user-doc -->
76    * <!-- end-user-doc -->
77    * @return a new object of class '<em>EData Type</em>'.
78    * @generated
79    */

80   EDataType createEDataType();
81
82   /**
83    * Returns a new object of class '<em>EParameter</em>'.
84    * <!-- begin-user-doc -->
85    * <!-- end-user-doc -->
86    * @return a new object of class '<em>EParameter</em>'.
87    * @generated
88    */

89   EParameter createEParameter();
90
91   /**
92    * Returns a new object of class '<em>EOperation</em>'.
93    * <!-- begin-user-doc -->
94    * <!-- end-user-doc -->
95    * @return a new object of class '<em>EOperation</em>'.
96    * @generated
97    */

98   EOperation createEOperation();
99
100   /**
101    * Returns a new object of class '<em>EPackage</em>'.
102    * <!-- begin-user-doc -->
103    * <!-- end-user-doc -->
104    * @return a new object of class '<em>EPackage</em>'.
105    * @generated
106    */

107   EPackage createEPackage();
108
109   /**
110    * Returns a new object of class '<em>EFactory</em>'.
111    * <!-- begin-user-doc -->
112    * <!-- end-user-doc -->
113    * @return a new object of class '<em>EFactory</em>'.
114    * @generated
115    */

116   EFactory createEFactory();
117
118   /**
119    * Returns a new object of class '<em>EEnum Literal</em>'.
120    * <!-- begin-user-doc -->
121    * <!-- end-user-doc -->
122    * @return a new object of class '<em>EEnum Literal</em>'.
123    * @generated
124    */

125   EEnumLiteral createEEnumLiteral();
126
127   /**
128    * Returns a new object of class '<em>EEnum</em>'.
129    * <!-- begin-user-doc -->
130    * <!-- end-user-doc -->
131    * @return a new object of class '<em>EEnum</em>'.
132    * @generated
133    */

134   EEnum createEEnum();
135
136   /**
137    * Returns a new object of class '<em>EReference</em>'.
138    * <!-- begin-user-doc -->
139    * <!-- end-user-doc -->
140    * @return a new object of class '<em>EReference</em>'.
141    * @generated
142    */

143   EReference createEReference();
144
145   /**
146    * Returns the package supported by this factory.
147    * <!-- begin-user-doc -->
148    * <!-- end-user-doc -->
149    * @return the package supported by this factory.
150    * @generated
151    */

152   EcorePackage getEcorePackage();
153
154 } //EcoreFactory
155
Popular Tags