gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class CcaConnectionsBetweenTwoPortsEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.sandia.ccaffeine.dc.user_iface.MVC.event.CcaConnectionsBetweenTwoPortsEvent
All Implemented Interfaces:
java.io.Serializable

public class CcaConnectionsBetweenTwoPortsEvent
extends java.util.EventObject

used to transfer cca connections from one entity to another entity

See Also:
Serialized Form

Field Summary
protected  CcaConnectionBetweenTwoPorts[] ccaConnections
          Get the components
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CcaConnectionsBetweenTwoPortsEvent(java.lang.Object source)
          Create a CcaConnectionsBetweenTwoPortsEvent.
CcaConnectionsBetweenTwoPortsEvent(java.lang.Object source, CcaConnectionBetweenTwoPorts[] ccaConnections)
          Create a CcaConnectionsBetweenTwoPortsEvent.
 
Method Summary
 CcaConnectionBetweenTwoPorts[] getCcaConnections()
          get the cca connections
 void setConnections(CcaConnectionBetweenTwoPorts[] ccaConnections)
          set the cnnections
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ccaConnections

protected CcaConnectionBetweenTwoPorts[] ccaConnections
Get the components

Constructor Detail

CcaConnectionsBetweenTwoPortsEvent

public CcaConnectionsBetweenTwoPortsEvent(java.lang.Object source)
Create a CcaConnectionsBetweenTwoPortsEvent.

Parameters:
source - The entity that originated this event.

CcaConnectionsBetweenTwoPortsEvent

public CcaConnectionsBetweenTwoPortsEvent(java.lang.Object source,
                                          CcaConnectionBetweenTwoPorts[] ccaConnections)
Create a CcaConnectionsBetweenTwoPortsEvent.

Parameters:
source - The entity that originated this event.
ccaConnections - the connection
Method Detail

getCcaConnections

public CcaConnectionBetweenTwoPorts[] getCcaConnections()
get the cca connections

Returns:
The retrieved cca connections

setConnections

public void setConnections(CcaConnectionBetweenTwoPorts[] ccaConnections)
set the cnnections

Parameters:
ccaConnections - The connections