com.swfm.mica.core
Class MiConnectionOperation

java.lang.Object
  extended bycom.swfm.mica.core.MiConnectionOperation

public class MiConnectionOperation
extends java.lang.Object

This class represents an operation on a MiConnection and is used by such methods as: MiPart#isValidConnectionSource and MiPart#isValidConnectionDestination to validate that the connection between the source (at the source connection point) and the destination (at the destination connection point) is valid for the given connection (of perhaps a specific type).

Version:
%I% %G%
Author:
Michael L. Davis

Constructor Summary
MiConnectionOperation(MiConnection prototypeConnection, MiPart source, MiPart destination)
           
 
Method Summary
 MiConnection getConnection()
           
 MiPart getDestination()
           
 int getDestinationConnPt()
           
 MiConnection getPrototypeConnection()
          Operation will/did use a copy of this prototype to make the connection...
 MiPart getSource()
           
 int getSourceConnPt()
           
 void setConnection(MiConnection connection)
          Operation will/did use a this connection to make the connection if not null...
 void setDestination(MiPart destination)
           
 void setDestinationConnPt(int connectionPt)
           
 void setSource(MiPart source)
           
 void setSourceConnPt(int connectionPt)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiConnectionOperation

public MiConnectionOperation(MiConnection prototypeConnection,
                             MiPart source,
                             MiPart destination)
Method Detail

getPrototypeConnection

public MiConnection getPrototypeConnection()
Operation will/did use a copy of this prototype to make the connection...


setConnection

public void setConnection(MiConnection connection)
Operation will/did use a this connection to make the connection if not null...


getConnection

public MiConnection getConnection()

setSource

public void setSource(MiPart source)

getSource

public MiPart getSource()

setDestination

public void setDestination(MiPart destination)

getDestination

public MiPart getDestination()

setSourceConnPt

public void setSourceConnPt(int connectionPt)

getSourceConnPt

public int getSourceConnPt()

setDestinationConnPt

public void setDestinationConnPt(int connectionPt)

getDestinationConnPt

public int getDestinationConnPt()