KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > mapping > ecore2xml > Ecore2XMLPackage


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 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: Ecore2XMLPackage.java,v 1.3 2005/06/22 20:00:38 davidms Exp $
16  */

17 package org.eclipse.emf.mapping.ecore2xml;
18
19 import org.eclipse.emf.ecore.EAttribute;
20 import org.eclipse.emf.ecore.EClass;
21 import org.eclipse.emf.ecore.EPackage;
22 import org.eclipse.emf.ecore.EReference;
23
24 /**
25  * <!-- begin-user-doc -->
26  * The <b>Package</b> for the model.
27  * It contains accessors for the meta objects to represent
28  * <ul>
29  * <li>each class,</li>
30  * <li>each feature of each class,</li>
31  * <li>each enum,</li>
32  * <li>and each data type</li>
33  * </ul>
34  * <!-- end-user-doc -->
35  * @see org.eclipse.emf.mapping.ecore2xml.Ecore2XMLFactory
36  * @model kind="package"
37  * @generated
38  */

39 public interface Ecore2XMLPackage extends EPackage
40 {
41
42   /**
43    * The package name.
44    * <!-- begin-user-doc -->
45    * <!-- end-user-doc -->
46    * @generated
47    */

48   String JavaDoc eNAME = "ecore2xml"; //$NON-NLS-1$
49

50   /**
51    * The package namespace URI.
52    * <!-- begin-user-doc -->
53    * <!-- end-user-doc -->
54    * @generated
55    */

56   String JavaDoc eNS_URI = "http://www.eclipse.org/emf/2005/Ecore2XML"; //$NON-NLS-1$
57

58   /**
59    * The package namespace name.
60    * <!-- begin-user-doc -->
61    * <!-- end-user-doc -->
62    * @generated
63    */

64   String JavaDoc eNS_PREFIX = "ecore2xml"; //$NON-NLS-1$
65

66   /**
67    * The singleton instance of the package.
68    * <!-- begin-user-doc -->
69    * <!-- end-user-doc -->
70    * @generated
71    */

72   Ecore2XMLPackage eINSTANCE = org.eclipse.emf.mapping.ecore2xml.impl.Ecore2XMLPackageImpl.init();
73
74   /**
75    * The meta object id for the '{@link org.eclipse.emf.mapping.ecore2xml.impl.XMLInfoImpl <em>XML Info</em>}' class.
76    * <!-- begin-user-doc -->
77    * <!-- end-user-doc -->
78    * @see org.eclipse.emf.mapping.ecore2xml.impl.XMLInfoImpl
79    * @see org.eclipse.emf.mapping.ecore2xml.impl.Ecore2XMLPackageImpl#getXMLInfo()
80    * @generated
81    */

82   int XML_INFO = 0;
83
84   /**
85    * The feature id for the '<em><b>Name</b></em>' attribute.
86    * <!-- begin-user-doc -->
87    * <!-- end-user-doc -->
88    * @generated
89    * @ordered
90    */

91   int XML_INFO__NAME = 0;
92
93   /**
94    * The feature id for the '<em><b>Target Namespace</b></em>' attribute.
95    * <!-- begin-user-doc -->
96    * <!-- end-user-doc -->
97    * @generated
98    * @ordered
99    */

100   int XML_INFO__TARGET_NAMESPACE = 1;
101
102   /**
103    * The feature id for the '<em><b>XML Representation</b></em>' attribute.
104    * <!-- begin-user-doc -->
105    * <!-- end-user-doc -->
106    * @generated
107    * @ordered
108    */

109   int XML_INFO__XML_REPRESENTATION = 2;
110
111   /**
112    * The number of structural features of the the '<em>XML Info</em>' class.
113    * <!-- begin-user-doc -->
114    * <!-- end-user-doc -->
115    * @generated
116    * @ordered
117    */

118   int XML_INFO_FEATURE_COUNT = 3;
119
120   /**
121    * The meta object id for the '{@link org.eclipse.emf.mapping.ecore2xml.impl.XMLMapImpl <em>XML Map</em>}' class.
122    * <!-- begin-user-doc -->
123    * <!-- end-user-doc -->
124    * @see org.eclipse.emf.mapping.ecore2xml.impl.XMLMapImpl
125    * @see org.eclipse.emf.mapping.ecore2xml.impl.Ecore2XMLPackageImpl#getXMLMap()
126    * @generated
127    */

128   int XML_MAP = 1;
129
130   /**
131    * The feature id for the '<em><b>ID Attribute Name</b></em>' attribute.
132    * <!-- begin-user-doc -->
133    * <!-- end-user-doc -->
134    * @generated
135    * @ordered
136    */

137   int XML_MAP__IDATTRIBUTE_NAME = 0;
138
139   /**
140    * The feature id for the '<em><b>Ecore To XML Info</b></em>' map.
141    * <!-- begin-user-doc -->
142    * <!-- end-user-doc -->
143    * @generated
144    * @ordered
145    */

146   int XML_MAP__ECORE_TO_XML_INFO = 1;
147
148   /**
149    * The feature id for the '<em><b>No Namespace Package</b></em>' reference.
150    * <!-- begin-user-doc -->
151    * <!-- end-user-doc -->
152    * @generated
153    * @ordered
154    */

155   int XML_MAP__NO_NAMESPACE_PACKAGE = 2;
156
157   /**
158    * The number of structural features of the the '<em>XML Map</em>' class.
159    * <!-- begin-user-doc -->
160    * <!-- end-user-doc -->
161    * @generated
162    * @ordered
163    */

164   int XML_MAP_FEATURE_COUNT = 3;
165
166   /**
167    * The meta object id for the '{@link org.eclipse.emf.mapping.ecore2xml.impl.ENamedElementToXMLInfoMapEntryImpl <em>ENamed Element To XML Info Map Entry</em>}' class.
168    * <!-- begin-user-doc -->
169    * <!-- end-user-doc -->
170    * @see org.eclipse.emf.mapping.ecore2xml.impl.ENamedElementToXMLInfoMapEntryImpl
171    * @see org.eclipse.emf.mapping.ecore2xml.impl.Ecore2XMLPackageImpl#getENamedElementToXMLInfoMapEntry()
172    * @generated
173    */

174   int ENAMED_ELEMENT_TO_XML_INFO_MAP_ENTRY = 2;
175
176   /**
177    * The feature id for the '<em><b>Key</b></em>' reference.
178    * <!-- begin-user-doc -->
179    * <!-- end-user-doc -->
180    * @generated
181    * @ordered
182    */

183   int ENAMED_ELEMENT_TO_XML_INFO_MAP_ENTRY__KEY = 0;
184
185   /**
186    * The feature id for the '<em><b>Value</b></em>' containment reference.
187    * <!-- begin-user-doc -->
188    * <!-- end-user-doc -->
189    * @generated
190    * @ordered
191    */

192   int ENAMED_ELEMENT_TO_XML_INFO_MAP_ENTRY__VALUE = 1;
193
194   /**
195    * The number of structural features of the the '<em>ENamed Element To XML Info Map Entry</em>' class.
196    * <!-- begin-user-doc -->
197    * <!-- end-user-doc -->
198    * @generated
199    * @ordered
200    */

201   int ENAMED_ELEMENT_TO_XML_INFO_MAP_ENTRY_FEATURE_COUNT = 2;
202
203
204   /**
205    * Returns the meta object for class '{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo <em>XML Info</em>}'.
206    * <!-- begin-user-doc -->
207    * <!-- end-user-doc -->
208    * @return the meta object for class '<em>XML Info</em>'.
209    * @see org.eclipse.emf.mapping.ecore2xml.XMLInfo
210    * @generated
211    */

212   EClass getXMLInfo();
213
214   /**
215    * Returns the meta object for the attribute '{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getName <em>Name</em>}'.
216    * <!-- begin-user-doc -->
217    * <!-- end-user-doc -->
218    * @return the meta object for the attribute '<em>Name</em>'.
219    * @see org.eclipse.emf.mapping.ecore2xml.XMLInfo#getName()
220    * @see #getXMLInfo()
221    * @generated
222    */

223   EAttribute getXMLInfo_Name();
224
225   /**
226    * Returns the meta object for the attribute '{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getTargetNamespace <em>Target Namespace</em>}'.
227    * <!-- begin-user-doc -->
228    * <!-- end-user-doc -->
229    * @return the meta object for the attribute '<em>Target Namespace</em>'.
230    * @see org.eclipse.emf.mapping.ecore2xml.XMLInfo#getTargetNamespace()
231    * @see #getXMLInfo()
232    * @generated
233    */

234   EAttribute getXMLInfo_TargetNamespace();
235
236   /**
237    * Returns the meta object for the attribute '{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getXMLRepresentation <em>XML Representation</em>}'.
238    * <!-- begin-user-doc -->
239    * <!-- end-user-doc -->
240    * @return the meta object for the attribute '<em>XML Representation</em>'.
241    * @see org.eclipse.emf.mapping.ecore2xml.XMLInfo#getXMLRepresentation()
242    * @see #getXMLInfo()
243    * @generated
244    */

245   EAttribute getXMLInfo_XMLRepresentation();
246
247   /**
248    * Returns the meta object for class '{@link org.eclipse.emf.mapping.ecore2xml.XMLMap <em>XML Map</em>}'.
249    * <!-- begin-user-doc -->
250    * <!-- end-user-doc -->
251    * @return the meta object for class '<em>XML Map</em>'.
252    * @see org.eclipse.emf.mapping.ecore2xml.XMLMap
253    * @generated
254    */

255   EClass getXMLMap();
256
257   /**
258    * Returns the meta object for the attribute '{@link org.eclipse.emf.mapping.ecore2xml.XMLMap#getIDAttributeName <em>ID Attribute Name</em>}'.
259    * <!-- begin-user-doc -->
260    * <!-- end-user-doc -->
261    * @return the meta object for the attribute '<em>ID Attribute Name</em>'.
262    * @see org.eclipse.emf.mapping.ecore2xml.XMLMap#getIDAttributeName()
263    * @see #getXMLMap()
264    * @generated
265    */

266   EAttribute getXMLMap_IDAttributeName();
267
268   /**
269    * Returns the meta object for the map '{@link org.eclipse.emf.mapping.ecore2xml.XMLMap#getEcoreToXMLInfo <em>Ecore To XML Info</em>}'.
270    * <!-- begin-user-doc -->
271    * <!-- end-user-doc -->
272    * @return the meta object for the map '<em>Ecore To XML Info</em>'.
273    * @see org.eclipse.emf.mapping.ecore2xml.XMLMap#getEcoreToXMLInfo()
274    * @see #getXMLMap()
275    * @generated
276    */

277   EReference getXMLMap_EcoreToXMLInfo();
278
279   /**
280    * Returns the meta object for the reference '{@link org.eclipse.emf.mapping.ecore2xml.XMLMap#getNoNamespacePackage <em>No Namespace Package</em>}'.
281    * <!-- begin-user-doc -->
282    * <!-- end-user-doc -->
283    * @return the meta object for the reference '<em>No Namespace Package</em>'.
284    * @see org.eclipse.emf.mapping.ecore2xml.XMLMap#getNoNamespacePackage()
285    * @see #getXMLMap()
286    * @generated
287    */

288   EReference getXMLMap_NoNamespacePackage();
289
290   /**
291    * Returns the meta object for class '{@link java.util.Map.Entry <em>ENamed Element To XML Info Map Entry</em>}'.
292    * <!-- begin-user-doc -->
293    * <!-- end-user-doc -->
294    * @return the meta object for class '<em>ENamed Element To XML Info Map Entry</em>'.
295    * @see java.util.Map.Entry
296    * @model keyType="org.eclipse.emf.ecore.ENamedElement" keyRequired="true"
297    * valueType="org.eclipse.emf.mapping.ecore2xml.XMLInfo" valueContainment="true" valueRequired="true"
298    * @generated
299    */

300   EClass getENamedElementToXMLInfoMapEntry();
301
302   /**
303    * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Key</em>}'.
304    * <!-- begin-user-doc -->
305    * <!-- end-user-doc -->
306    * @return the meta object for the reference '<em>Key</em>'.
307    * @see java.util.Map.Entry
308    * @see #getENamedElementToXMLInfoMapEntry()
309    * @generated
310    */

311   EReference getENamedElementToXMLInfoMapEntry_Key();
312
313   /**
314    * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Value</em>}'.
315    * <!-- begin-user-doc -->
316    * <!-- end-user-doc -->
317    * @return the meta object for the containment reference '<em>Value</em>'.
318    * @see java.util.Map.Entry
319    * @see #getENamedElementToXMLInfoMapEntry()
320    * @generated
321    */

322   EReference getENamedElementToXMLInfoMapEntry_Value();
323
324   /**
325    * Returns the factory that creates the instances of the model.
326    * <!-- begin-user-doc -->
327    * <!-- end-user-doc -->
328    * @return the factory that creates the instances of the model.
329    * @generated
330    */

331   Ecore2XMLFactory getEcore2XMLFactory();
332
333 } //Ecore2XMLPackage
334
Popular Tags