| /**
|
| * *******************************************************************************
|
| * Copyright (c) 2009, 2019 Mia-Software 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:
|
| *
|
| * Fabien Giquel (Mia-Software) - initial API and implementation
|
| * *******************************************************************************
|
| *
|
| * $Id$
|
| */ |
| package org.eclipse.modisco.xml;
|
|
|
| import org.eclipse.emf.ecore.EObject;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>Node</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.modisco.xml.Node#getName <em>Name</em>}</li>
|
| * <li>{@link org.eclipse.modisco.xml.Node#getParent <em>Parent</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.xml.emf.MoDiscoXMLPackage#getNode()
|
| * @model abstract="true"
|
| * @generated
|
| */
|
| public interface Node extends EObject {
|
| /**
|
| * Returns the value of the '<em><b>Name</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Name</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Name</em>' attribute.
|
| * @see #setName(String)
|
| * @see org.eclipse.modisco.xml.emf.MoDiscoXMLPackage#getNode_Name()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| String getName();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.xml.Node#getName <em>Name</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Name</em>' attribute.
|
| * @see #getName()
|
| * @generated
|
| */
|
| void setName(String value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Parent</b></em>' container reference.
|
| * It is bidirectional and its opposite is '{@link org.eclipse.modisco.xml.Element#getChildren <em>Children</em>}'.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Parent</em>' container reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Parent</em>' container reference.
|
| * @see #setParent(Element)
|
| * @see org.eclipse.modisco.xml.emf.MoDiscoXMLPackage#getNode_Parent()
|
| * @see org.eclipse.modisco.xml.Element#getChildren
|
| * @model opposite="children" transient="false" ordered="false"
|
| * @generated
|
| */
|
| Element getParent();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.xml.Node#getParent <em>Parent</em>}' container reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Parent</em>' container reference.
|
| * @see #getParent()
|
| * @generated
|
| */
|
| void setParent(Element value);
|
|
|
| } // Node
|