Class Term

    • Constructor Detail

      • Term

        public Term​(String text)
        Creates a Term object with a given text.
        Parameters:
        text - the text of the term.
      • Term

        public Term​(Term original)
        Copy constructor.
        Parameters:
        original - the original object to duplicate.
    • Method Detail

      • getText

        public String getText()
        Get the text of this field.
        Returns:
        the text of this field (can be null).
      • setText

        public void setText​(String text)
        Sets the text of this field.
        Parameters:
        text - the new text of this field (can be null).
      • getSource

        public String getSource()
        Gets the source of this field.
        Returns:
        the source of this field (can be null).
      • setSource

        public void setSource​(String source)
        sets the source of this field.
        Parameters:
        source - the new source of this field (can be null).
      • equals

        public boolean equals​(Object obj)
        Description copied from class: DataWithExtAttributes
        Indicates if this object is equals to a given one.
        Overrides:
        equals in class DataWithExtAttributes
        Parameters:
        obj - the other object to compare.
        Returns:
        true if the two objects are identical.