blob: f04d62f8ed7e337d868948aab0682e324e6bd261 [file] [log] [blame]
/**
* Copyright (c) 2010 Mia-Software.
* 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
*
* 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 Measure</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.omg.smm.CollectiveMeasure#getAccumulator <em>Accumulator</em>}</li>
* <li>{@link org.eclipse.modisco.omg.smm.CollectiveMeasure#getBaseMeasureTo <em>Base Measure To</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.omg.smm.SmmPackage#getCollectiveMeasure()
* @model
* @generated
*/
public interface CollectiveMeasure extends DimensionalMeasure {
/**
* 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#getCollectiveMeasure_Accumulator()
* @model required="true"
* @generated
*/
Accumulator getAccumulator();
/**
* Sets the value of the '{@link org.eclipse.modisco.omg.smm.CollectiveMeasure#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>Base Measure To</b></em>' reference list.
* The list contents are of type {@link org.eclipse.modisco.omg.smm.BaseMeasureRelationship}.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.omg.smm.BaseMeasureRelationship#getFrom <em>From</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Measure 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 Measure To</em>' reference list.
* @see org.eclipse.modisco.omg.smm.SmmPackage#getCollectiveMeasure_BaseMeasureTo()
* @see org.eclipse.modisco.omg.smm.BaseMeasureRelationship#getFrom
* @model opposite="from" required="true"
* @generated
*/
EList<BaseMeasureRelationship> getBaseMeasureTo();
} // CollectiveMeasure