org.eclipse.emf.edit.tree.TreeNode Maven / Gradle / Ivy
/**
* Copyright (c) 2002-2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - Initial API and implementation
*/
package org.eclipse.emf.edit.tree;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
*
* A representation of the model object 'Node'.
*
*
*
* The following features are supported:
*
*
* - {@link org.eclipse.emf.edit.tree.TreeNode#getParent Parent}
* - {@link org.eclipse.emf.edit.tree.TreeNode#getChildren Children}
* - {@link org.eclipse.emf.edit.tree.TreeNode#getData Data}
*
*
* @see org.eclipse.emf.edit.tree.TreePackage#getTreeNode()
* @model
* @generated
*/
public interface TreeNode extends EObject
{
/**
* Returns the value of the 'Parent' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.edit.tree.TreeNode#getChildren Children}'.
*
*
* @return the value of the 'Parent' container reference.
* @see #setParent(TreeNode)
* @see org.eclipse.emf.edit.tree.TreePackage#getTreeNode_Parent()
* @see org.eclipse.emf.edit.tree.TreeNode#getChildren
* @model opposite="children"
* @generated
*/
TreeNode getParent();
/**
* Sets the value of the '{@link org.eclipse.emf.edit.tree.TreeNode#getParent Parent}' container reference.
*
*
* @param value the new value of the 'Parent' container reference.
* @see #getParent()
* @generated
*/
void setParent(TreeNode value);
/**
* Returns the value of the 'Children' containment reference list.
* The list contents are of type {@link org.eclipse.emf.edit.tree.TreeNode}.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.edit.tree.TreeNode#getParent Parent}'.
*
*
* @return the value of the 'Children' containment reference list.
* @see org.eclipse.emf.edit.tree.TreePackage#getTreeNode_Children()
* @see org.eclipse.emf.edit.tree.TreeNode#getParent
* @model opposite="parent" containment="true"
* @generated
*/
EList getChildren();
/**
* Returns the value of the 'Data' reference.
*
*
* @return the value of the 'Data' reference.
* @see #setData(EObject)
* @see org.eclipse.emf.edit.tree.TreePackage#getTreeNode_Data()
* @model required="true"
* @generated
*/
EObject getData();
/**
* Sets the value of the '{@link org.eclipse.emf.edit.tree.TreeNode#getData Data}' reference.
*
*
* @param value the new value of the 'Data' reference.
* @see #getData()
* @generated
*/
void setData(EObject value);
} // TreeNode