/** * Copyright (c) 2012-2016 Marsha Chechik, Alessio Di Sandro, Michalis Famelis, * Rick Salay. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Alessio Di Sandro - Implementation. */ package edu.toronto.cs.se.modelepedia.petrinet; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Place</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link edu.toronto.cs.se.modelepedia.petrinet.Place#getCapacity <em>Capacity</em>}</li> * <li>{@link edu.toronto.cs.se.modelepedia.petrinet.Place#getTokens <em>Tokens</em>}</li> * </ul> * </p> * * @see edu.toronto.cs.se.modelepedia.petrinet.PetriNetPackage#getPlace() * @model * @generated */ public interface Place extends Node { /** * Returns the value of the '<em><b>Capacity</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Capacity</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Capacity</em>' attribute. * @see #setCapacity(int) * @see edu.toronto.cs.se.modelepedia.petrinet.PetriNetPackage#getPlace_Capacity() * @model required="true" * @generated */ int getCapacity(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.petrinet.Place#getCapacity <em>Capacity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Capacity</em>' attribute. * @see #getCapacity() * @generated */ void setCapacity(int value); /** * Returns the value of the '<em><b>Tokens</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Tokens</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Tokens</em>' attribute. * @see #setTokens(int) * @see edu.toronto.cs.se.modelepedia.petrinet.PetriNetPackage#getPlace_Tokens() * @model required="true" * @generated */ int getTokens(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.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); } // Place