SigPath

org.sigpath.bioimport.reaction2
Class Formula

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

public class Formula
extends Object
implements Serializable

can be an expression like k*p1*p2, but also a numerical value (0 for instance)

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

Constructor Summary
Formula()
           
 
Method Summary
 String getBackward()
          Returns the value of field 'backward'.
 String getForward()
          Returns the value of field 'forward'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setBackward(String backward)
          Sets the value of field 'backward'.
 void setForward(String forward)
          Sets the value of field 'forward'.
static Formula 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

Formula

public Formula()
Method Detail

getBackward

public String getBackward()
Returns the value of field 'backward'.

Returns:
String

getForward

public String getForward()
Returns the value of field 'forward'.

Returns:
String

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

setBackward

public void setBackward(String backward)
Sets the value of field 'backward'.

Parameters:
backward - the value of field 'backward'.

setForward

public void setForward(String forward)
Sets the value of field 'forward'.

Parameters:
forward - the value of field 'forward'.

unmarshal

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

Parameters:
reader -
Returns:
Formula
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException

SigPath

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