org.problets.domain.viz.data.implement.channel
Class Channel

java.lang.Object
  extended by org.problets.domain.viz.data.implement.channel.Channel

public class Channel
extends java.lang.Object

Saves reference of the source and destination variables of a channel

Author:
Stefan Kasabov

Constructor Summary
Channel(PtrViz inPtrViz, AbstractVarViz inDestViz)
           
 
Method Summary
 AbstractVarViz getDestinationViz()
           
 PtrViz getSourceViz()
           
 boolean isValid()
          Returns true if this channel is still valid, i.e., the pointer and the pointee are in scope, and the pointer is still pointing to this pointee (necessary to account for re-assignments), and false otherwise
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Channel

public Channel(PtrViz inPtrViz,
               AbstractVarViz inDestViz)
Method Detail

getSourceViz

public PtrViz getSourceViz()

getDestinationViz

public AbstractVarViz getDestinationViz()

isValid

public boolean isValid()
Returns true if this channel is still valid, i.e., the pointer and the pointee are in scope, and the pointer is still pointing to this pointee (necessary to account for re-assignments), and false otherwise


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object