Permalink
Browse files

Student Sectioning Solver: added Enrollment.timeStamp

git-svn-id: http://cpsolver.googlecode.com/svn/trunk@549 e5151b7e-cabb-5534-7ab8-ba89a8838d1f
  • Loading branch information...
1 parent f1707d1 commit 1c244b10205799c2b26f5b86c357b928fe6ddff0 muller@unitime.org committed Jun 1, 2011
Showing with 15 additions and 0 deletions.
  1. +15 −0 src/net/sf/cpsolver/studentsct/model/Enrollment.java
@@ -49,6 +49,7 @@
private Double iCachedPenalty = null;
private int iPriority = 0;
private Reservation iReservation = null;
+ private Long iTimeStamp = null;
/**
* Constructor
@@ -399,4 +400,18 @@ public int getNrSlots() {
* Set reservation for this enrollment
*/
public void setReservation(Reservation reservation) { iReservation = reservation; }
+
+ /**
+ * Time stamp of the enrollment
+ */
+ public Long getTimeStamp() {
+ return iTimeStamp;
+ }
+
+ /**
+ * Time stamp of the enrollment
+ */
+ public void setTimeStamp(Long timeStamp) {
+ iTimeStamp = timeStamp;
+ }
}

0 comments on commit 1c244b1

Please sign in to comment.