Index: lams_common/src/java/org/lamsfoundation/lams/tool/Tool.java =================================================================== diff -u -reb7eccc4a394781434b0919f603a7f57cdc40b32 -r000b1a618775ec928f4107cf902595cb4bdaa919 --- lams_common/src/java/org/lamsfoundation/lams/tool/Tool.java (.../Tool.java) (revision eb7eccc4a394781434b0919f603a7f57cdc40b32) +++ lams_common/src/java/org/lamsfoundation/lams/tool/Tool.java (.../Tool.java) (revision 000b1a618775ec928f4107cf902595cb4bdaa919) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.tool; import java.io.Serializable; @@ -6,6 +28,7 @@ import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; +import org.lamsfoundation.lams.tool.dto.AuthoringToolDTO; /** @@ -476,5 +499,8 @@ .append(getToolId()) .toHashCode(); } + public AuthoringToolDTO getAuthoringToolDTO(){ + return new AuthoringToolDTO(this); + } }