20a2903728
à faire: changer les targets en place partout à faire: modifier les edit pour que les getText soient jolis
62 lines
1.6 KiB
Java
62 lines
1.6 KiB
Java
/**
|
|
*/
|
|
package petrinet;
|
|
|
|
import org.eclipse.emf.common.util.EList;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* A representation of the model object '<em><b>Place</b></em>'.
|
|
* <!-- end-user-doc -->
|
|
*
|
|
* <p>
|
|
* The following features are supported:
|
|
* </p>
|
|
* <ul>
|
|
* <li>{@link petrinet.Place#getTokens <em>Tokens</em>}</li>
|
|
* <li>{@link petrinet.Place#getArcs <em>Arcs</em>}</li>
|
|
* </ul>
|
|
*
|
|
* @see petrinet.PetrinetPackage#getPlace()
|
|
* @model
|
|
* @generated
|
|
*/
|
|
public interface Place extends Node {
|
|
/**
|
|
* Returns the value of the '<em><b>Tokens</b></em>' attribute.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @return the value of the '<em>Tokens</em>' attribute.
|
|
* @see #setTokens(int)
|
|
* @see petrinet.PetrinetPackage#getPlace_Tokens()
|
|
* @model required="true"
|
|
* @generated
|
|
*/
|
|
int getTokens();
|
|
|
|
/**
|
|
* Sets the value of the '{@link petrinet.Place#getTokens <em>Tokens</em>}' attribute.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @param value the new value of the '<em>Tokens</em>' attribute.
|
|
* @see #getTokens()
|
|
* @generated
|
|
*/
|
|
void setTokens(int value);
|
|
|
|
/**
|
|
* Returns the value of the '<em><b>Arcs</b></em>' reference list.
|
|
* The list contents are of type {@link petrinet.Arc}.
|
|
* It is bidirectional and its opposite is '{@link petrinet.Arc#getPlace <em>Place</em>}'.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @return the value of the '<em>Arcs</em>' reference list.
|
|
* @see petrinet.PetrinetPackage#getPlace_Arcs()
|
|
* @see petrinet.Arc#getPlace
|
|
* @model opposite="place"
|
|
* @generated
|
|
*/
|
|
EList<Arc> getArcs();
|
|
|
|
} // Place
|