cz.cuni.jagrlib.reg
Class InfoChannel

java.lang.Object
  extended by cz.cuni.jagrlib.reg.InfoChannel

public class InfoChannel
extends java.lang.Object

Information about channel.

See Also:
InfoChannel.java

Field Summary
 InfoChannelGUI infoGUI
          Information about channel's GUI.
 java.lang.Integer key
          Channel key (unique name).
 java.lang.String nameInterface
          Short interface identifier.
 java.util.Map<java.lang.String,java.lang.Object> nextInfo
          This is space for all other information.
 InfoGroup owner
          Channel owner.
 InfoPlug plugFrom
          Starting plug of the channel.
 InfoPlug plugTo
          End plug of the channel.
static java.lang.String TI_CHANNEL
           
 
Constructor Summary
InfoChannel()
           
 
Method Summary
 boolean hasPlugs(InfoPlug _plug1, InfoPlug _plug2)
          Tests whether the channel in connecting the two given plugs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public java.lang.Integer key
Channel key (unique name).


nameInterface

public java.lang.String nameInterface
Short interface identifier.


owner

public InfoGroup owner
Channel owner. Composition or group of modules.


plugFrom

public InfoPlug plugFrom
Starting plug of the channel.


plugTo

public InfoPlug plugTo
End plug of the channel.


infoGUI

public InfoChannelGUI infoGUI
Information about channel's GUI.


nextInfo

public java.util.Map<java.lang.String,java.lang.Object> nextInfo
This is space for all other information.


TI_CHANNEL

public static final java.lang.String TI_CHANNEL
See Also:
Constant Field Values
Constructor Detail

InfoChannel

public InfoChannel()
Method Detail

hasPlugs

public boolean hasPlugs(InfoPlug _plug1,
                        InfoPlug _plug2)
Tests whether the channel in connecting the two given plugs.

Parameters:
_plug1 - First plug.
_plug2 - Second plug.
Returns:
true if the channel is connecting the two plugs.