Class FormBondEvent

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

public class FormBondEvent
extends Event

FormBondEvent extends Event and is specified with two BindingSites involved in bond forming event


Constructor Summary
FormBondEvent(double curTime, double endTime, java.lang.String[] assemNamesInvolved, BindingSite bs, BindingSite partner)
          Constructs a FormBondEvent using the specified parameters
 
Method Summary
 BindingSite getBS()
          Returns the primary BindingSite involved in this FormBondEvent
 BindingSite getPartner()
          Returns secondary BindingSite to be involved in this FormBondEvent
 void SetBS(BindingSite bsNew)
          Change the primary BindingSite in this FormBondEvent to bsNew
 void SetPartner(BindingSite bsPartner)
          Change the secondary BindingSite in this FormBondEvent to bsPartner
 java.lang.String toString()
          Returns a String version of this FormBondEvent
 
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

FormBondEvent

public FormBondEvent(double curTime,
                     double endTime,
                     java.lang.String[] assemNamesInvolved,
                     BindingSite bs,
                     BindingSite partner)
Constructs a FormBondEvent using the specified parameters

Parameters:
curTime - double, time when the Event was found/sampled
endTime - double, time when the Event will be complete
assemNamesInvolved - String[], names of Assemblies involved in the event
bs - BindingSite, the BindingSite forming the bond from the first Assembly named in assemNamesInvolved
partner - BindingSite, the BindingSite forming the bond from the second Assembly named in assemNamesInvolved
Method Detail

getBS

public BindingSite getBS()
Returns the primary BindingSite involved in this FormBondEvent

Returns:
BindingSite

getPartner

public BindingSite getPartner()
Returns secondary BindingSite to be involved in this FormBondEvent

Returns:
BindingSite

SetBS

public void SetBS(BindingSite bsNew)
Change the primary BindingSite in this FormBondEvent to bsNew

Parameters:
bsNew - BindingSite, new primary BindingSite

SetPartner

public void SetPartner(BindingSite bsPartner)
Change the secondary BindingSite in this FormBondEvent to bsPartner

Parameters:
bsPartner - BindingSite, new secondary BindingSite

toString

public java.lang.String toString()
Returns a String version of this FormBondEvent

Returns:
String