Class QuestionDetail

java.lang.Object
org.silverpeas.components.questionreply.model.QuestionDetail
All Implemented Interfaces:
Serializable, org.silverpeas.core.contribution.model.Contribution, org.silverpeas.core.contribution.model.SilverpeasContent, org.silverpeas.core.Identifiable, org.silverpeas.core.Instance<org.silverpeas.core.contribution.model.Contribution>, org.silverpeas.core.Nameable, org.silverpeas.core.security.Securable, org.silverpeas.core.SilverpeasResource

public class QuestionDetail extends Object implements org.silverpeas.core.contribution.model.SilverpeasContent
See Also:
  • Field Details

  • Constructor Details

    • QuestionDetail

      public QuestionDetail(Question question)
  • Method Details

    • getQuestion

      public Question getQuestion()
      Returns:
      the question
    • setQuestion

      public void setQuestion(Question question)
      Parameters:
      question - the question to set
    • getId

      public String getId()
      Specified by:
      getId in interface org.silverpeas.core.Identifiable
      Specified by:
      getId in interface org.silverpeas.core.contribution.model.SilverpeasContent
    • getComponentInstanceId

      public String getComponentInstanceId()
      Specified by:
      getComponentInstanceId in interface org.silverpeas.core.contribution.model.SilverpeasContent
    • getSilverpeasContentId

      public String getSilverpeasContentId()
      Specified by:
      getSilverpeasContentId in interface org.silverpeas.core.contribution.model.SilverpeasContent
    • getCreator

      public org.silverpeas.core.admin.user.model.User getCreator()
      Specified by:
      getCreator in interface org.silverpeas.core.SilverpeasResource
    • getCreationDate

      public Date getCreationDate()
      Specified by:
      getCreationDate in interface org.silverpeas.core.SilverpeasResource
    • getLastUpdater

      public org.silverpeas.core.admin.user.model.User getLastUpdater()
      Specified by:
      getLastUpdater in interface org.silverpeas.core.SilverpeasResource
    • getLastUpdateDate

      public Date getLastUpdateDate()
      Specified by:
      getLastUpdateDate in interface org.silverpeas.core.SilverpeasResource
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface org.silverpeas.core.contribution.model.Contribution
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.silverpeas.core.contribution.model.Contribution
      Specified by:
      getDescription in interface org.silverpeas.core.Nameable
    • getContributionType

      public String getContributionType()
      Specified by:
      getContributionType in interface org.silverpeas.core.contribution.model.Contribution