|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.io.RobotFileImpl
public class RobotFileImpl
This class implements the RobotFileInterface that defines methods to retrieve data from a Spot Handling Workstation robot file.
| Constructor Summary | |
|---|---|
RobotFileImpl()
Default constructor. |
|
RobotFileImpl(File inputFile)
Constructor that takes a proteios File as parameter. |
|
RobotFileImpl(InputStream xmlInputStream)
Constructor that takes a robot XML input stream as parameter. |
|
| Method Summary | |
|---|---|
List<String> |
getGelIdFromMicroPlate(List<String> plateIds,
List<String> wellIds)
Get list of gel ids for specified well and plate ids. |
String |
getGelIdFromMicroPlate(String plateId,
String wellId)
Get gel id for specified well and plate id. |
List<String> |
getGelIdFromTargetPlate(List<String> targetIds,
List<String> positionIds)
Get list of target gel ids for specified target ids and target position (well) ids. |
String |
getGelIdFromTargetPlate(String targetId,
String positionId)
Get target gel id for specified target id and target position (well) id. |
List<String> |
getGelIdList()
Get gel ids. |
List<String> |
getPlateIdFromMicroPlate(List<String> spotIds,
List<String> gelIds)
Get list of plate ids for specified spot ids and gel ids. |
String |
getPlateIdFromMicroPlate(String spotId,
String gelId)
Get plate id for specified spot id and gel id. |
String |
getPlateIdFromTargetPlate(String microtitrePlateId,
String microtitrePlatePos)
Get target plate id for a microtitre plate id and position. |
List<String> |
getPlateIdListFromMicroPlate()
Get plate ids. |
String |
getPlatePosFromTargetPlate(String microtitrePlateId,
String microtitrePlatePos)
Get target plate position for a microtitre plate id and position. |
List<String> |
getPositionIdFromTargetPlate(List<String> spotIds,
List<String> gelIds)
Get list of target position ids for specified target spot ids and gel ids. |
String |
getPositionIdFromTargetPlate(String spotId,
String gelId)
Get target position id for specified target spot id and gel id. |
List<String> |
getSpotIdFromMicroPlate(List<String> plateIds,
List<String> wellIds)
Get list of spot ids for specified well and plate ids. |
String |
getSpotIdFromMicroPlate(String plateId,
String wellId)
Get spot id for specified well and plate id. |
List<String> |
getSpotIdFromTargetPlate(List<String> targetIds,
List<String> positionIds)
Get list of target spot ids for specified target ids and target position (well) ids. |
String |
getSpotIdFromTargetPlate(String targetId,
String positionId)
Get target spot id for specified target id and target position (well) id. |
List<String> |
getSpotIdListFromMicroPlate(String gelId)
Get spot ids for given gel id. |
List<String> |
getTargetIdFromTargetPlate(List<String> spotIds,
List<String> gelIds)
Get list of target ids for specified target spot ids and gel ids. |
String |
getTargetIdFromTargetPlate(String spotId,
String gelId)
Get target id for specified target spot id and gel id. |
List<String> |
getTargetIdListFromTargetPlate()
Get target ids. |
List<String> |
getTargetPlateIdFromTargetPlate(List<String> targetIds,
List<String> positionIds)
Get list of target plate ids for specified target ids and target position (well) ids. |
String |
getTargetPlateIdFromTargetPlate(String targetId,
String positionId)
Get target plate id for specified target id and target position (well) id. |
String |
getTargetPositionExampleFromTargetPlate()
Get target position example from input stream. |
String |
getWellIdExampleFromMicroPlate()
Get well id example from input stream. |
List<String> |
getWellIdFromMicroPlate(List<String> spotIds,
List<String> gelIds)
Get list of well ids for specified spot ids and gel ids. |
String |
getWellIdFromMicroPlate(String spotId,
String gelId)
Get well id for specified spot id and gel id. |
InputStream |
getXMLInputStream()
Get robot XML input stream. |
String |
getXsdFilePath()
Get XSD schema file to validate against. |
boolean |
importable()
Validates first element of input stream. |
void |
setXMLInputStream(InputStream xmlInputStream)
Set robot XML input stream. |
void |
setXsdFilePath(String xsdFilePath)
Set XSD schema file to validate against. |
boolean |
valid()
Validates spot picker XML input stream against current XSD file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RobotFileImpl()
public RobotFileImpl(File inputFile)
inputFile - InputFile robot XML File.public RobotFileImpl(InputStream xmlInputStream)
xmlInputStream - InputStream robot XML input stream.| Method Detail |
|---|
public InputStream getXMLInputStream()
public void setXMLInputStream(InputStream xmlInputStream)
xmlInputStream - InputStream robot XML input stream.public String getXsdFilePath()
public void setXsdFilePath(String xsdFilePath)
xsdFilePath - String with path for XSD schema file.
public boolean valid()
throws javax.xml.stream.XMLStreamException,
SAXException
valid in interface FileValidationInterfacejavax.xml.stream.XMLStreamException - If there is an XML Stream related error
SAXExceptionpublic boolean importable()
importable in interface FileValidationInterfacepublic String getWellIdExampleFromMicroPlate()
public String getTargetPositionExampleFromTargetPlate()
public String getSpotIdFromMicroPlate(String plateId,
String wellId)
getSpotIdFromMicroPlate in interface RobotFileInterfaceplateId - String plate idwellId - String well id
public List<String> getSpotIdFromMicroPlate(List<String> plateIds,
List<String> wellIds)
getSpotIdFromMicroPlate in interface RobotFileInterfaceplateIds - ListwellIds - List
public String getGelIdFromMicroPlate(String plateId,
String wellId)
getGelIdFromMicroPlate in interface RobotFileInterfaceplateId - String plate idwellId - String well id
public List<String> getGelIdFromMicroPlate(List<String> plateIds,
List<String> wellIds)
getGelIdFromMicroPlate in interface RobotFileInterfaceplateIds - ListwellIds - List
public String getWellIdFromMicroPlate(String spotId,
String gelId)
getWellIdFromMicroPlate in interface RobotFileInterfacespotId - String spot idgelId - String gel id
public List<String> getWellIdFromMicroPlate(List<String> spotIds,
List<String> gelIds)
getWellIdFromMicroPlate in interface RobotFileInterfacespotIds - ListgelIds - List
public String getPlateIdFromMicroPlate(String spotId,
String gelId)
getPlateIdFromMicroPlate in interface RobotFileInterfacespotId - String spot idgelId - String gel id
public List<String> getPlateIdFromMicroPlate(List<String> spotIds,
List<String> gelIds)
getPlateIdFromMicroPlate in interface RobotFileInterfacespotIds - ListgelIds - List
public String getSpotIdFromTargetPlate(String targetId,
String positionId)
getSpotIdFromTargetPlate in interface RobotFileInterfacetargetId - String target idpositionId - String target position id
public List<String> getSpotIdFromTargetPlate(List<String> targetIds,
List<String> positionIds)
getSpotIdFromTargetPlate in interface RobotFileInterfacetargetIds - ListpositionIds - List
public String getGelIdFromTargetPlate(String targetId,
String positionId)
getGelIdFromTargetPlate in interface RobotFileInterfacetargetId - String target idpositionId - String target position id
public List<String> getGelIdFromTargetPlate(List<String> targetIds,
List<String> positionIds)
getGelIdFromTargetPlate in interface RobotFileInterfacetargetIds - ListpositionIds - List
public String getTargetPlateIdFromTargetPlate(String targetId,
String positionId)
getTargetPlateIdFromTargetPlate in interface RobotFileInterfacetargetId - String target idpositionId - String target position id
public List<String> getTargetPlateIdFromTargetPlate(List<String> targetIds,
List<String> positionIds)
getTargetPlateIdFromTargetPlate in interface RobotFileInterfacetargetIds - ListpositionIds - List
public String getPositionIdFromTargetPlate(String spotId,
String gelId)
getPositionIdFromTargetPlate in interface RobotFileInterfacespotId - String target spot idgelId - String target gel id
public List<String> getPositionIdFromTargetPlate(List<String> spotIds,
List<String> gelIds)
getPositionIdFromTargetPlate in interface RobotFileInterfacespotIds - ListgelIds - List
public String getTargetIdFromTargetPlate(String spotId,
String gelId)
getTargetIdFromTargetPlate in interface RobotFileInterfacespotId - String target spot idgelId - String target gel id
public List<String> getTargetIdFromTargetPlate(List<String> spotIds,
List<String> gelIds)
getTargetIdFromTargetPlate in interface RobotFileInterfacespotIds - ListgelIds - Listpublic List<String> getPlateIdListFromMicroPlate()
getPlateIdListFromMicroPlate in interface RobotFileInterfacepublic List<String> getTargetIdListFromTargetPlate()
getTargetIdListFromTargetPlate in interface RobotFileInterfacepublic List<String> getGelIdList()
getGelIdList in interface RobotFileInterfacepublic List<String> getSpotIdListFromMicroPlate(String gelId)
getSpotIdListFromMicroPlate in interface RobotFileInterfacegelId -
public String getPlateIdFromTargetPlate(String microtitrePlateId,
String microtitrePlatePos)
microtitrePlateId - The source microtitre platemicrotitrePlatePos - The position in the source microtitre plate
public String getPlatePosFromTargetPlate(String microtitrePlateId,
String microtitrePlatePos)
microtitrePlateId - The source microtitre platemicrotitrePlatePos - The position in the source microtitre plate
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||