20a2903728
à faire: changer les targets en place partout à faire: modifier les edit pour que les getText soient jolis
72 lines
1.9 KiB
Java
72 lines
1.9 KiB
Java
/**
|
|
*/
|
|
package petrinet;
|
|
|
|
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:
|
|
* </p>
|
|
* <ul>
|
|
* <li>{@link petrinet.Node#getName <em>Name</em>}</li>
|
|
* <li>{@link petrinet.Node#getNetwork <em>Network</em>}</li>
|
|
* </ul>
|
|
*
|
|
* @see petrinet.PetrinetPackage#getNode()
|
|
* @model abstract="true"
|
|
* @generated
|
|
*/
|
|
public interface Node extends EObject {
|
|
/**
|
|
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @return the value of the '<em>Name</em>' attribute.
|
|
* @see #setName(String)
|
|
* @see petrinet.PetrinetPackage#getNode_Name()
|
|
* @model required="true"
|
|
* @generated
|
|
*/
|
|
String getName();
|
|
|
|
/**
|
|
* Sets the value of the '{@link petrinet.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>Network</b></em>' container reference.
|
|
* It is bidirectional and its opposite is '{@link petrinet.Network#getNodes <em>Nodes</em>}'.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @return the value of the '<em>Network</em>' container reference.
|
|
* @see #setNetwork(Network)
|
|
* @see petrinet.PetrinetPackage#getNode_Network()
|
|
* @see petrinet.Network#getNodes
|
|
* @model opposite="nodes" required="true" transient="false"
|
|
* @generated
|
|
*/
|
|
Network getNetwork();
|
|
|
|
/**
|
|
* Sets the value of the '{@link petrinet.Node#getNetwork <em>Network</em>}' container reference.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @param value the new value of the '<em>Network</em>' container reference.
|
|
* @see #getNetwork()
|
|
* @generated
|
|
*/
|
|
void setNetwork(Network value);
|
|
|
|
} // Node
|