2021-10-09 16:39:13 +00:00
|
|
|
/**
|
|
|
|
*/
|
|
|
|
package petrinet;
|
|
|
|
|
2021-10-13 17:22:57 +00:00
|
|
|
import org.eclipse.emf.common.util.EList;
|
2021-10-09 16:39:13 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* <!-- 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>
|
2021-10-13 17:22:57 +00:00
|
|
|
* <li>{@link petrinet.Place#getArcs <em>Arcs</em>}</li>
|
2021-10-09 16:39:13 +00:00
|
|
|
* </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);
|
|
|
|
|
2021-10-13 17:22:57 +00:00
|
|
|
/**
|
|
|
|
* 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();
|
|
|
|
|
2021-10-09 16:39:13 +00:00
|
|
|
} // Place
|