blob: f6c99dc9e6169e0ddbdf4c0f4e3b9848df98369f [file] [log] [blame]
/*******************************************************************************
* * Copyright (c) 2015 University of Padova, Intecs
* *
* *
* * 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
* *
*******************************************************************************/
/**
*/
package org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Transition;
import org.polarsys.chess.chessmlprofile.Dependability.DependableComponent.FailureMode;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Failure</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.Failure#getBase_Transition <em>Base Transition</em>}</li>
* <li>{@link org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.Failure#getMode <em>Mode</em>}</li>
* <li>{@link org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.Failure#getDelay <em>Delay</em>}</li>
* <li>{@link org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.Failure#getWeight <em>Weight</em>}</li>
* </ul>
*
* @see org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.ThreatsPropagationPackage#getFailure()
* @model
* @generated
*/
public interface Failure extends EObject {
/**
* Returns the value of the '<em><b>Base Transition</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Transition</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Transition</em>' reference.
* @see #setBase_Transition(Transition)
* @see org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.ThreatsPropagationPackage#getFailure_Base_Transition()
* @model required="true" ordered="false"
* @generated
*/
Transition getBase_Transition();
/**
* Sets the value of the '{@link org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.Failure#getBase_Transition <em>Base Transition</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Transition</em>' reference.
* @see #getBase_Transition()
* @generated
*/
void setBase_Transition(Transition value);
/**
* Returns the value of the '<em><b>Mode</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mode</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mode</em>' attribute list.
* @see org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.ThreatsPropagationPackage#getFailure_Mode()
* @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
* @generated
*/
EList<String> getMode();
/**
* Returns the value of the '<em><b>Delay</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Delay</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Delay</em>' attribute.
* @see #setDelay(String)
* @see org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.ThreatsPropagationPackage#getFailure_Delay()
* @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false"
* @generated
*/
String getDelay();
/**
* Sets the value of the '{@link org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.Failure#getDelay <em>Delay</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Delay</em>' attribute.
* @see #getDelay()
* @generated
*/
void setDelay(String value);
/**
* Returns the value of the '<em><b>Weight</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Weight</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Weight</em>' attribute.
* @see #setWeight(String)
* @see org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.ThreatsPropagationPackage#getFailure_Weight()
* @model dataType="org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.NFP_Real" ordered="false"
* @generated
*/
String getWeight();
/**
* Sets the value of the '{@link org.polarsys.chess.chessmlprofile.Dependability.ThreatsPropagation.Failure#getWeight <em>Weight</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Weight</em>' attribute.
* @see #getWeight()
* @generated
*/
void setWeight(String value);
} // Failure