/* | |
* Copyright (c) 2005 Borland Software Corporation | |
* | |
* 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: | |
* Dmitri Stadnik (Borland) - initial API and implementation | |
*/ | |
package org.eclipse.gmf.examples.taipan; | |
/** | |
* <!-- begin-user-doc --> | |
* A representation of the model object '<em><b>Route</b></em>'. | |
* <!-- end-user-doc --> | |
* | |
* <p> | |
* The following features are supported: | |
* <ul> | |
* <li>{@link org.eclipse.gmf.examples.taipan.Route#getSource <em>Source</em>}</li> | |
* <li>{@link org.eclipse.gmf.examples.taipan.Route#getDestination <em>Destination</em>}</li> | |
* <li>{@link org.eclipse.gmf.examples.taipan.Route#getDescription <em>Description</em>}</li> | |
* <li>{@link org.eclipse.gmf.examples.taipan.Route#getReliability <em>Reliability</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @see org.eclipse.gmf.examples.taipan.TaiPanPackage#getRoute() | |
* @model | |
* @generated | |
*/ | |
public interface Route extends Destination { | |
/** | |
* Returns the value of the '<em><b>Source</b></em>' reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Source</em>' reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Source</em>' reference. | |
* @see #setSource(Destination) | |
* @see org.eclipse.gmf.examples.taipan.TaiPanPackage#getRoute_Source() | |
* @model required="true" | |
* @generated | |
*/ | |
Destination getSource(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmf.examples.taipan.Route#getSource <em>Source</em>}' reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Source</em>' reference. | |
* @see #getSource() | |
* @generated | |
*/ | |
void setSource(Destination value); | |
/** | |
* Returns the value of the '<em><b>Destination</b></em>' reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Destination</em>' reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Destination</em>' reference. | |
* @see #setDestination(Destination) | |
* @see org.eclipse.gmf.examples.taipan.TaiPanPackage#getRoute_Destination() | |
* @model required="true" | |
* @generated | |
*/ | |
Destination getDestination(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmf.examples.taipan.Route#getDestination <em>Destination</em>}' reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Destination</em>' reference. | |
* @see #getDestination() | |
* @generated | |
*/ | |
void setDestination(Destination value); | |
/** | |
* Returns the value of the '<em><b>Description</b></em>' attribute. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Description</em>' attribute isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Description</em>' attribute. | |
* @see #setDescription(String) | |
* @see org.eclipse.gmf.examples.taipan.TaiPanPackage#getRoute_Description() | |
* @model | |
* @generated | |
*/ | |
String getDescription(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmf.examples.taipan.Route#getDescription <em>Description</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Description</em>' attribute. | |
* @see #getDescription() | |
* @generated | |
*/ | |
void setDescription(String value); | |
/** | |
* Returns the value of the '<em><b>Reliability</b></em>' attribute. | |
* The default value is <code>"1"</code>. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Reliability</em>' attribute isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Reliability</em>' attribute. | |
* @see #setReliability(double) | |
* @see org.eclipse.gmf.examples.taipan.TaiPanPackage#getRoute_Reliability() | |
* @model default="1" | |
* @generated | |
*/ | |
double getReliability(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmf.examples.taipan.Route#getReliability <em>Reliability</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Reliability</em>' attribute. | |
* @see #getReliability() | |
* @generated | |
*/ | |
void setReliability(double value); | |
} // Route |