edu.iastate.metnet.dao
Class MetnetInteraction

java.lang.Object
  extended by edu.iastate.metnet.dao.MetnetBlockUnit
      extended by edu.iastate.metnet.dao.MetnetInteraction
All Implemented Interfaces:
IMetnetBlockUnit, java.io.Serializable

public class MetnetInteraction
extends MetnetBlockUnit

interaction nodes in the graph, should handle catalysis secifically

Since:
6/17/04
Author:
Jie Li
See Also:
Serialized Form

Field Summary
protected  java.util.Set leftPart
          left part's blockid as Integer
protected  java.util.Set rightPart
          right part's blockid as Integer
 
Fields inherited from class edu.iastate.metnet.dao.MetnetBlockUnit
blockunit, buffer, ID, logger
 
Constructor Summary
MetnetInteraction()
          default constructor
MetnetInteraction(Blockunit blockunit)
           
 
Method Summary
 java.lang.String getConfidence()
           
 java.lang.String getEC()
           
 java.util.Set getEdgeSet()
           
 java.lang.String getEnzyme()
           
 java.lang.String getInteractionType()
           
 java.lang.String getKi()
           
 java.lang.String getKm()
           
 java.util.Set getLeftPart()
           
 java.lang.String getProReversal()
           
 java.util.Set getRightPart()
           
 java.lang.String getStrength()
           
 java.lang.String getSubtype()
           
 java.lang.String getTimescale()
           
 java.util.Set getVertexSet()
           
 java.lang.String getVmax()
           
 boolean isPropertyChanged()
          detect if the content is changed or not.
 boolean isStructureChanged()
          interaction is only determined by the structure, so if some other properties are changed, the credit still goes to original user and source
protected  void setLeftPart()
           
protected  void setRightPart()
           
 java.lang.String toString()
          do not display anything in the JGraph
 
Methods inherited from class edu.iastate.metnet.dao.MetnetBlockUnit
getAracycID, getBlockunit, getBuffer, getDate, getId, getID, getLocation, getName, getOrganism, getSource, getType, getUsername, setBlockunit, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

leftPart

protected java.util.Set leftPart
left part's blockid as Integer


rightPart

protected java.util.Set rightPart
right part's blockid as Integer

Constructor Detail

MetnetInteraction

public MetnetInteraction()
default constructor


MetnetInteraction

public MetnetInteraction(Blockunit blockunit)
Method Detail

getEdgeSet

public java.util.Set getEdgeSet()

getVertexSet

public java.util.Set getVertexSet()

getLeftPart

public java.util.Set getLeftPart()

getRightPart

public java.util.Set getRightPart()

isStructureChanged

public boolean isStructureChanged()
interaction is only determined by the structure, so if some other properties are changed, the credit still goes to original user and source

Returns:
true if content is changed

isPropertyChanged

public boolean isPropertyChanged()
detect if the content is changed or not. The user editable properties include interaction type, direction, confidence, reference and comment.

Specified by:
isPropertyChanged in interface IMetnetBlockUnit
Specified by:
isPropertyChanged in class MetnetBlockUnit
Returns:
true if changed, false if not

setLeftPart

protected void setLeftPart()

setRightPart

protected void setRightPart()

getInteractionType

public java.lang.String getInteractionType()

getEC

public java.lang.String getEC()

getConfidence

public java.lang.String getConfidence()

getTimescale

public java.lang.String getTimescale()

getProReversal

public java.lang.String getProReversal()

getStrength

public java.lang.String getStrength()

getEnzyme

public java.lang.String getEnzyme()

getSubtype

public java.lang.String getSubtype()

getVmax

public java.lang.String getVmax()

getKm

public java.lang.String getKm()

getKi

public java.lang.String getKi()

toString

public java.lang.String toString()
do not display anything in the JGraph

Overrides:
toString in class MetnetBlockUnit