SigPath

org.sigpath.bioimport.reaction2
Class Components

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

public class Components
extends Object
implements Serializable

Groups complex and modified chemical definitions in SigPath

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

Constructor Summary
Components()
           
 
Method Summary
 void addComplex(Complex vComplex)
          Method addComplex
 void addComplex(int index, Complex vComplex)
          Method addComplex
 void addModifiedChemical(int index, ModifiedChemical vModifiedChemical)
          Method addModifiedChemical
 void addModifiedChemical(ModifiedChemical vModifiedChemical)
          Method addModifiedChemical
 void clearComplex()
          Method clearComplex
 void clearModifiedChemical()
          Method clearModifiedChemical
 Enumeration enumerateComplex()
          Method enumerateComplex
 Enumeration enumerateModifiedChemical()
          Method enumerateModifiedChemical
 Complex[] getComplex()
          Method getComplex
 Complex getComplex(int index)
          Method getComplex
 int getComplexCount()
          Method getComplexCount
 ModifiedChemical[] getModifiedChemical()
          Method getModifiedChemical
 ModifiedChemical getModifiedChemical(int index)
          Method getModifiedChemical
 int getModifiedChemicalCount()
          Method getModifiedChemicalCount
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 boolean removeComplex(Complex vComplex)
          Method removeComplex
 boolean removeModifiedChemical(ModifiedChemical vModifiedChemical)
          Method removeModifiedChemical
 void setComplex(Complex[] complexArray)
          Method setComplex
 void setComplex(int index, Complex vComplex)
          Method setComplex
 void setModifiedChemical(int index, ModifiedChemical vModifiedChemical)
          Method setModifiedChemical
 void setModifiedChemical(ModifiedChemical[] modifiedChemicalArray)
          Method setModifiedChemical
static Components 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

Components

public Components()
Method Detail

addComplex

public void addComplex(Complex vComplex)
                throws IndexOutOfBoundsException
Method addComplex

Parameters:
vComplex -
Throws:
IndexOutOfBoundsException

addComplex

public void addComplex(int index,
                       Complex vComplex)
                throws IndexOutOfBoundsException
Method addComplex

Parameters:
index -
vComplex -
Throws:
IndexOutOfBoundsException

addModifiedChemical

public void addModifiedChemical(ModifiedChemical vModifiedChemical)
                         throws IndexOutOfBoundsException
Method addModifiedChemical

Parameters:
vModifiedChemical -
Throws:
IndexOutOfBoundsException

addModifiedChemical

public void addModifiedChemical(int index,
                                ModifiedChemical vModifiedChemical)
                         throws IndexOutOfBoundsException
Method addModifiedChemical

Parameters:
index -
vModifiedChemical -
Throws:
IndexOutOfBoundsException

clearComplex

public void clearComplex()
Method clearComplex


clearModifiedChemical

public void clearModifiedChemical()
Method clearModifiedChemical


enumerateComplex

public Enumeration enumerateComplex()
Method enumerateComplex

Returns:
Enumeration

enumerateModifiedChemical

public Enumeration enumerateModifiedChemical()
Method enumerateModifiedChemical

Returns:
Enumeration

getComplex

public Complex getComplex(int index)
                   throws IndexOutOfBoundsException
Method getComplex

Parameters:
index -
Returns:
Complex
Throws:
IndexOutOfBoundsException

getComplex

public Complex[] getComplex()
Method getComplex

Returns:
Complex

getComplexCount

public int getComplexCount()
Method getComplexCount

Returns:
int

getModifiedChemical

public ModifiedChemical getModifiedChemical(int index)
                                     throws IndexOutOfBoundsException
Method getModifiedChemical

Parameters:
index -
Returns:
ModifiedChemical
Throws:
IndexOutOfBoundsException

getModifiedChemical

public ModifiedChemical[] getModifiedChemical()
Method getModifiedChemical

Returns:
ModifiedChemical

getModifiedChemicalCount

public int getModifiedChemicalCount()
Method getModifiedChemicalCount

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

removeComplex

public boolean removeComplex(Complex vComplex)
Method removeComplex

Parameters:
vComplex -
Returns:
boolean

removeModifiedChemical

public boolean removeModifiedChemical(ModifiedChemical vModifiedChemical)
Method removeModifiedChemical

Parameters:
vModifiedChemical -
Returns:
boolean

setComplex

public void setComplex(int index,
                       Complex vComplex)
                throws IndexOutOfBoundsException
Method setComplex

Parameters:
index -
vComplex -
Throws:
IndexOutOfBoundsException

setComplex

public void setComplex(Complex[] complexArray)
Method setComplex

Parameters:
complexArray -

setModifiedChemical

public void setModifiedChemical(int index,
                                ModifiedChemical vModifiedChemical)
                         throws IndexOutOfBoundsException
Method setModifiedChemical

Parameters:
index -
vModifiedChemical -
Throws:
IndexOutOfBoundsException

setModifiedChemical

public void setModifiedChemical(ModifiedChemical[] modifiedChemicalArray)
Method setModifiedChemical

Parameters:
modifiedChemicalArray -

unmarshal

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

Parameters:
reader -
Returns:
Components
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException

SigPath

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