Class ConfChangeEvent

java.lang.Object
  extended byEvent
      extended byConfChangeEvent
All Implemented Interfaces:
java.lang.Comparable

public class ConfChangeEvent
extends Event

ConfChangeEvent extends Event and is specified with Subunit, ID of Domain and Conformation involved in Conformation change event


Constructor Summary
ConfChangeEvent(double curTime, double endTime, java.lang.String[] assemNamesInvolved, Subunit sub, int domainID, Conformation conf)
          Constructs ConfChangeEvent which extends Event, with the specified Curent time, end time and names of Assemblies and Subunit involved, int domainID and Conformation conf
 
Method Summary
 int getDomainID()
          Gets the ID of Domain involved in ConfChangeEvent
 Conformation getNewConf()
          Gets the Conformationt involved in ConfChangeEvent
 Subunit getSubunit()
          Gets the subunit involved in ConfChangeEvent
 java.lang.String toString()
          Prints the information of Assembly names, posting time, end time related to this ConfChangeEvent
 
Methods inherited from class Event
compareTo, getAssemNamesInvolved, getEndTime, getPostTime, isValid, sameAssembly, setAssemNamesInvolved, setEndTime, setPostTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfChangeEvent

public ConfChangeEvent(double curTime,
                       double endTime,
                       java.lang.String[] assemNamesInvolved,
                       Subunit sub,
                       int domainID,
                       Conformation conf)
Constructs ConfChangeEvent which extends Event, with the specified Curent time, end time and names of Assemblies and Subunit involved, int domainID and Conformation conf

Parameters:
curTime - double, Event post time TODO explain endTime
endTime - double, used for priority
assemNamesInvolved - String[]
sub - Subunit
domainID - int
conf - Conformation
Method Detail

getSubunit

public Subunit getSubunit()
Gets the subunit involved in ConfChangeEvent

Returns:
subunit

getDomainID

public int getDomainID()
Gets the ID of Domain involved in ConfChangeEvent

Returns:
int ID of Domain

getNewConf

public Conformation getNewConf()
Gets the Conformationt involved in ConfChangeEvent

Returns:
Conformation

toString

public java.lang.String toString()
Prints the information of Assembly names, posting time, end time related to this ConfChangeEvent

Returns:
String