Package cn.edu.pku.dr.requirement.elicitation.data

Examples of cn.edu.pku.dr.requirement.elicitation.data.ProblemvalueEvaluation


        return buffer.toString();
    }

    public String getProblemvalueNotByGroup(Long userId, ArrayList problemvalues) {
        StringBuffer buffer = new StringBuffer();
        ProblemvalueEvaluation pve = new ProblemvalueEvaluation();
        Problemvalue pv = new Problemvalue();
        if (problemvalues.size() > 0) {
            for (int i = 0; i < problemvalues.size(); i++) {
                pv = (Problemvalue) problemvalues.get(i);
                buffer
                        .append("<div class=\"f14 p90 pl10\" class=\"answer_content\">"
                                + pv.getProblemvalueContent() + "</div>");
                boolean flag = true;
                int j = 0;
                ArrayList pves = pv.getProblemvalueEvaluations();
                while (flag == true && j < pves.size()) {
                    pve = (ProblemvalueEvaluation) pves.get(j);
                    if (pve.getCreatorId().intValue() == userId.intValue()) {
                        flag = false;

                    }
                    j++;
                }
View Full Code Here


    public void problemvalueUpdate() throws EasyJException, IOException {
        ProblemValueImpl targetObject = new ProblemValueImpl();
        ProblemValueInterface problemvalueInterface = null;
        Object proxy = ProblemValueProxyFactory.getProxy(targetObject);
        problemvalueInterface = (ProblemValueInterface) proxy;
        ProblemvalueEvaluation pve = new ProblemvalueEvaluation();
        pve = (ProblemvalueEvaluation) object;
        response.setContentType("text/xml");
        response.getWriter().write(
                problemvalueInterface.problemvalueUpdate(pve, this.request,
                        response).toString());
View Full Code Here

TOP

Related Classes of cn.edu.pku.dr.requirement.elicitation.data.ProblemvalueEvaluation

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.