SigPath

org.sigpath.bioimport.reaction2
Class Left

java.lang.Object
  extended by org.sigpath.bioimport.reaction2.Left
All Implemented Interfaces:
Serializable

public class Left
extends Object
implements Serializable

Contains molecules on the left side of a reaction

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Left()
           
 
Method Summary
 void addMolecule(int index, Molecule vMolecule)
          Method addMolecule
 void addMolecule(Molecule vMolecule)
          Method addMolecule
 void clearMolecule()
          Method clearMolecule
 Enumeration enumerateMolecule()
          Method enumerateMolecule
 Molecule[] getMolecule()
          Method getMolecule
 Molecule getMolecule(int index)
          Method getMolecule
 int getMoleculeCount()
          Method getMoleculeCount
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 boolean removeMolecule(Molecule vMolecule)
          Method removeMolecule
 void setMolecule(int index, Molecule vMolecule)
          Method setMolecule
 void setMolecule(Molecule[] moleculeArray)
          Method setMolecule
static Left unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Left

public Left()
Method Detail

addMolecule

public void addMolecule(Molecule vMolecule)
                 throws IndexOutOfBoundsException
Method addMolecule

Parameters:
vMolecule -
Throws:
IndexOutOfBoundsException

addMolecule

public void addMolecule(int index,
                        Molecule vMolecule)
                 throws IndexOutOfBoundsException
Method addMolecule

Parameters:
index -
vMolecule -
Throws:
IndexOutOfBoundsException

clearMolecule

public void clearMolecule()
Method clearMolecule


enumerateMolecule

public Enumeration enumerateMolecule()
Method enumerateMolecule

Returns:
Enumeration

getMolecule

public Molecule getMolecule(int index)
                     throws IndexOutOfBoundsException
Method getMolecule

Parameters:
index -
Returns:
Molecule
Throws:
IndexOutOfBoundsException

getMolecule

public Molecule[] getMolecule()
Method getMolecule

Returns:
Molecule

getMoleculeCount

public int getMoleculeCount()
Method getMoleculeCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

removeMolecule

public boolean removeMolecule(Molecule vMolecule)
Method removeMolecule

Parameters:
vMolecule -
Returns:
boolean

setMolecule

public void setMolecule(int index,
                        Molecule vMolecule)
                 throws IndexOutOfBoundsException
Method setMolecule

Parameters:
index -
vMolecule -
Throws:
IndexOutOfBoundsException

setMolecule

public void setMolecule(Molecule[] moleculeArray)
Method setMolecule

Parameters:
moleculeArray -

unmarshal

public static Left unmarshal(Reader reader)
                      throws MarshalException,
                             ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Left
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.