fr.ens.transcriptome.doelan.data
Class QualityTestSuiteList

java.lang.Object
  extended byfr.ens.transcriptome.doelan.data.QualityTestSuiteList

public class QualityTestSuiteList
extends java.lang.Object

This class defines a container for testsuites.

Author:
Laurent Jourdren

Constructor Summary
QualityTestSuiteList()
           
 
Method Summary
 void addChipType(java.lang.String chipType)
          Add a chip type to the list
 void addTestSuite(java.lang.String chipType, QualityTestSuiteURL testSuiteURL)
          Add a testSuite to the list
 void clear()
          Clear the list.
 java.lang.String getChipType(QualityTestSuiteURL url)
          Get the type of a test suite from this test suite url.
 java.lang.String[] getChipTypes()
          Get the type list of the TestSuites
 QualityTestSuiteURL[] getTestSuiteURLs(java.lang.String chipType)
          Return all the TestSuiteURL for a chip type
 boolean isATestSuite()
          Test if a test suite is set.
 void removeChipType(java.lang.String chipType)
          Remove a chip if it is empty.
 void removeTestSuite(QualityTestSuiteURL testSuiteURL)
          Remove a test suite
 void renameChipType(java.lang.String oldName, java.lang.String newName)
          Rename a chip type
 void renameTestSuite(java.lang.String chipType, java.lang.String oldName, java.lang.String newName)
          Rename a test suite
 int size()
          Return the number of chip types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualityTestSuiteList

public QualityTestSuiteList()
Method Detail

addTestSuite

public void addTestSuite(java.lang.String chipType,
                         QualityTestSuiteURL testSuiteURL)
                  throws DoelanException
Add a testSuite to the list

Parameters:
chipType - Type of the TestSuite
testSuiteURL - TestSuite to add
Throws:
DoelanException - if an error occur while adding the element

addChipType

public void addChipType(java.lang.String chipType)
                 throws DoelanException
Add a chip type to the list

Parameters:
chipType - Type of the TestSuite
Throws:
DoelanException - if an error occurs while adding a new chip type

removeTestSuite

public void removeTestSuite(QualityTestSuiteURL testSuiteURL)
                     throws DoelanException
Remove a test suite

Parameters:
testSuiteURL - Test suite to remove
Throws:
DoelanException - if an error occur while removing the element

removeChipType

public void removeChipType(java.lang.String chipType)
                    throws DoelanException
Remove a chip if it is empty.

Parameters:
chipType - The chip type to remove
Throws:
DoelanException - if an error occur while removing the element

renameChipType

public void renameChipType(java.lang.String oldName,
                           java.lang.String newName)
                    throws DoelanException
Rename a chip type

Parameters:
oldName - Old name of the chip type
newName - New name of the chip type
Throws:
DoelanException - if an error occur while removing the element

renameTestSuite

public void renameTestSuite(java.lang.String chipType,
                            java.lang.String oldName,
                            java.lang.String newName)
                     throws DoelanException
Rename a test suite

Parameters:
chipType - Chip type of the test suite to rename
oldName - Old name of the test suite
newName - New name of the test suite
Throws:
DoelanException - if an error occurs while renaming the test suite

clear

public void clear()
Clear the list.


getChipTypes

public java.lang.String[] getChipTypes()
Get the type list of the TestSuites

Returns:
An array string with the names of the types

getTestSuiteURLs

public QualityTestSuiteURL[] getTestSuiteURLs(java.lang.String chipType)
Return all the TestSuiteURL for a chip type

Parameters:
chipType - Chip type of the testsuites
Returns:
An array of TestSuiteURL

getChipType

public java.lang.String getChipType(QualityTestSuiteURL url)
Get the type of a test suite from this test suite url.

Parameters:
url - URL of the test suite.
Returns:
The type of the test suite

size

public int size()
Return the number of chip types.

Returns:
The number of chip types

isATestSuite

public boolean isATestSuite()
Test if a test suite is set.

Returns:
true if a test suite is set.


Copyright © 2004-2005 École Normale Supérieure Microarray Platform. All Rights Reserved.