Index: tool_adapters/moodle/lams_tool_mdlchoice/src/java/org/lamsfoundation/lams/tool/mdchce/dto/MdlChoiceOutputDTO.java =================================================================== RCS file: /usr/local/cvsroot/tool_adapters/moodle/lams_tool_mdlchoice/src/java/org/lamsfoundation/lams/tool/mdchce/dto/MdlChoiceOutputDTO.java,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ tool_adapters/moodle/lams_tool_mdlchoice/src/java/org/lamsfoundation/lams/tool/mdchce/dto/MdlChoiceOutputDTO.java 17 Dec 2008 23:31:02 -0000 1.1 @@ -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: MdlChoiceOutputDTO.java,v 1.1 2008/12/17 23:31:02 marinara Exp $ */ +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