Packages

c

ch.usi.inf.reveal.parsing.artifact

StackOverflowComment

case class StackOverflowComment(id: Int, postId: Int, creationDate: Date, replyToUser: Option[StackOverflowUser], score: Int, isEdited: Boolean, owner: Option[StackOverflowUser], informationUnits: Seq[InformationUnit]) extends StackOverflowElement with Product with Serializable

A Stack Overflow comment to a post.

id

the comment id, as from the dump.

postId

the id of the post (question or answer) this comment was posted to.

creationDate

the date this comment was created.

replyToUser

optionally, the user on which this comment was a reply for.

score

the score of this comment.

isEdited

if the score has ever been edited.

owner

the poster of this comment, if present.

See also

Stack Overflow Comment API documentation

Linear Supertypes
Serializable, Serializable, Product, Equals, StackOverflowElement, JsonSerializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StackOverflowComment
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. StackOverflowElement
  7. JsonSerializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StackOverflowComment(id: Int, postId: Int, creationDate: Date, replyToUser: Option[StackOverflowUser], score: Int, isEdited: Boolean, owner: Option[StackOverflowUser], informationUnits: Seq[InformationUnit])

    builds a new comment (used only for parsing).

    builds a new comment (used only for parsing).

    id

    the comment id, as from the dump.

    postId

    the id of the post (question or answer) this comment was posted to.

    creationDate

    the date this comment was created.

    replyToUser

    optionally, the user on which this comment was a reply for.

    score

    the score of this comment.

    isEdited

    if the score has ever been edited.

    owner

    the poster of this comment, if present.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bindInformationUnits(informationUnitsToBind: Seq[InformationUnit]): StackOverflowComment

    Binds the information units for this comment.

    Binds the information units for this comment.

    informationUnitsToBind

    a set of information units.

    returns

    a new comment with the same properties of this but with informationUnitsToBind as its information units.

    Definition Classes
    StackOverflowCommentStackOverflowElement
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val creationDate: Date
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    StackOverflowElement → AnyRef → Any
  12. val id: Int
  13. val informationUnits: Seq[InformationUnit]
  14. val isEdited: Boolean
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def metaInformation: Seq[MetaInformation[_]]

    The meta information provided by the artifact

    The meta information provided by the artifact

    Definition Classes
    StackOverflowElement
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. val owner: Option[StackOverflowUser]
  21. val postId: Int
  22. val replyToUser: Option[StackOverflowUser]
  23. val score: Int
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toText: String

    A textual representation of this element

    A textual representation of this element

    Definition Classes
    StackOverflowElement
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StackOverflowElement

Inherited from JsonSerializable

Inherited from AnyRef

Inherited from Any

Ungrouped