/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. */ package org.sintef.thingml; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Transition</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.sintef.thingml.Transition#getTarget <em>Target</em>}</li> * <li>{@link org.sintef.thingml.Transition#getSource <em>Source</em>}</li> * </ul> * * @see org.sintef.thingml.ThingmlPackage#getTransition() * @model * @generated */ public interface Transition extends Handler { /** * Returns the value of the '<em><b>Target</b></em>' reference. * It is bidirectional and its opposite is '{@link org.sintef.thingml.State#getIncoming <em>Incoming</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Target</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Target</em>' reference. * @see #setTarget(State) * @see org.sintef.thingml.ThingmlPackage#getTransition_Target() * @see org.sintef.thingml.State#getIncoming * @model opposite="incoming" required="true" * @generated */ State getTarget(); /** * Sets the value of the '{@link org.sintef.thingml.Transition#getTarget <em>Target</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Target</em>' reference. * @see #getTarget() * @generated */ void setTarget(State value); /** * Returns the value of the '<em><b>Source</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.sintef.thingml.State#getOutgoing <em>Outgoing</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Source</em>' container 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>' container reference. * @see #setSource(State) * @see org.sintef.thingml.ThingmlPackage#getTransition_Source() * @see org.sintef.thingml.State#getOutgoing * @model opposite="outgoing" required="true" transient="false" * @generated */ State getSource(); /** * Sets the value of the '{@link org.sintef.thingml.Transition#getSource <em>Source</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Source</em>' container reference. * @see #getSource() * @generated */ void setSource(State value); } // Transition