Last update: 2011-06-23

org.proteios.io.mzdata
Class MzDataExpCommonDc

java.lang.Object
  extended by org.proteios.io.mzdata.MzDataExpCommon
      extended by org.proteios.io.mzdata.MzDataExpCommonDc
Direct Known Subclasses:
MzDataExpCommonAnnotation

public class MzDataExpCommonDc
extends MzDataExpCommon

This class supports export of mzData files from Proteios. An mzData file contains information on a mass spectrometry experiment. Given a Proteios peakListSet, MzDataExporter fetches stored data related to this peakListSet and stores it in an mzData file.

Version:
2.0
Author:
Olle
Last modified
$Date: 2006-09-19 11:38:54 +0200 (Tue, 19 Sep 2006) $

Field Summary
protected  Annotator anna
           
protected  DbControl dc
           
protected  ItemFactory factory
           
 
Fields inherited from class org.proteios.io.mzdata.MzDataExpCommon
log
 
Constructor Summary
MzDataExpCommonDc(SessionControl sc)
          Default constructor.
 
Method Summary
 void enableAnnotator(DbControl dc)
          Make sure that Annotator exists, and that the DbControl is attached to it.
 void enableDbControl()
          Make sure that DbControl is running.
 void enableDbControl(BasicItem item)
          Make sure that DbControl is running, and that the item is attached to it.
 DbControl getDbControl()
          Get the DbControl.
 SessionControl getSessionControl()
           
 void setDbControl(DbControl dc)
          Set the DbControl.
 
Methods inherited from class org.proteios.io.mzdata.MzDataExpCommon
getBlockTagName, setBlockTagName, write, writeAttribute, writeEndTag, writeNamespace, writeSimpleElementPair, writeSimpleElementPair, writeSingleElementEnd, writeStartElement, writeStartElementEnd, writeStartListTag, writeStartTag, zeroPad, zeroPad, zeroPad
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dc

protected DbControl dc

factory

protected ItemFactory factory

anna

protected Annotator anna
Constructor Detail

MzDataExpCommonDc

public MzDataExpCommonDc(SessionControl sc)
Default constructor.

Method Detail

getSessionControl

public SessionControl getSessionControl()

getDbControl

public DbControl getDbControl()
Get the DbControl.

Returns:
dc DbControl the current DbControl.

setDbControl

public void setDbControl(DbControl dc)
Set the DbControl.

Parameters:
dc - DbControl the DbControl to set.

enableDbControl

public void enableDbControl()
Make sure that DbControl is running.


enableDbControl

public void enableDbControl(BasicItem item)
Make sure that DbControl is running, and that the item is attached to it.

Parameters:
item - BasicItem item to reattach to DbController

enableAnnotator

public void enableAnnotator(DbControl dc)
Make sure that Annotator exists, and that the DbControl is attached to it.

Parameters:
dc - DbControl to attach to Annotator

Last update: 2011-06-23