Index: tool_adapters/moodle/lams_tool_mdlchoice/src/java/org/lamsfoundation/lams/tool/mdchce/dto/MdlChoiceOutputDTO.java =================================================================== diff -u --- tool_adapters/moodle/lams_tool_mdlchoice/src/java/org/lamsfoundation/lams/tool/mdchce/dto/MdlChoiceOutputDTO.java (revision 0) +++ tool_adapters/moodle/lams_tool_mdlchoice/src/java/org/lamsfoundation/lams/tool/mdchce/dto/MdlChoiceOutputDTO.java (revision 5cac3e40e8b15196f759f931882840203348af6d) @@ -0,0 +1,63 @@ +/**************************************************************** + * Copyright (C) 2008 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + +/* $Id$ */ +package org.lamsfoundation.lams.tool.mdchce.dto; + +/** + * A object class to represent a tool output choice + * @author lfoxton + * + */ +public class MdlChoiceOutputDTO { + + private long id; + private String choice; + + public MdlChoiceOutputDTO() { + super(); + // TODO Auto-generated constructor stub + } + + public MdlChoiceOutputDTO(long id, String choice) { + super(); + this.id = id; + this.choice = choice; + } + + public long getId() { + return id; + } + + public void setId(long id) { + this.id = id; + } + + public String getChoice() { + return choice; + } + + public void setChoice(String choice) { + this.choice = choice; + } +} + \ No newline at end of file