org.eclipse.emf.edit.tree.TreePackage Maven / Gradle / Ivy
/**
* Copyright (c) 2002-2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*/
package org.eclipse.emf.edit.tree;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
*
* The Package for the model.
* It contains accessors for the meta objects to represent
*
* - each class,
* - each feature of each class,
* - each enum,
* - and each literal of each enum
*
*
* @see org.eclipse.emf.edit.tree.TreeFactory
* @model kind="package"
* @generated
*/
public interface TreePackage extends EPackage{
/**
* The package name.
* @generated
*/
String eNAME = "tree";
/**
* The package namespace URI.
* @generated
*/
String eNS_URI = "http://www.eclipse.org/emf/2002/Tree";
/**
* The package namespace name.
* @generated
*/
String eNS_PREFIX = "tree";
/**
* The singleton instance of the package.
* @generated
*/
TreePackage eINSTANCE = org.eclipse.emf.edit.tree.impl.TreePackageImpl.init();
/**
* The meta object id for the '{@link org.eclipse.emf.edit.tree.impl.TreeNodeImpl Node}' class.
*
*
* @see org.eclipse.emf.edit.tree.impl.TreeNodeImpl
* @see org.eclipse.emf.edit.tree.impl.TreePackageImpl#getTreeNode()
* @generated
*/
int TREE_NODE = 0;
/**
* The feature id for the 'Parent' container reference.
*
*
* @generated
* @ordered
*/
int TREE_NODE__PARENT = 0;
/**
* The feature id for the 'Children' containment reference list.
*
*
* @generated
* @ordered
*/
int TREE_NODE__CHILDREN = 1;
/**
* The feature id for the 'Data' reference.
*
*
* @generated
* @ordered
*/
int TREE_NODE__DATA = 2;
/**
* The number of structural features of the 'Node' class.
*
*
* @generated
* @ordered
*/
int TREE_NODE_FEATURE_COUNT = 3;
/**
* Returns the meta object for class '{@link org.eclipse.emf.edit.tree.TreeNode Node}'.
*
*
* @return the meta object for class 'Node'.
* @see org.eclipse.emf.edit.tree.TreeNode
* @generated
*/
EClass getTreeNode();
/**
* Returns the meta object for the container reference '{@link org.eclipse.emf.edit.tree.TreeNode#getParent Parent}'.
*
*
* @return the meta object for the container reference 'Parent'.
* @see org.eclipse.emf.edit.tree.TreeNode#getParent()
* @see #getTreeNode()
* @generated
*/
EReference getTreeNode_Parent();
/**
* Returns the meta object for the containment reference list '{@link org.eclipse.emf.edit.tree.TreeNode#getChildren Children}'.
*
*
* @return the meta object for the containment reference list 'Children'.
* @see org.eclipse.emf.edit.tree.TreeNode#getChildren()
* @see #getTreeNode()
* @generated
*/
EReference getTreeNode_Children();
/**
* Returns the meta object for the reference '{@link org.eclipse.emf.edit.tree.TreeNode#getData Data}'.
*
*
* @return the meta object for the reference 'Data'.
* @see org.eclipse.emf.edit.tree.TreeNode#getData()
* @see #getTreeNode()
* @generated
*/
EReference getTreeNode_Data();
/**
* Returns the factory that creates the instances of the model.
*
*
* @return the factory that creates the instances of the model.
* @generated
*/
TreeFactory getTreeFactory();
/**
*
* Defines literals for the meta objects that represent
*
* - each class,
* - each feature of each class,
* - each enum,
* - and each data type
*
*
* @generated
*/
interface Literals
{
/**
* The meta object literal for the '{@link org.eclipse.emf.edit.tree.impl.TreeNodeImpl Node}' class.
*
*
* @see org.eclipse.emf.edit.tree.impl.TreeNodeImpl
* @see org.eclipse.emf.edit.tree.impl.TreePackageImpl#getTreeNode()
* @generated
*/
EClass TREE_NODE = eINSTANCE.getTreeNode();
/**
* The meta object literal for the 'Parent' container reference feature.
*
*
* @generated
*/
EReference TREE_NODE__PARENT = eINSTANCE.getTreeNode_Parent();
/**
* The meta object literal for the 'Children' containment reference list feature.
*
*
* @generated
*/
EReference TREE_NODE__CHILDREN = eINSTANCE.getTreeNode_Children();
/**
* The meta object literal for the 'Data' reference feature.
*
*
* @generated
*/
EReference TREE_NODE__DATA = eINSTANCE.getTreeNode_Data();
}
} //TreePackage