simulink

edu.tum.cs.simulink.model
Class SimulinkLine

java.lang.Object
  extended by edu.tum.cs.simulink.model.ParameterizedElement
      extended by edu.tum.cs.simulink.model.SimulinkLine

public class SimulinkLine
extends ParameterizedElement

A Simulink line.

Version:
$Rev: 26285 $
Author:
hummelb, $Author: juergens $
Rating:
GREEN Hash: D945508F614C0D24A7CBFADCEA38A6AE

Constructor Summary
SimulinkLine(SimulinkOutPort srcPort, SimulinkInPort dstPort)
          Creates a new line.
 
Method Summary
 SimulinkInPort getDstPort()
          Returns target port.
 SimulinkModel getModel()
          Get model this line belongs to.
 SimulinkOutPort getSrcPort()
          Returns source port.
 void remove()
          Remove the line from the ports.
 java.lang.String toString()
          Get string representation of the line.
 
Methods inherited from class edu.tum.cs.simulink.model.ParameterizedElement
getDeclaredParameter, getDeclaredParameterNames, getParameter, getParameterNames, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimulinkLine

public SimulinkLine(SimulinkOutPort srcPort,
                    SimulinkInPort dstPort)
Creates a new line. This adds the line to the ports.

Method Detail

getDstPort

public SimulinkInPort getDstPort()
Returns target port.


getModel

public SimulinkModel getModel()
Get model this line belongs to.


getSrcPort

public SimulinkOutPort getSrcPort()
Returns source port.


remove

public void remove()
Remove the line from the ports.


toString

public java.lang.String toString()
Get string representation of the line.

Overrides:
toString in class java.lang.Object

simulink

simulink - 2.7