Interface Threadable<T extends Threadable<T>>

  • Type Parameters:
    T - The Threadable implementation.
    All Known Implementing Classes:
    Article

    public interface Threadable<T extends Threadable<T>>
    A placeholder interface for threadable message objects.
    • Method Detail

      • isDummy

        boolean isDummy()
        Tests whether this is a dummy instance.
        Returns:
        whether this is a dummy instance.
      • makeDummy

        T makeDummy()
        Creates a dummy instance.
        Returns:
        a dummy instance.
      • messageThreadId

        java.lang.String messageThreadId()
        Gets an ID.
        Returns:
        an ID.
      • messageThreadReferences

        java.lang.String[] messageThreadReferences()
        Gets reference strings.
        Returns:
        reference strings.
      • setChild

        void setChild​(T child)
        Sets the child instance.
        Parameters:
        child - the child instance.
      • setNext

        void setNext​(T next)
        Sets the next instance.
        Parameters:
        next - the next instance.
      • simplifiedSubject

        java.lang.String simplifiedSubject()
        Gets the simplified subject.
        Returns:
        the simplified subject.
      • subjectIsReply

        boolean subjectIsReply()
        Tests whether this is a reply.
        Returns:
        whether this is a reply.