Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data
Class Interaction

java.lang.Object
  extended by cytoscape.data.Interaction

public class Interaction
extends Object

Interaction.java: protein-protein or protein-DNA: parse text file, encapsulate


Constructor Summary
Interaction(String rawText)
          Creates a new Interaction object.
Interaction(String rawText, String delimiter)
          Creates a new Interaction object.
Interaction(String source, String target, String interactionType)
          Creates a new Interaction object.
 
Method Summary
 String getSource()
          DOCUMENT ME!
 String[] getTargets()
          DOCUMENT ME!
 String getType()
          DOCUMENT ME!
 int numberOfTargets()
          DOCUMENT ME!
 String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Interaction

public Interaction(String source,
                   String target,
                   String interactionType)
Creates a new Interaction object.

Parameters:
source - DOCUMENT ME!
target - DOCUMENT ME!
interactionType - DOCUMENT ME!

Interaction

public Interaction(String rawText)
Creates a new Interaction object.

Parameters:
rawText - DOCUMENT ME!

Interaction

public Interaction(String rawText,
                   String delimiter)
Creates a new Interaction object.

Parameters:
rawText - DOCUMENT ME!
delimiter - DOCUMENT ME!
Method Detail

getSource

public String getSource()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getType

public String getType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

numberOfTargets

public int numberOfTargets()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTargets

public String[] getTargets()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public String toString()
DOCUMENT ME!

Overrides:
toString in class Object
Returns:
DOCUMENT ME!

www.cytoscape.org