Index: lams_tool_sbmt/conf/hibernate/mappings/org/lamsfoundation/lams/tool/sbmt/InstructionFiles.hbm.xml
===================================================================
diff -u
--- lams_tool_sbmt/conf/hibernate/mappings/org/lamsfoundation/lams/tool/sbmt/InstructionFiles.hbm.xml (revision 0)
+++ lams_tool_sbmt/conf/hibernate/mappings/org/lamsfoundation/lams/tool/sbmt/InstructionFiles.hbm.xml (revision de9ee5f6274f17bb25bbba6f8ea3038cfebd5a90)
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_sbmt/conf/hibernate/mappings/org/lamsfoundation/lams/tool/sbmt/SubmitFilesContent.hbm.xml
===================================================================
diff -u -r16209fa3982303b4f822717f45e72d490edaef99 -rde9ee5f6274f17bb25bbba6f8ea3038cfebd5a90
--- lams_tool_sbmt/conf/hibernate/mappings/org/lamsfoundation/lams/tool/sbmt/SubmitFilesContent.hbm.xml (.../SubmitFilesContent.hbm.xml) (revision 16209fa3982303b4f822717f45e72d490edaef99)
+++ lams_tool_sbmt/conf/hibernate/mappings/org/lamsfoundation/lams/tool/sbmt/SubmitFilesContent.hbm.xml (.../SubmitFilesContent.hbm.xml) (revision de9ee5f6274f17bb25bbba6f8ea3038cfebd5a90)
@@ -36,12 +36,11 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/InstructionFiles.java
===================================================================
diff -u
--- lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/InstructionFiles.java (revision 0)
+++ lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/InstructionFiles.java (revision de9ee5f6274f17bb25bbba6f8ea3038cfebd5a90)
@@ -0,0 +1,89 @@
+/*
+ *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.sbmt;
+
+import java.io.Serializable;
+
+import org.apache.log4j.Logger;
+/**
+ * @hibernate.class table="tl_lasbmt11_instruction_files"
+ * @serial 3555065437595925246L
+*/
+public class InstructionFiles implements Serializable,Cloneable{
+
+ private static final long serialVersionUID = 3555065437595925246L;
+ private static Logger log = Logger.getLogger(InstructionFiles.class);
+
+ private Long fileID;
+ private Long uuID;
+ private Long versionID;
+ /**
+ * @hibernate.id generator-class="identity" type="java.lang.Long" column="file_id"
+ * @return Returns the fileID.
+ */
+ public Long getFileID() {
+ return fileID;
+ }
+ /**
+ * @param fileID The fileID to set.
+ */
+ public void setFileID(Long fileID) {
+ this.fileID = fileID;
+ }
+ /**
+ *
+ * @hibernate.property column="uuid" length="20"
+ * @return Returns the uuID.
+ */
+ public Long getUuID() {
+ return uuID;
+ }
+ /**
+ * @param uuID The uuID to set.
+ */
+ public void setUuID(Long uuID) {
+ this.uuID = uuID;
+ }
+ /**
+ *
+ * @hibernate.property column="version_id" length="20"
+ * @return Returns the versionID.
+ */
+ public Long getVersionID() {
+ return versionID;
+ }
+ /**
+ * @param versionID The versionID to set.
+ */
+ public void setVersionID(Long versionID) {
+ this.versionID = versionID;
+ }
+ public Object clone(){
+ Object obj = null;
+ try {
+ obj = super.clone();
+ } catch (CloneNotSupportedException e) {
+ log.error("When clone " + InstructionFiles.class + " failed");
+ }
+
+ return obj;
+ }
+}
Index: lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SbmtResources.properties
===================================================================
diff -u -r75de919817a4bfa05924724631118b092da74cf7 -rde9ee5f6274f17bb25bbba6f8ea3038cfebd5a90
--- lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SbmtResources.properties (.../SbmtResources.properties) (revision 75de919817a4bfa05924724631118b092da74cf7)
+++ lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SbmtResources.properties (.../SbmtResources.properties) (revision de9ee5f6274f17bb25bbba6f8ea3038cfebd5a90)
@@ -6,6 +6,10 @@
label.authoring.save.button=Save
label.authoring.cancel.button=Cancel
+label.authoring.heading.instructions=Submission Instructions
+label.authoring.heading.instructions.desc=Please input online and offline instructions
+label.authoring.online.instruction =Online Instrcution
+label.authoring.offline.instruction=Offline Instrcution
#-------------------------Learners Labels-----------------#
label.learner.fileName = File Name
label.learner.filePath = File
Index: lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SubmissionDetails.java
===================================================================
diff -u -r8880f4178b1950bfd55ad3a1a94d27140bb223e3 -rde9ee5f6274f17bb25bbba6f8ea3038cfebd5a90
--- lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SubmissionDetails.java (.../SubmissionDetails.java) (revision 8880f4178b1950bfd55ad3a1a94d27140bb223e3)
+++ lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SubmissionDetails.java (.../SubmissionDetails.java) (revision de9ee5f6274f17bb25bbba6f8ea3038cfebd5a90)
@@ -10,8 +10,12 @@
/**
* @hibernate.class table="tl_lasbmt11_submission_details"
+ * @serial 5093528405144051727L
*/
public class SubmissionDetails implements Serializable,Cloneable{
+
+ private static final long serialVersionUID = 5093528405144051727L;
+
private static Logger log = Logger.getLogger(SubmissionDetails.class);
/** identifier field */
@@ -159,7 +163,7 @@
}
/**
- * @hibernate.one-to-one cascade="all" not-null="false"
+ * @hibernate.one-to-one cascade="all" not-null="false"
* foreign-key="report_id"
* @return Returns the report.
*/
Index: lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SubmitFilesContent.hbm.xml
===================================================================
diff -u -r42ea0d8ac9e5ea7e5bd16891c231021dd5144438 -rde9ee5f6274f17bb25bbba6f8ea3038cfebd5a90
--- lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SubmitFilesContent.hbm.xml (.../SubmitFilesContent.hbm.xml) (revision 42ea0d8ac9e5ea7e5bd16891c231021dd5144438)
+++ lams_tool_sbmt/src/java/org/lamsfoundation/lams/tool/sbmt/SubmitFilesContent.hbm.xml (.../SubmitFilesContent.hbm.xml) (revision de9ee5f6274f17bb25bbba6f8ea3038cfebd5a90)
@@ -36,12 +36,11 @@
/>
@@ -78,11 +77,63 @@
type="boolean"
update="true"
insert="true"
- column="runOffline"
+ column="run_offline"
length="1"
not-null="true"
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+