blob: d8b52e4d8ca38c1307eb527abdb6179b1adad66a [file] [log] [blame]
package org.eclipse.stem.core.model;
/*******************************************************************************
* Copyright (c) 2011 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 java.util.List;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.stem.core.graph.DynamicLabel;
import org.eclipse.stem.core.graph.LabelValue;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Integration Decorator</b></em>'.
* <!-- end-user-doc -->
*
*
* @see org.eclipse.stem.core.model.ModelPackage#getIntegrationDecorator()
* @model abstract="true"
* @generated
*/
public interface IntegrationDecorator extends NodeDecorator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model labelsMany="true"
* @generated
*/
void applyExternalDeltas(STEMTime time, double t, long timeDelta, EList<DynamicLabel> labels);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model labelsMany="true"
* @generated
*/
void calculateDelta(STEMTime time, double t, long timeDelta, EList<DynamicLabel> labels);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model
* @generated
*/
void doModelSpecificAdjustments(LabelValue label);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model kind="operation"
* @generated
*/
boolean isDeterministic();
/**
* <!-- begin-user-doc -->
* TODO this method does not seem to be modeled in the mode.ecore file
* TODO seems like it should be
* TODO regeneration makes it disappear so added generated NOT
*
* <!-- end-user-doc -->
* @model kind="operation"
* @generated NOT
*/
EList<String> getAllLabelIdentifiers();
/**
* Retrieve the compartments. Not modeled in EMF
*
* @param populationIdentifier The population identifier
* @return List<IItemPropertyDescriptor> Compartments
*/
List<IItemPropertyDescriptor> getCompartments(String populationIdentifier);
} // IntegrationDecorator