org.geworkbench.util.network
Class InteractionDetail

java.lang.Object
  extended by org.geworkbench.util.network.InteractionDetail
All Implemented Interfaces:
java.io.Serializable

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

The deatil of one interaction.

Version:
$Id: InteractionDetail.java 10009 2012-10-08 19:59:16Z zji $
See Also:
Serialized Form

Field Summary
static java.lang.String ENTREZ_GENE
           
 
Constructor Summary
InteractionDetail(java.lang.String dSGeneId, java.lang.String dSGeneName, java.lang.String dbSource, java.lang.String interactionType, java.lang.String interactionId, java.lang.Short evidenceId)
           
 
Method Summary
 void addConfidence(double score, short type)
           
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.Short> getConfidenceTypes()
           
 double getConfidenceValue(int usedConfidenceType)
           
 java.lang.String getDbSource()
           
 java.lang.String getdSGeneId()
           
 java.lang.String getdSGeneName()
           
 java.lang.Short getEvidenceId()
           
 java.lang.String getInteractionGene()
           
 java.lang.String getInteractionType()
           
 int hashCode()
           
 boolean isGeneEntrezId()
           
 void setDbSource(java.lang.String dbSource)
           
 void setdSGeneId(java.lang.String dSGeneId)
           
 void setdSGeneName(java.lang.String dSGeneName)
           
 void setInteraactionType(java.lang.String interactionType)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTREZ_GENE

public static final java.lang.String ENTREZ_GENE
See Also:
Constant Field Values
Constructor Detail

InteractionDetail

public InteractionDetail(java.lang.String dSGeneId,
                         java.lang.String dSGeneName,
                         java.lang.String dbSource,
                         java.lang.String interactionType,
                         java.lang.String interactionId,
                         java.lang.Short evidenceId)
Method Detail

getdSGeneId

public java.lang.String getdSGeneId()

getInteractionGene

public java.lang.String getInteractionGene()

setdSGeneId

public void setdSGeneId(java.lang.String dSGeneId)

getdSGeneName

public java.lang.String getdSGeneName()

setdSGeneName

public void setdSGeneName(java.lang.String dSGeneName)

getDbSource

public java.lang.String getDbSource()

setDbSource

public void setDbSource(java.lang.String dbSource)

isGeneEntrezId

public boolean isGeneEntrezId()

getConfidenceValue

public double getConfidenceValue(int usedConfidenceType)

getConfidenceTypes

public java.util.List<java.lang.Short> getConfidenceTypes()

addConfidence

public void addConfidence(double score,
                          short type)

getInteractionType

public java.lang.String getInteractionType()

setInteraactionType

public void setInteraactionType(java.lang.String interactionType)

getEvidenceId

public java.lang.Short getEvidenceId()

equals

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

hashCode

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