comirva
Class Workspace

java.lang.Object
  extended by comirva.Workspace
All Implemented Interfaces:
java.io.Serializable

public class Workspace
extends java.lang.Object
implements java.io.Serializable

This class implements a workspace environment containing data matrices and meta-data instances and the respective lists.

Author:
Markus Schedl
See Also:
Serialized Form

Constructor Summary
Workspace()
          Creates a new empty instance of the Workspace.
 
Method Summary
 void addMatrix(DataMatrix dm, java.lang.String name)
          Adds a data matrix to the Workspace instance.
 void addMetaData(java.util.Vector meta, java.lang.String name)
          Adds a meta-data Vector to the Workspace instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Workspace

public Workspace()
Creates a new empty instance of the Workspace.

Method Detail

addMetaData

public void addMetaData(java.util.Vector meta,
                        java.lang.String name)
Adds a meta-data Vector to the Workspace instance.

Parameters:
meta - a Vector containing the meta-data as Strings
name - a String containing a name for the meta-data which is shown in CoMIRVA's UI

addMatrix

public void addMatrix(DataMatrix dm,
                      java.lang.String name)
Adds a data matrix to the Workspace instance.

Parameters:
dm - a DataMatrix representing the data matrix to be inserted
name - a String containing a name for the data matrix which is shown in CoMIRVA's UI