|
From: Tomas M. <to...@us...> - 2010-11-11 00:30:48
|
Update of /cvsroot/unitime/UniTime/JavaSource/org/unitime/timetable/model In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv19728/JavaSource/org/unitime/timetable/model Modified Files: Tag: dev_curriculum Class_.java Log Message: added method getClassLabel(hibSession) that uses the given hibernate session to fill in the section number if needed Index: Class_.java =================================================================== RCS file: /cvsroot/unitime/UniTime/JavaSource/org/unitime/timetable/model/Class_.java,v retrieving revision 1.30.2.10 retrieving revision 1.30.2.11 diff -C2 -d -r1.30.2.10 -r1.30.2.11 *** Class_.java 9 Nov 2010 12:25:47 -0000 1.30.2.10 --- Class_.java 11 Nov 2010 00:30:40 -0000 1.30.2.11 *************** *** 578,581 **** --- 578,585 ---- } + public String getClassLabel(org.hibernate.Session hibSession) { + return getCourseName()+" "+getItypeDesc().trim()+" "+getSectionNumberString(hibSession); + } + public String getClassLabelWithTitle() { return getCourseNameWithTitle()+" "+getItypeDesc().trim()+" "+getSectionNumberString(); |