Package com.agiletec.plugins.jpsurvey.aps.system.services.collect.model

Examples of com.agiletec.plugins.jpsurvey.aps.system.services.collect.model.SingleQuestionResponse


  }
 
  public List<SingleQuestionResponse> gerResponsesByQuestion(int questionId) {
    List<SingleQuestionResponse> responses = new ArrayList<SingleQuestionResponse>();
    for (int i=0; i<this.getResponses().size(); i++) {
      SingleQuestionResponse response = this.getResponses().get(i);
      if (response.getQuestionId() == questionId) {
        responses.add(response);
      }
    }
    return null;
  }
View Full Code Here


    return null;
  }
 
  protected void setVoterOnResponses(int voterId) {
    for (int i=0; i<this.getResponses().size(); i++) {
      SingleQuestionResponse response = this.getResponses().get(i);
      response.setVoterId(voterId);
    }
  }
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jpsurvey.aps.system.services.collect.model.SingleQuestionResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.