Class QuestionDTO

java.lang.Object
org.silverpeas.mobile.shared.dto.survey.QuestionDTO
All Implemented Interfaces:
Serializable

public class QuestionDTO extends Object implements Serializable
Author:
svu
See Also:
  • Constructor Details

    • QuestionDTO

      public QuestionDTO()
  • Method Details

    • setAnswers

      public void setAnswers(List<AnswerDTO> answers)
    • setResponses

      public void setResponses(List<ResponseDTO> responses)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getAnswers

      public List<AnswerDTO> getAnswers()
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getResponses

      public List<ResponseDTO> getResponses()
    • fromJSON

      public static QuestionDTO fromJSON(jsinterop.base.JsPropertyMap<Object> json)
    • toJSON

      public jsinterop.base.JsPropertyMap<Object> toJSON()