2.17.2: 2011-06-17

net.sf.basedb.util.importer.spotdata
Class BaseFileInfo.ChildBioAssay

java.lang.Object
  extended by net.sf.basedb.util.importer.spotdata.BaseFileInfo.ChildBioAssay
Enclosing class:
BaseFileInfo

public static class BaseFileInfo.ChildBioAssay
extends Object

Keeps information about a new child bioassay from the 'assays' section or 'spot' sections.


Field Summary
private  BioAssay child
           
private  int fileId
           
private  String name
           
private  Set<Integer> parents
           
 
Constructor Summary
BaseFileInfo.ChildBioAssay()
          Create a new object.
BaseFileInfo.ChildBioAssay(int fileId)
          Create a new object
 
Method Summary
 BioAssay getChild()
          Get the real child bioassay object once it has been created and scheduled for saving into the database.
 int getFileId()
          Get the id of the child bioassay as it appears in the BASEfile.
 String getName()
          Get the name of the child bioassay.
 Set<Integer> getParents()
          Get the parent assays of this child.
 void setChild(BioAssay child)
          Set the real child bioassay object.
 void setFileId(int fileId)
          Set the id of the child bioassay as it appears in the BASEfile.
 void setName(String name)
          Set the name of the child bioassay.
 void setParents(Set<Integer> parents)
          Set the parents for this child.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileId

private int fileId

name

private String name

parents

private Set<Integer> parents

child

private BioAssay child
Constructor Detail

BaseFileInfo.ChildBioAssay

public BaseFileInfo.ChildBioAssay()
Create a new object.


BaseFileInfo.ChildBioAssay

public BaseFileInfo.ChildBioAssay(int fileId)
Create a new object

Method Detail

getFileId

public int getFileId()
Get the id of the child bioassay as it appears in the BASEfile. This is either the same as the id of a parent bioassay or an internal id only.


setFileId

public void setFileId(int fileId)
Set the id of the child bioassay as it appears in the BASEfile.


getName

public String getName()
Get the name of the child bioassay. May return null if the BASEfile doesn't specify a name in which case the child will get the same name as it's parent.


setName

public void setName(String name)
Set the name of the child bioassay. If null, the child will be given the same name as it's parent.


getParents

public Set<Integer> getParents()
Get the parent assays of this child. If no parents has been specified, the parent assay is the one that has the same id as the file id.


setParents

public void setParents(Set<Integer> parents)
Set the parents for this child.


getChild

public BioAssay getChild()
Get the real child bioassay object once it has been created and scheduled for saving into the database.

See Also:
BaseFileImporter.createChildBioAssays(DbControl, BioAssaySet, BaseFileInfo, boolean)

setChild

public void setChild(BioAssay child)
Set the real child bioassay object.


2.17.2: 2011-06-17