Class ROIResult


  • public class ROIResult
    extends java.lang.Object
    Hosts the results of a call loading the ROI.
    Since:
    3.0-Beta4
    • Constructor Summary

      Constructors 
      Constructor Description
      ROIResult​(java.util.Collection<ROIData> rois)
      Creates a new instance.
      ROIResult​(java.util.Collection<ROIData> rois, long fileID)
      Creates a new instance.
      ROIResult​(java.util.Collection<ROIData> rois, long fileID, java.lang.Object result)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getFileID()
      Returns the id of the file.
      java.util.Collection<FolderData> getFolders()
      Get the available folders
      java.lang.Object getResult()
      Returns the result.
      java.util.Collection<ROIData> getROIs()
      Returns the collection of ROIs.
      void setFolders​(java.util.Collection<FolderData> folders)
      Sets the available folders
      void setResult​(java.lang.Object result)
      Sets the results.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ROIResult

        public ROIResult​(java.util.Collection<ROIData> rois)
        Creates a new instance.
        Parameters:
        rois - The collection of ROIs.
      • ROIResult

        public ROIResult​(java.util.Collection<ROIData> rois,
                         long fileID)
        Creates a new instance.
        Parameters:
        rois - The collection of ROIs.
        fileID - The id of the file.
      • ROIResult

        public ROIResult​(java.util.Collection<ROIData> rois,
                         long fileID,
                         java.lang.Object result)
        Creates a new instance.
        Parameters:
        rois - The collection of ROIs.
        fileID - The id of the file.
        result - The result table associated to the ROIS.
    • Method Detail

      • setResult

        public void setResult​(java.lang.Object result)
        Sets the results.
        Parameters:
        result - The value to set.
      • getROIs

        public java.util.Collection<ROIData> getROIs()
        Returns the collection of ROIs.
        Returns:
        See above.
      • getFileID

        public long getFileID()
        Returns the id of the file.
        Returns:
        See above.
      • getResult

        public java.lang.Object getResult()
        Returns the result.
        Returns:
        See above.
      • setFolders

        public void setFolders​(java.util.Collection<FolderData> folders)
        Sets the available folders
        Parameters:
        folders - The folders
      • getFolders

        public java.util.Collection<FolderData> getFolders()
        Get the available folders
        Returns:
        See above.