Class BaseFileInfo.ChildBioAssay
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description ChildBioAssay()
Create a new object.ChildBioAssay(int fileId)
Create a new object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
getChild
public BioAssay getChild()
Get the real child bioassay object once it has been created and scheduled for saving into the database.
-
setChild
public void setChild(BioAssay child)
Set the real child bioassay object.
-
-