Class OpexObjectLocationsReader

    • Field Detail

      • m_ID

        protected Field m_ID
        the field to use for the ID.
      • m_Timestamp

        protected Field m_Timestamp
        the field to use for the timestamp.
      • m_Prefix

        protected String m_Prefix
        the prefix to use for objects.
      • m_LabelSuffix

        protected String m_LabelSuffix
        the label suffix to use.
      • m_ScoreSuffix

        protected String m_ScoreSuffix
        the score suffix to use.
      • m_MetaPrefix

        protected String m_MetaPrefix
        the prefix for the meta-data.
    • Constructor Detail

      • OpexObjectLocationsReader

        public OpexObjectLocationsReader()
    • Method Detail

      • setID

        public void setID​(Field value)
        Sets the field to use for the ID.
        Parameters:
        value - the field
      • getID

        public Field getID()
        Returns the field to use for the ID.
        Returns:
        the field
      • IDTipText

        public String IDTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTimestamp

        public void setTimestamp​(Field value)
        Sets the field to use for the timestamp.
        Parameters:
        value - the field
      • getTimestamp

        public Field getTimestamp()
        Returns the field to use for the timestamp.
        Returns:
        the field
      • timestampTipText

        public String timestampTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPrefix

        public void setPrefix​(String value)
        Sets the field prefix used in the report for the objects.
        Specified by:
        setPrefix in interface ObjectPrefixHandler
        Parameters:
        value - the field prefix
      • getPrefix

        public String getPrefix()
        Returns the field prefix used in the report for the objects.
        Specified by:
        getPrefix in interface ObjectPrefixHandler
        Returns:
        the field prefix
      • prefixTipText

        public String prefixTipText()
        Returns the tip text for this property.
        Specified by:
        prefixTipText in interface ObjectPrefixHandler
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setLabelSuffix

        public void setLabelSuffix​(String value)
        Sets the field suffix used in the report for labels.
        Parameters:
        value - the field suffix
      • getLabelSuffix

        public String getLabelSuffix()
        Returns the field suffix used in the report for labels.
        Returns:
        the field suffix
      • labelSuffixTipText

        public String labelSuffixTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setScoreSuffix

        public void setScoreSuffix​(String value)
        Sets the field suffix used in the report for scores.
        Parameters:
        value - the field suffix
      • getScoreSuffix

        public String getScoreSuffix()
        Returns the field suffix used in the report for scores.
        Returns:
        the field suffix
      • scoreSuffixTipText

        public String scoreSuffixTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setMetaPrefix

        public void setMetaPrefix​(String value)
        Sets the field prefix used in the report for the meta-data.
        Parameters:
        value - the field prefix
      • getMetaPrefix

        public String getMetaPrefix()
        Returns the field prefix used in the report for the meta-data.
        Returns:
        the field prefix
      • metaPrefixTipText

        public String metaPrefixTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • determineParentID

        protected int determineParentID​(Report report)
        Tries to determine the parent ID for the current report.
        Specified by:
        determineParentID in class AbstractReportReader<Report>
        Parameters:
        report - the report to determine the ID for
        Returns:
        the parent database ID, -1 if it cannot be determined
      • readData

        protected List<Report> readData​(opex4j.ObjectPredictions preds)
        Converts the predictions into a report.
        Parameters:
        preds - the predictions to convert
        Returns:
        the reports that were read