org.exoplatform.faq.service
Class Answer

java.lang.Object
  extended by org.exoplatform.faq.service.Answer

public class Answer
extends Object

Created by The eXo Platform SARL Author : Ha Mai Van ha.mai@exoplatform.com Jan 16, 2009, 9:25:29 AM


Field Summary
static String ANSWER_ID
           
 
Constructor Summary
Answer()
          Instantiates a new answer.
Answer(String currentAnswer, boolean isApprovetedAnswer)
           
 
Method Summary
 boolean getActivateAnswers()
          Gets the activate answers.
 boolean getApprovedAnswers()
          Gets the approved answers.
 Date getDateResponse()
          Gets the date response.
 String getFullName()
           
 String getId()
          Gets the id.
 String getLanguage()
           
 double getMarksVoteAnswer()
          Gets the marks vote answer.
 long getMarkVotes()
           
 String getPath()
           
 String getPostId()
           
 String getResponseBy()
          Gets the response by.
 String getResponses()
          Gets the responses.
 String[] getUsersVoteAnswer()
          Gets the users vote answer.
 boolean isNew()
          Checks if is new.
 void setActivateAnswers(boolean activateAnswers)
          Sets the activate answers.
 void setApprovedAnswers(boolean approvedAnswers)
          Sets the approved answers.
 void setDateResponse(Date dateResponse)
          Sets the date response.
 void setFullName(String fullName)
           
 void setId(String id)
          Sets the id.
 void setLanguage(String language)
           
 void setMarksVoteAnswer(double marksVoteAnswer)
          Sets the marks vote answer.
 void setMarkVotes(long markVotes)
           
 void setNew(boolean isNew)
           
 void setPath(String path)
           
 void setPostId(String postId)
           
 void setResponseBy(String responseBy)
          Sets the response by.
 void setResponses(String responses)
          Sets the responses.
 void setUsersVoteAnswer(String[] usersVoteAnswer)
          Sets the users vote answer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANSWER_ID

public static final String ANSWER_ID
Constructor Detail

Answer

public Answer()
Instantiates a new answer.


Answer

public Answer(String currentAnswer,
              boolean isApprovetedAnswer)
Method Detail

getId

public String getId()
Gets the id.

Returns:
the id

setPath

public void setPath(String path)

setLanguage

public void setLanguage(String language)

getLanguage

public String getLanguage()

getPath

public String getPath()

setId

public void setId(String id)
Sets the id.

Parameters:
id - the new id

getResponses

public String getResponses()
Gets the responses.

Returns:
the responses

setResponses

public void setResponses(String responses)
Sets the responses.

Parameters:
responses - the new responses

getResponseBy

public String getResponseBy()
Gets the response by.

Returns:
the response by

setFullName

public void setFullName(String fullName)

getFullName

public String getFullName()

setResponseBy

public void setResponseBy(String responseBy)
Sets the response by.

Parameters:
responseBy - the new response by

getDateResponse

public Date getDateResponse()
Gets the date response.

Returns:
the date response

setDateResponse

public void setDateResponse(Date dateResponse)
Sets the date response.

Parameters:
dateResponse - the new date response

getActivateAnswers

public boolean getActivateAnswers()
Gets the activate answers.

Returns:
the activate answers

setActivateAnswers

public void setActivateAnswers(boolean activateAnswers)
Sets the activate answers.

Parameters:
activateAnswers - the new activate answers

getApprovedAnswers

public boolean getApprovedAnswers()
Gets the approved answers.

Returns:
the approved answers

setApprovedAnswers

public void setApprovedAnswers(boolean approvedAnswers)
Sets the approved answers.

Parameters:
approvedAnswers - the new approved answers

getUsersVoteAnswer

public String[] getUsersVoteAnswer()
Gets the users vote answer.

Returns:
the users vote answer

setUsersVoteAnswer

public void setUsersVoteAnswer(String[] usersVoteAnswer)
Sets the users vote answer.

Parameters:
usersVoteAnswer - the new users vote answer

getMarksVoteAnswer

public double getMarksVoteAnswer()
Gets the marks vote answer.

Returns:
the marks vote answer

setMarksVoteAnswer

public void setMarksVoteAnswer(double marksVoteAnswer)
Sets the marks vote answer.

Parameters:
marksVoteAnswer - the new marks vote answer

isNew

public boolean isNew()
Checks if is new.

Returns:
true, if is new

setNew

public void setNew(boolean isNew)

getPostId

public String getPostId()

setPostId

public void setPostId(String postId)

getMarkVotes

public long getMarkVotes()

setMarkVotes

public void setMarkVotes(long markVotes)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.