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

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

public class InstantiateComponentEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
protected  java.lang.String className
          class name of the instantiated component
protected  java.lang.String instanceName
          instance name of the instantiated component
protected  CcaPort[] providerPorts
          provider ports of the instantiated component
protected  CcaPort[] userPorts
          user ports of the instantiated component
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InstantiateComponentEvent(java.lang.Object source)
          Create an InstantiateComponentEvent.
InstantiateComponentEvent(java.lang.Object source, java.lang.String instanceName, java.lang.String className, CcaPort[] userPorts, CcaPort[] providerPorts)
          Create an InstantiateComponentEvent.
 
Method Summary
 java.lang.String getClassName()
          Get the class name of the instantiated component
 java.lang.String getInstanceName()
          Get the instance name of the instantiated component
 CcaPort[] getProviderPorts()
          Get the provider ports of the instantiated component
 CcaPort[] getUserPorts()
          Get the user ports of the instantiated component
 void setClassName(java.lang.String className)
          Set the class name of the instantiated component
 void setInstanceName(java.lang.String instanceName)
          Set the instance name of the instantiated component
 void setProivderPorts(CcaPort[] providerPorts)
          Set the provider ports of the instantiated component
 void setUserPorts(CcaPort[] userPorts)
          Set the user ports of the instantiated component
 
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

instanceName

protected java.lang.String instanceName
instance name of the instantiated component


className

protected java.lang.String className
class name of the instantiated component


userPorts

protected CcaPort[] userPorts
user ports of the instantiated component


providerPorts

protected CcaPort[] providerPorts
provider ports of the instantiated component

Constructor Detail

InstantiateComponentEvent

public InstantiateComponentEvent(java.lang.Object source)
Create an InstantiateComponentEvent.

Parameters:
source - The entity that created this event.

InstantiateComponentEvent

public InstantiateComponentEvent(java.lang.Object source,
                                 java.lang.String instanceName,
                                 java.lang.String className,
                                 CcaPort[] userPorts,
                                 CcaPort[] providerPorts)
Create an InstantiateComponentEvent.

Parameters:
source - The entity that created this event.
instanceName - the instance name of the instantiated component.
className - the class name of the instantiated component.
userPorts - the user ports of the instantiated component.
providerPorts - the provider ports of the instantiated component.
Method Detail

getInstanceName

public java.lang.String getInstanceName()
Get the instance name of the instantiated component

Returns:
instance name of the instantiated component

setInstanceName

public void setInstanceName(java.lang.String instanceName)
Set the instance name of the instantiated component

Parameters:
instanceName - instance name of the instantiated component

getClassName

public java.lang.String getClassName()
Get the class name of the instantiated component

Returns:
class name of the instantiated component

setClassName

public void setClassName(java.lang.String className)
Set the class name of the instantiated component

Parameters:
className - instance name of the instantiated component

getUserPorts

public CcaPort[] getUserPorts()
Get the user ports of the instantiated component

Returns:
user ports of the instantiated component

setUserPorts

public void setUserPorts(CcaPort[] userPorts)
Set the user ports of the instantiated component

Parameters:
userPorts - user ports of the instantiated component

getProviderPorts

public CcaPort[] getProviderPorts()
Get the provider ports of the instantiated component

Returns:
provider ports of the instantiated component

setProivderPorts

public void setProivderPorts(CcaPort[] providerPorts)
Set the provider ports of the instantiated component

Parameters:
providerPorts - provider ports of the instantiated component