blob: 8384a9c6e582e0f9d29c4dc373b87c032cfec674 [file] [log] [blame]
package org.eclipse.stem.core.graph;
/*******************************************************************************
* 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 org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Exchange</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.stem.core.graph.Exchange#getOtherLabel <em>Other Label</em>}</li>
* <li>{@link org.eclipse.stem.core.graph.Exchange#getCount <em>Count</em>}</li>
* <li>{@link org.eclipse.stem.core.graph.Exchange#getType <em>Type</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.stem.core.graph.GraphPackage#getExchange()
* @model superTypes="org.eclipse.stem.core.common.Comparable<org.eclipse.stem.core.graph.Exchange>"
* @generated
*/
public interface Exchange extends EObject, Comparable<Exchange> {
/**
* Returns the value of the '<em><b>Other Label</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Other Label</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Other Label</em>' reference.
* @see #setOtherLabel(Label)
* @see org.eclipse.stem.core.graph.GraphPackage#getExchange_OtherLabel()
* @model
* @generated
*/
Label getOtherLabel();
/**
* Sets the value of the '{@link org.eclipse.stem.core.graph.Exchange#getOtherLabel <em>Other Label</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Other Label</em>' reference.
* @see #getOtherLabel()
* @generated
*/
void setOtherLabel(Label value);
/**
* Returns the value of the '<em><b>Count</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Count</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Count</em>' attribute.
* @see #setCount(double)
* @see org.eclipse.stem.core.graph.GraphPackage#getExchange_Count()
* @model
* @generated
*/
double getCount();
/**
* Sets the value of the '{@link org.eclipse.stem.core.graph.Exchange#getCount <em>Count</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Count</em>' attribute.
* @see #getCount()
* @generated
*/
void setCount(double value);
/**
* Returns the value of the '<em><b>Type</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.stem.core.graph.ExchangeType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' attribute.
* @see org.eclipse.stem.core.graph.ExchangeType
* @see #setType(ExchangeType)
* @see org.eclipse.stem.core.graph.GraphPackage#getExchange_Type()
* @model
* @generated
*/
ExchangeType getType();
/**
* Sets the value of the '{@link org.eclipse.stem.core.graph.Exchange#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' attribute.
* @see org.eclipse.stem.core.graph.ExchangeType
* @see #getType()
* @generated
*/
void setType(ExchangeType value);
} // Exchange