Class BaseFileInfo.ChildBioAssay
java.lang.Object
net.sf.basedb.util.importer.spotdata.BaseFileInfo.ChildBioAssay
- Enclosing class:
- BaseFileInfo
Keeps information about a new child bioassay from
the 'assays' section or 'spot' sections.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChild()
Get the real child bioassay object once it has been created and scheduled for saving into the database.int
Get the id of the child bioassay as it appears in the BASEfile.getName()
Get the name of the child bioassay.Get the parent assays of this child.void
Set the real child bioassay object.void
setFileId
(int fileId) Set the id of the child bioassay as it appears in the BASEfile.void
Set the name of the child bioassay.void
setParents
(Set<Integer> parents) Set the parents for this child.
-
Field Details
-
fileId
private int fileId -
name
-
parents
-
child
-
-
Constructor Details
-
ChildBioAssay
public ChildBioAssay()Create a new object. -
ChildBioAssay
public ChildBioAssay(int fileId) Create a new object
-
-
Method Details
-
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
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
Set the name of the child bioassay. If null, the child will be given the same name as it's parent. -
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
Set the parents for this child. -
getChild
Get the real child bioassay object once it has been created and scheduled for saving into the database. -
setChild
Set the real child bioassay object.
-