Class 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 Detail

      • ChildBioAssay

        public ChildBioAssay()
        Create a new object.
      • ChildBioAssay

        public 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.
      • setChild

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