case class StackOverflowAnswer(id: Int, questionId: Int, comments: Seq[StackOverflowComment], creationDate: Date, communityOwnedDate: Option[Date], lastActivityDate: Date, lastEditDate: Option[Date], score: Int, isAccepted: Boolean, owner: Option[StackOverflowUser], informationUnits: Seq[InformationUnit]) extends StackOverflowPost with Product with Serializable
A StackOverflow answer in a discussion.
- id
- the answer id, as from the Stack Overflow database. 
- questionId
- the id of the question this answer was a reply of. 
- comments
- the set of comments posted to this answer. 
- creationDate
- the date this answer was posted. 
- lastActivityDate
- the last date this answer had an activity. 
- lastEditDate
- the last date this answer was edited. 
- score
- the score of this answer. 
- isAccepted
- trueif this was the accepted answer in the discussion.
- owner
- the user who posted the answer, if it is present in the Stack Overflow dump. 
- informationUnits
- the sequence of information units for this answer. 
- See also
- Alphabetic
- By Inheritance
- StackOverflowAnswer
- Serializable
- Serializable
- Product
- Equals
- StackOverflowPost
- StackOverflowElement
- JsonSerializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- 
      
      
      
        
      
    
      
        
        new
      
      
        StackOverflowAnswer(id: Int, questionId: Int, comments: Seq[StackOverflowComment], creationDate: Date, communityOwnedDate: Option[Date], lastActivityDate: Date, lastEditDate: Option[Date], score: Int, isAccepted: Boolean, owner: Option[StackOverflowUser], informationUnits: Seq[InformationUnit])
      
      
      creates a new Stack Overflow answer. creates a new Stack Overflow answer. - id
- the answer id, as from the Stack Overflow database. 
- questionId
- the id of the question this answer was a reply of. 
- comments
- the set of comments posted to this answer. 
- creationDate
- the date this answer was posted. 
- lastActivityDate
- the last date this answer had an activity. 
- lastEditDate
- the last date this answer was edited. 
- score
- the score of this answer. 
- isAccepted
- trueif this was the accepted answer in the discussion.
- owner
- the user who posted the answer, if it is present in the Stack Overflow dump. 
- informationUnits
- the sequence of information units for this answer. 
 
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]): StackOverflowAnswer
      
      
      Constructs a new StackOverflowAnswer binding it to a new set of comments. Constructs a new StackOverflowAnswer binding it to a new set of comments. Essentially used only during parsing. - otherComments
- a set of comments. 
- returns
- a new answer with the same properties of this but with - otherCommentsas its comments.
 - Definition Classes
- StackOverflowAnswer → StackOverflowPost
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        bindInformationUnits(informationUnitsToBind: Seq[InformationUnit]): StackOverflowAnswer
      
      
      Binds the information units for this answer. Binds the information units for this answer. - informationUnitsToBind
- a set of information units. 
- returns
- a new answer with the same properties of this but with - informationUnitsToBindas its information units.
 - Definition Classes
- StackOverflowAnswer → StackOverflowPost → StackOverflowElement
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        comments: Seq[StackOverflowComment]
      
      
      - Definition Classes
- StackOverflowAnswer → StackOverflowPost
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        communityOwnedDate: Option[Date]
      
      
      - Definition Classes
- StackOverflowAnswer → StackOverflowPost
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        creationDate: Date
      
      
      - Definition Classes
- StackOverflowAnswer → 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
- StackOverflowAnswer → StackOverflowElement
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        informationUnits: Seq[InformationUnit]
      
      
      - Definition Classes
- StackOverflowAnswer → StackOverflowElement
 
-  val isAccepted: Boolean
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        lastActivityDate: Date
      
      
      - Definition Classes
- StackOverflowAnswer → StackOverflowPost
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        lastEditDate: Option[Date]
      
      
      - Definition Classes
- StackOverflowAnswer → 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
- StackOverflowAnswer → StackOverflowElement
 
-  val questionId: Int
- 
      
      
      
        
      
    
      
        
        val
      
      
        score: Int
      
      
      - Definition Classes
- StackOverflowAnswer → StackOverflowPost
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toText: String
      
      
      A textual representation of this element A textual representation of this element - Definition Classes
- StackOverflowElement
 
- 
      
      
      
        
      
    
      
        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( ... )