/*
 * This file has been developed at the University of Munich, Chair for Programming & Software Engineering.
 * 
 * This file is licensed under the Eclipse Public License (EPL) 1.0
 * 
 */
package eu.mdd4soa.smm.behaviour;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc --> A representation of the model object '
 * <em><b>Protocol State</b></em>'. <!-- end-user-doc -->
 * 
 * <p>
 * The following features are supported:
 * <ul>
 * <li>{@link eu.mdd4soa.smm.behaviour.ProtocolState#getName <em>Name</em>}</li>
 * <li>{@link eu.mdd4soa.smm.behaviour.ProtocolState#getProtocol <em>Protocol
 * </em>}</li>
 * </ul>
 * </p>
 * 
 * @see eu.mdd4soa.smm.behaviour.ISMBehaviourPackage#getProtocolState()
 * @model
 * @generated
 */
public interface ProtocolState 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 eu.mdd4soa.smm.behaviour.ISMBehaviourPackage#getProtocolState_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '
	 * {@link eu.mdd4soa.smm.behaviour.ProtocolState#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>Protocol</b></em>' container reference.
	 * It is bidirectional and its opposite is '
	 * {@link eu.mdd4soa.smm.behaviour.ServiceProtocol#getStates
	 * <em>States</em>}'. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Protocol</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>Protocol</em>' container reference.
	 * @see #setProtocol(ServiceProtocol)
	 * @see eu.mdd4soa.smm.behaviour.ISMBehaviourPackage#getProtocolState_Protocol()
	 * @see eu.mdd4soa.smm.behaviour.ServiceProtocol#getStates
	 * @model opposite="states" transient="false"
	 * @generated
	 */
	ServiceProtocol getProtocol();

	/**
	 * Sets the value of the '
	 * {@link eu.mdd4soa.smm.behaviour.ProtocolState#getProtocol
	 * <em>Protocol</em>}' container reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value the new value of the '<em>Protocol</em>' container
	 *        reference.
	 * @see #getProtocol()
	 * @generated
	 */
	void setProtocol(ServiceProtocol value);

} // ProtocolState
