blob: 4e819aad0991f7d2c559e05ef3b953b8e848b369 [file] [log] [blame]
package org.eclipse.stem.analysis;
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import org.eclipse.emf.ecore.EObject;
/**
*
* @author edlund
* @model
*/
public interface ErrorFunction extends EObject {
/**
* Returns the value of the '<em><b>Reference Data Compartment</b></em>' attribute.
* The default value is <code>"Incidence"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Reference Data Compartment</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Reference Data Compartment</em>' attribute.
* @see #setReferenceDataCompartment(String)
* @see org.eclipse.stem.analysis.AnalysisPackage#getErrorFunction_ReferenceDataCompartment()
* @model default="Incidence"
* @generated
*/
String getReferenceDataCompartment();
/**
* Sets the value of the '{@link org.eclipse.stem.analysis.ErrorFunction#getReferenceDataCompartment <em>Reference Data Compartment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Reference Data Compartment</em>' attribute.
* @see #getReferenceDataCompartment()
* @generated
*/
void setReferenceDataCompartment(String value);
/**
* Returns the value of the '<em><b>Comparison Compartment</b></em>' attribute.
* The default value is <code>"Incidence"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Comparison Compartment</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Comparison Compartment</em>' attribute.
* @see #setComparisonCompartment(String)
* @see org.eclipse.stem.analysis.AnalysisPackage#getErrorFunction_ComparisonCompartment()
* @model default="Incidence"
* @generated
*/
String getComparisonCompartment();
/**
* Sets the value of the '{@link org.eclipse.stem.analysis.ErrorFunction#getComparisonCompartment <em>Comparison Compartment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Comparison Compartment</em>' attribute.
* @see #getComparisonCompartment()
* @generated
*/
void setComparisonCompartment(String value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model
* @generated
*/
ErrorResult calculateError(ReferenceScenarioDataMap reference, ReferenceScenarioDataMap data);
}