org.jscience.ml.sbml
Class SBase

java.lang.Object
  extended by org.jscience.ml.sbml.SBase
Direct Known Subclasses:
EventAssignment, KineticLaw, ModifierSpeciesReference, Rule, SBaseId, SpeciesReference, StoichiometryMath, Unit

public class SBase
extends java.lang.Object

The base class for the main SBML Level 2 data types. This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.


Constructor Summary
protected SBase()
          Creates a new instance of SBase
 
Method Summary
 Annotations getAnnotations()
          Getter for property annotations.
 java.lang.String getMetaid()
          Getter for property metaid.
 Notes getNotes()
          Getter for property notes.
 java.lang.String getRDF()
          Gets the RDF String for this SBase object.
protected  void printList(java.lang.StringBuffer buffer, java.util.Collection list, java.lang.String header, java.lang.String footer)
          DOCUMENT ME!
protected  void printShortForm(java.lang.StringBuffer buffer, java.lang.String footer)
          DOCUMENT ME!
 void setMetaid(java.lang.String metaid)
          Setter for property metaid.
 void setRDF(java.lang.String rdf)
          Sets the RDF String for the SBase object.
 void setRDF(java.lang.String rdf, java.lang.String metaid)
          DOCUMENT ME!
 java.lang.String toString()
          The SBML for this element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SBase

protected SBase()
Creates a new instance of SBase

Method Detail

getAnnotations

public Annotations getAnnotations()
Getter for property annotations.

Returns:
Value of property annotations.

getMetaid

public java.lang.String getMetaid()
Getter for property metaid.

Returns:
Value of property metaid.

getNotes

public Notes getNotes()
Getter for property notes.

Returns:
Value of property notes.

getRDF

public java.lang.String getRDF()
Gets the RDF String for this SBase object.

Returns:
The RDF String.

setMetaid

public void setMetaid(java.lang.String metaid)
Setter for property metaid.

Parameters:
metaid - New value of property metaid.

setRDF

public void setRDF(java.lang.String rdf)
Sets the RDF String for the SBase object.

Parameters:
rdf - The RDF data to add.

setRDF

public void setRDF(java.lang.String rdf,
                   java.lang.String metaid)
DOCUMENT ME!

Parameters:
rdf - DOCUMENT ME!
metaid - DOCUMENT ME!

toString

public java.lang.String toString()
The SBML for this element.

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

printList

protected void printList(java.lang.StringBuffer buffer,
                         java.util.Collection list,
                         java.lang.String header,
                         java.lang.String footer)
DOCUMENT ME!

Parameters:
buffer - DOCUMENT ME!
list - DOCUMENT ME!
header - DOCUMENT ME!
footer - DOCUMENT ME!

printShortForm

protected void printShortForm(java.lang.StringBuffer buffer,
                              java.lang.String footer)
DOCUMENT ME!

Parameters:
buffer - DOCUMENT ME!
footer - DOCUMENT ME!