KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > edit > tree > TreePackage


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: TreePackage.java,v 1.3 2005/06/22 20:00:39 davidms Exp $
16  */

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

40 public interface TreePackage extends EPackage
41 {
42
43   /**
44    * The package name.
45    * @generated
46    */

47   String JavaDoc eNAME = "tree";
48
49   /**
50    * The package namespace URI.
51    * @generated
52    */

53   String JavaDoc eNS_URI = "http://www.eclipse.org/emf/2002/Tree";
54
55   /**
56    * The package namespace name.
57    * @generated
58    */

59   String JavaDoc eNS_PREFIX = "tree";
60
61   /**
62    * The singleton instance of the package.
63    * @generated
64    */

65   TreePackage eINSTANCE = org.eclipse.emf.edit.tree.impl.TreePackageImpl.init();
66
67   /**
68    * The meta object id for the '{@link org.eclipse.emf.edit.tree.impl.TreeNodeImpl <em>Node</em>}' class.
69    * <!-- begin-user-doc -->
70    * <!-- end-user-doc -->
71    * @see org.eclipse.emf.edit.tree.impl.TreeNodeImpl
72    * @see org.eclipse.emf.edit.tree.impl.TreePackageImpl#getTreeNode()
73    * @generated
74    */

75   int TREE_NODE = 0;
76
77   /**
78    * The feature id for the '<em><b>Parent</b></em>' container reference.
79    * <!-- begin-user-doc -->
80    * <!-- end-user-doc -->
81    * @generated
82    * @ordered
83    */

84   int TREE_NODE__PARENT = 0;
85
86   /**
87    * The feature id for the '<em><b>Children</b></em>' containment reference list.
88    * <!-- begin-user-doc -->
89    * <!-- end-user-doc -->
90    * @generated
91    * @ordered
92    */

93   int TREE_NODE__CHILDREN = 1;
94
95   /**
96    * The feature id for the '<em><b>Data</b></em>' reference.
97    * <!-- begin-user-doc -->
98    * <!-- end-user-doc -->
99    * @generated
100    * @ordered
101    */

102   int TREE_NODE__DATA = 2;
103
104
105   /**
106    * The number of structural features of the the '<em>Node</em>' class.
107    * <!-- begin-user-doc -->
108    * <!-- end-user-doc -->
109    * @generated
110    * @ordered
111    */

112   int TREE_NODE_FEATURE_COUNT = 3;
113
114
115   /**
116    * Returns the meta object for class '{@link org.eclipse.emf.edit.tree.TreeNode <em>Node</em>}'.
117    * <!-- begin-user-doc -->
118    * <!-- end-user-doc -->
119    * @return the meta object for class '<em>Node</em>'.
120    * @see org.eclipse.emf.edit.tree.TreeNode
121    * @generated
122    */

123   EClass getTreeNode();
124
125   /**
126    * Returns the meta object for the container reference '{@link org.eclipse.emf.edit.tree.TreeNode#getParent <em>Parent</em>}'.
127    * <!-- begin-user-doc -->
128    * <!-- end-user-doc -->
129    * @return the meta object for the container reference '<em>Parent</em>'.
130    * @see org.eclipse.emf.edit.tree.TreeNode#getParent()
131    * @see #getTreeNode()
132    * @generated
133    */

134   EReference getTreeNode_Parent();
135
136   /**
137    * Returns the meta object for the containment reference list '{@link org.eclipse.emf.edit.tree.TreeNode#getChildren <em>Children</em>}'.
138    * <!-- begin-user-doc -->
139    * <!-- end-user-doc -->
140    * @return the meta object for the containment reference list '<em>Children</em>'.
141    * @see org.eclipse.emf.edit.tree.TreeNode#getChildren()
142    * @see #getTreeNode()
143    * @generated
144    */

145   EReference getTreeNode_Children();
146
147   /**
148    * Returns the meta object for the reference '{@link org.eclipse.emf.edit.tree.TreeNode#getData <em>Data</em>}'.
149    * <!-- begin-user-doc -->
150    * <!-- end-user-doc -->
151    * @return the meta object for the reference '<em>Data</em>'.
152    * @see org.eclipse.emf.edit.tree.TreeNode#getData()
153    * @see #getTreeNode()
154    * @generated
155    */

156   EReference getTreeNode_Data();
157
158   /**
159    * Returns the factory that creates the instances of the model.
160    * <!-- begin-user-doc -->
161    * <!-- end-user-doc -->
162    * @return the factory that creates the instances of the model.
163    * @generated
164    */

165   TreeFactory getTreeFactory();
166
167 } //TreePackage
168
Popular Tags