edu.iastate.metnet.dao
Class InteractionStructure

java.lang.Object
  extended by edu.iastate.metnet.dao.InteractionStructure
All Implemented Interfaces:
java.io.Serializable

public class InteractionStructure
extends java.lang.Object
implements java.io.Serializable

define the comparable property of interactions

Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private)  java.lang.Integer ibid
          blockid of the interaction
(package private)  boolean isControlInteraction
          if it is a control interaction.
(package private)  java.util.Map leftEbidEidMap
          blockid of substrates
(package private)  java.util.Map rightEbidEidMap
          blockid of products
(package private)  java.lang.String signature
          signature
 
Constructor Summary
InteractionStructure()
           
 
Method Summary
 java.util.Map align(InteractionStructure that)
          generate alignment based on the entity id, i guess this should be changed to other condition for new release
 boolean equals(java.lang.Object rhs)
           
 java.lang.Integer getIbid()
           
 java.util.Map getLeftEbidEidMap()
           
 java.util.Map getRightEbidEidMap()
           
 java.lang.String getSignature()
           
 int hashCode()
           
 boolean isControlInteraction()
           
 void setControlInteraction(boolean isControlInteraction)
           
 void setIbid(java.lang.Integer ibid)
           
 void setSignature(java.lang.String signature)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

signature

java.lang.String signature
signature


ibid

java.lang.Integer ibid
blockid of the interaction


isControlInteraction

boolean isControlInteraction
if it is a control interaction. this is assigned by caller since it does not know the whole pathway structure


leftEbidEidMap

java.util.Map leftEbidEidMap
blockid of substrates


rightEbidEidMap

java.util.Map rightEbidEidMap
blockid of products

Constructor Detail

InteractionStructure

public InteractionStructure()
Method Detail

getIbid

public java.lang.Integer getIbid()
Returns:
Returns the ibid.

setIbid

public void setIbid(java.lang.Integer ibid)
Parameters:
ibid - The ibid to set.

isControlInteraction

public boolean isControlInteraction()
Returns:
Returns the isControlInteraction.

setControlInteraction

public void setControlInteraction(boolean isControlInteraction)
Parameters:
isControlInteraction - The isControlInteraction to set.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object rhs)
Overrides:
equals in class java.lang.Object

getSignature

public java.lang.String getSignature()
Returns:
Returns the getSignature.

setSignature

public void setSignature(java.lang.String signature)

getLeftEbidEidMap

public java.util.Map getLeftEbidEidMap()
Returns:
Returns the leftEbidEidMap.

getRightEbidEidMap

public java.util.Map getRightEbidEidMap()
Returns:
Returns the rightEBidEidMap.

align

public java.util.Map align(InteractionStructure that)
generate alignment based on the entity id, i guess this should be changed to other condition for new release

Parameters:
that - the structure of the other interaction
Returns:
the mapping among entitywithlocation