blob: df5261b80809db3740f2c7e37f737daaead883e7 [file] [log] [blame]
/**
* Copyright (c) 2010, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Nicolas Payneau (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.omg.smm;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Collective Measurement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.omg.smm.CollectiveMeasurement#getAccumulator <em>Accumulator</em>}</li>
* <li>{@link org.eclipse.modisco.omg.smm.CollectiveMeasurement#isIsBaseSupplied <em>Is Base Supplied</em>}</li>
* <li>{@link org.eclipse.modisco.omg.smm.CollectiveMeasurement#getBaseMeasurementTo <em>Base Measurement To</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.omg.smm.SmmPackage#getCollectiveMeasurement()
* @model
* @generated
*/
public interface CollectiveMeasurement extends DimensionalMeasurement {
/**
* Returns the value of the '<em><b>Accumulator</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.modisco.omg.smm.Accumulator}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Accumulator</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Accumulator</em>' attribute.
* @see org.eclipse.modisco.omg.smm.Accumulator
* @see #setAccumulator(Accumulator)
* @see org.eclipse.modisco.omg.smm.SmmPackage#getCollectiveMeasurement_Accumulator()
* @model required="true"
* @generated
*/
Accumulator getAccumulator();
/**
* Sets the value of the '{@link org.eclipse.modisco.omg.smm.CollectiveMeasurement#getAccumulator <em>Accumulator</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Accumulator</em>' attribute.
* @see org.eclipse.modisco.omg.smm.Accumulator
* @see #getAccumulator()
* @generated
*/
void setAccumulator(Accumulator value);
/**
* Returns the value of the '<em><b>Is Base Supplied</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Base Supplied</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Base Supplied</em>' attribute.
* @see #setIsBaseSupplied(boolean)
* @see org.eclipse.modisco.omg.smm.SmmPackage#getCollectiveMeasurement_IsBaseSupplied()
* @model required="true"
* @generated
*/
boolean isIsBaseSupplied();
/**
* Sets the value of the '{@link org.eclipse.modisco.omg.smm.CollectiveMeasurement#isIsBaseSupplied <em>Is Base Supplied</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Base Supplied</em>' attribute.
* @see #isIsBaseSupplied()
* @generated
*/
void setIsBaseSupplied(boolean value);
/**
* Returns the value of the '<em><b>Base Measurement To</b></em>' reference list.
* The list contents are of type {@link org.eclipse.modisco.omg.smm.BaseMeasurementRelationship}.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.omg.smm.BaseMeasurementRelationship#getFrom <em>From</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Measurement To</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Measurement To</em>' reference list.
* @see org.eclipse.modisco.omg.smm.SmmPackage#getCollectiveMeasurement_BaseMeasurementTo()
* @see org.eclipse.modisco.omg.smm.BaseMeasurementRelationship#getFrom
* @model opposite="from"
* @generated
*/
EList<BaseMeasurementRelationship> getBaseMeasurementTo();
} // CollectiveMeasurement