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
- Alphabetic
- By Inheritance
- StackOverflowQuestion
- Serializable
- Serializable
- Product
- Equals
- StackOverflowPost
- StackOverflowElement
- JsonSerializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- StackOverflowQuestion → StackOverflowPost
-
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
- StackOverflowQuestion → StackOverflowPost → StackOverflowElement
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val closedDate: Option[Date]
- val closedReason: Option[String]
-
val
comments: Seq[StackOverflowComment]
- Definition Classes
- StackOverflowQuestion → StackOverflowPost
-
val
communityOwnedDate: Option[Date]
- Definition Classes
- StackOverflowQuestion → StackOverflowPost
-
val
creationDate: Date
- Definition Classes
- StackOverflowQuestion → StackOverflowElement
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- StackOverflowElement → AnyRef → Any
-
val
id: Int
- Definition Classes
- StackOverflowQuestion → StackOverflowElement
-
val
informationUnits: Seq[InformationUnit]
- Definition Classes
- StackOverflowQuestion → StackOverflowElement
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
lastActivityDate: Date
- Definition Classes
- StackOverflowQuestion → StackOverflowPost
-
val
lastEditDate: Option[Date]
- Definition Classes
- StackOverflowQuestion → StackOverflowPost
-
def
metaInformation: Seq[MetaInformation[_]]
The meta information provided by the artifact
The meta information provided by the artifact
- Definition Classes
- StackOverflowElement
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
owner: Option[StackOverflowUser]
- Definition Classes
- StackOverflowQuestion → StackOverflowElement
-
val
score: Int
- Definition Classes
- StackOverflowQuestion → StackOverflowPost
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tags: Seq[String]
- val title: String
-
def
toText: String
A textual representation of this element
A textual representation of this element
- Definition Classes
- StackOverflowElement
- val viewCount: Int
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )