blob: 1e0322284131120e37d0bc1ca0b90fb1d2081b7b [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2015-2021 Robert Bosch GmbH and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Generated using Eclipse EMF
*
* *******************************************************************************
*/
package org.eclipse.app4mc.amalthea.model;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Percentage Requirement Limit</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.app4mc.amalthea.model.PercentageRequirementLimit#getMetric <em>Metric</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.PercentageRequirementLimit#getLimitValue <em>Limit Value</em>}</li>
* </ul>
*
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getPercentageRequirementLimit()
* @model
* @generated
*/
public interface PercentageRequirementLimit extends RequirementLimit {
/**
* Returns the value of the '<em><b>Metric</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.model.PercentageMetric}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Metric</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.PercentageMetric
* @see #setMetric(PercentageMetric)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getPercentageRequirementLimit_Metric()
* @model unique="false"
* @generated
*/
PercentageMetric getMetric();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.PercentageRequirementLimit#getMetric <em>Metric</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Metric</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.PercentageMetric
* @see #getMetric()
* @generated
*/
void setMetric(PercentageMetric value);
/**
* Returns the value of the '<em><b>Limit Value</b></em>' attribute.
* The default value is <code>"0.0"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Limit Value</em>' attribute.
* @see #setLimitValue(double)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getPercentageRequirementLimit_LimitValue()
* @model default="0.0" unique="false"
* @generated
*/
double getLimitValue();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.PercentageRequirementLimit#getLimitValue <em>Limit Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Limit Value</em>' attribute.
* @see #getLimitValue()
* @generated
*/
void setLimitValue(double value);
} // PercentageRequirementLimit