Interface Text

  • All Superinterfaces:
    java.lang.Cloneable
    All Known Implementing Classes:
    TextImpl

    public interface Text
    extends java.lang.Cloneable
    Representation of user configurable texts. A text consists of an id identifying the type of the text and the textual information itself.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clear()
      Clears all the fields in the test object
      Text clone()  
      java.lang.String getHandle()
      Reads the text handle
      java.lang.String getId()
      Reads the type of the text
      java.lang.String getText()
      Reads the text
      boolean hasTextChanged()
      checks whether the text or the id has been changed since the last invocation of resetTextChanged()
      void resetTextChanged()
      resets the text changed status to false
      void setHandle​(java.lang.String handle)
      Sets the handle (which is a temporary key to identify the object)
      void setId​(java.lang.String id)
      Sets the type of the text
      void setText​(java.lang.String text)
      Sets the text
    • Method Detail

      • setId

        void setId​(java.lang.String id)
        Sets the type of the text
        Parameters:
        id - The type to be set
      • setText

        void setText​(java.lang.String text)
        Sets the text
        Parameters:
        text - Text to be set
      • getText

        java.lang.String getText()
        Reads the text
        Returns:
        Text
      • getId

        java.lang.String getId()
        Reads the type of the text
        Returns:
        Type of text
      • getHandle

        java.lang.String getHandle()
        Reads the text handle
        Returns:
        handle representing this text
      • setHandle

        void setHandle​(java.lang.String handle)
        Sets the handle (which is a temporary key to identify the object)
        Parameters:
        handle - representing this text
      • clear

        void clear()
        Clears all the fields in the test object
      • clone

        Text clone()
        Returns:
        clone
        See Also:
        Object.clone()
      • hasTextChanged

        boolean hasTextChanged()
        checks whether the text or the id has been changed since the last invocation of resetTextChanged()
        Returns:
        true, only if the text has been changed
      • resetTextChanged

        void resetTextChanged()
        resets the text changed status to false