blob: 0ddd24e656e14662c34cae3a4b03621c516afc00 [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2015-2019 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;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>CPU Percentage</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.app4mc.amalthea.model.CPUPercentage#getMetric <em>Metric</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.CPUPercentage#getHardwareContext <em>Hardware Context</em>}</li>
* </ul>
*
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getCPUPercentage()
* @model abstract="true"
* @generated
*/
public interface CPUPercentage extends EObject {
/**
* Returns the value of the '<em><b>Metric</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.model.CPUPercentageMetric}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Metric</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.CPUPercentageMetric
* @see #setMetric(CPUPercentageMetric)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getCPUPercentage_Metric()
* @model unique="false"
* @generated
*/
CPUPercentageMetric getMetric();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.CPUPercentage#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.CPUPercentageMetric
* @see #getMetric()
* @generated
*/
void setMetric(CPUPercentageMetric value);
/**
* Returns the value of the '<em><b>Hardware Context</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Hardware Context</em>' reference.
* @see #setHardwareContext(ProcessingUnit)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getCPUPercentage_HardwareContext()
* @model
* @generated
*/
ProcessingUnit getHardwareContext();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.CPUPercentage#getHardwareContext <em>Hardware Context</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Hardware Context</em>' reference.
* @see #getHardwareContext()
* @generated
*/
void setHardwareContext(ProcessingUnit value);
} // CPUPercentage