blob: fd3d3d05ac09ca4e499f91c94cc7c95fe7697b19 [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>Count</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.app4mc.amalthea.model.Count#getMetric <em>Metric</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.Count#getValue <em>Value</em>}</li>
* </ul>
*
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getCount()
* @model
* @generated
*/
public interface Count 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.CountMetric}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Metric</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.CountMetric
* @see #setMetric(CountMetric)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getCount_Metric()
* @model unique="false"
* @generated
*/
CountMetric getMetric();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.Count#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.CountMetric
* @see #getMetric()
* @generated
*/
void setMetric(CountMetric value);
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(int)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getCount_Value()
* @model default="0" unique="false"
* @generated
*/
int getValue();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.Count#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(int value);
} // Count