org.simulator.sedml
Class MultTableSEDMLWrapper

java.lang.Object
  extended by org.simulator.sedml.MultTableSEDMLWrapper
All Implemented Interfaces:
org.jlibsedml.execution.IProcessedSedMLSimulationResults, org.jlibsedml.execution.IRawSedmlSimulationResults

public class MultTableSEDMLWrapper
extends Object
implements org.jlibsedml.execution.IRawSedmlSimulationResults

This class adapts the native results to an interface that the SEDML processor can use to post-process results. This class can be used to access the raw results via the getMultiTable() method.

All methods accessing data access the underlying MultiTable object.
Changes to a MultiTable object will therefore be visible to this class, i.e., it does not make a separate copy of the data.

Since:
1.1
Version:
$Rev: 331 $
Author:
Richard Adams

Constructor Summary
MultTableSEDMLWrapper(MultiTable mTable)
           
 
Method Summary
 String[] getColumnHeaders()
           
 double[][] getData()
           
 Double[] getDataByColumnId(String id)
           
 Double[] getDataByColumnIndex(int indx)
           
 int getIndexByColumnID(String colID)
           
 org.jlibsedml.execution.IModel2DataMappings getMappings()
           
 MultiTable getMultiTable()
          Gets the underlying MultiTable wrapped by this class.
 int getNumColumns()
           
 int getNumDataRows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultTableSEDMLWrapper

public MultTableSEDMLWrapper(MultiTable mTable)
Method Detail

getMultiTable

public MultiTable getMultiTable()
Gets the underlying MultiTable wrapped by this class.

Returns:
table

getColumnHeaders

public String[] getColumnHeaders()
Specified by:
getColumnHeaders in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults

getData

public double[][] getData()
Specified by:
getData in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults

getDataByColumnId

public Double[] getDataByColumnId(String id)
Specified by:
getDataByColumnId in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults

getDataByColumnIndex

public Double[] getDataByColumnIndex(int indx)
Specified by:
getDataByColumnIndex in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults

getIndexByColumnID

public int getIndexByColumnID(String colID)
Specified by:
getIndexByColumnID in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults

getNumColumns

public int getNumColumns()
Specified by:
getNumColumns in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults

getNumDataRows

public int getNumDataRows()
Specified by:
getNumDataRows in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults

getMappings

public org.jlibsedml.execution.IModel2DataMappings getMappings()
Specified by:
getMappings in interface org.jlibsedml.execution.IRawSedmlSimulationResults

Generated December 13 2012