Class Informant


  • public class Informant
    extends Object
    Represents a piece of the input which informed a choice of a topic.
    • Constructor Detail

      • Informant

        public Informant()
    • Method Detail

      • getContent

        public String getContent()
        Returns the content of the informant
        Returns:
        the content of the informant
      • setContent

        public void setContent​(String content)
        Sets the content of the informant
        Parameters:
        content - content to be set
      • getStartTimestamp

        public Double getStartTimestamp()
        Returns the start timestamp of the content in the input
        Returns:
        the start timestamp of the content in the input
      • setStartTimestamp

        public void setStartTimestamp​(Double startTimestamp)
        Sets the start timestamp of the content in the input
        Parameters:
        startTimestamp - the start timestamp to be set
      • getEndTimestamp

        public Double getEndTimestamp()
        Returns the end timestamp of the content in the input
        Returns:
        the end timestamp of the content in the input
      • setEndTimestamp

        public void setEndTimestamp​(Double endTimestamp)
        Sets the end timestamp of the content in the input
        Parameters:
        endTimestamp - the end timestamp to be set
      • getOffset

        public Integer getOffset()
        Returns the character index at which the content started in the input
        Returns:
        the character index at which the content started in the input
      • setOffset

        public void setOffset​(Integer offset)
        Sets the character index at which the content started in the input
        Parameters:
        offset - the character index to be set
      • getLength

        public Integer getLength()
        Returns the character length of the content
        Returns:
        the character length of the content
      • setLength

        public void setLength​(Integer length)
        Sets the character length of the content
        Parameters:
        length - the character length to be set