Class TextToAnalyze


  • public class TextToAnalyze
    extends java.lang.Object
    Class that represents a json for calls in http methods to apply emotion analysis.
    Author:
    Ariadna de Arriba
    • Constructor Summary

      Constructors 
      Constructor Description
      TextToAnalyze()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getText()
      Getter for text to analyze.
      void setText​(java.lang.String text)
      Setter for text to analyze.
      • Methods inherited from class java.lang.Object

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

      • TextToAnalyze

        public TextToAnalyze()
    • Method Detail

      • getText

        public java.lang.String getText()
        Getter for text to analyze.
        Returns:
        Returns a string with text to analyze.
      • setText

        public void setText​(java.lang.String text)
        Setter for text to analyze.
        Parameters:
        text - Text to analyze.