Packages

c

ch.usi.inf.reveal.parsing.artifact

StackOverflowQuestion

case class StackOverflowQuestion(id: Int, title: String, comments: Seq[StackOverflowComment], tags: Seq[String], creationDate: Date, lastActivityDate: Date, lastEditDate: Option[Date], communityOwnedDate: Option[Date], closedDate: Option[Date], closedReason: Option[String], score: Int, viewCount: Int, owner: Option[StackOverflowUser], informationUnits: Seq[InformationUnit]) extends StackOverflowPost with Product with Serializable

A StackOverflow question in a discussion.

id

the question id, as from the Stack Overflow database.

comments

the set of comments posted to this question.

tags

a set of strings representing the tags for this question

creationDate

the date this question was posted.

lastActivityDate

the last date this question had an activity.

lastEditDate

the last date this answer was edited, if it ever was.

communityOwnedDate

the date on which this question was owned by the community, if present.

closedDate

the date on which this question was closed, if it ever was.

closedReason

a string representing the reason for which the question was closed, if defined.

score

the score of this question.

viewCount

the number of times this question was viewed.

owner

the user who posted the question, if it is present in the Stack Overflow dump.

See also

SourceInfo

StackOverflowUser

StackOverflowComment

StackOverflowAnswer

StackOverflowArtifact

Stack Overflow Question API documentation

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

Instance Constructors

  1. new StackOverflowQuestion(id: Int, title: String, comments: Seq[StackOverflowComment], tags: Seq[String], creationDate: Date, lastActivityDate: Date, lastEditDate: Option[Date], communityOwnedDate: Option[Date], closedDate: Option[Date], closedReason: Option[String], score: Int, viewCount: Int, owner: Option[StackOverflowUser], informationUnits: Seq[InformationUnit])

    creates a new Stack Overflow question.

    creates a new Stack Overflow question.

    id

    the question id, as from the Stack Overflow database.

    comments

    the set of comments posted to this question.

    tags

    a set of strings representing the tags for this question

    creationDate

    the date this question was posted.

    lastActivityDate

    the last date this question had an activity.

    lastEditDate

    the last date this answer was edited, if it ever was.

    communityOwnedDate

    the date on which this question was owned by the community, if present.

    closedDate

    the date on which this question was closed, if it ever was.

    closedReason

    a string representing the reason for which the question was closed, if defined.

    score

    the score of this question.

    viewCount

    the number of times this question was viewed.

    owner

    the user who posted the question, if it is present in the Stack Overflow dump.

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. lazy val allUnits: Seq[InformationUnit]

    The sequence of all information units for this post, merging the one of this post and all the ones of its comments.

    The sequence of all information units for this post, merging the one of this post and all the ones of its comments.

    Definition Classes
    StackOverflowPost
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindComments(otherComments: Seq[StackOverflowComment]): StackOverflowQuestion

    Constructs a new StackOverflowQuestion binding it to a new set of comments.

    Constructs a new StackOverflowQuestion binding it to a new set of comments.

    Essentially used only during parsing.

    otherComments

    a set of comments.

    returns

    a new question with the same properties of this but with otherComments as its comments.

    Definition Classes
    StackOverflowQuestionStackOverflowPost
  7. def bindInformationUnits(informationUnitsToBind: Seq[InformationUnit]): StackOverflowQuestion

    Binds the information units for this question.

    Binds the information units for this question.

    informationUnitsToBind

    a set of information units.

    returns

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

    Definition Classes
    StackOverflowQuestionStackOverflowPostStackOverflowElement
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val closedDate: Option[Date]
  10. val closedReason: Option[String]
  11. val comments: Seq[StackOverflowComment]
  12. val communityOwnedDate: Option[Date]
  13. val creationDate: Date
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int
    Definition Classes
    StackOverflowElement → AnyRef → Any
  18. val id: Int
  19. val informationUnits: Seq[InformationUnit]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val lastActivityDate: Date
  22. val lastEditDate: Option[Date]
  23. def metaInformation: Seq[MetaInformation[_]]

    The meta information provided by the artifact

    The meta information provided by the artifact

    Definition Classes
    StackOverflowElement
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. val owner: Option[StackOverflowUser]
  28. val score: Int
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. val tags: Seq[String]
  31. val title: String
  32. def toText: String

    A textual representation of this element

    A textual representation of this element

    Definition Classes
    StackOverflowElement
  33. val viewCount: Int
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. 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 StackOverflowPost

Inherited from StackOverflowElement

Inherited from JsonSerializable

Inherited from AnyRef

Inherited from Any

Ungrouped