package org.splat.service.dto;
import java.io.Serializable;
+import java.util.Date;
import org.splat.dal.bo.som.ProgressState;
* Type.
*/
private transient String _type;
+ /**
+ * Creation date.
+ */
+ private transient Date _date;
+ /**
+ * Last modification date.
+ */
+ private Date _lastModificationDate;
/**
* Serialization version id.
*/
private static final long serialVersionUID = -4386494192709562221L;
/**
- * Costructor from properties.
+ * Constructor from properties except for creation and modification dates.
*
* @param id
* study persistent id
public String getType() {
return _type;
}
+
+ /**
+ * Get the date.
+ * @return the date
+ */
+ public Date getDate() {
+ return _date;
+ }
+
+ /**
+ * Set the date.
+ * @param date the date to set
+ */
+ public void setDate(final Date date) {
+ _date = date;
+ }
+
+ /**
+ * Get the lastModificationDate.
+ * @return the lastModificationDate
+ */
+ public Date getLastModificationDate() {
+ return _lastModificationDate;
+ }
+
+ /**
+ * Set the lastModificationDate.
+ * @param lastModificationDate the lastModificationDate to set
+ */
+ public void setLastModificationDate(final Date lastModificationDate) {
+ _lastModificationDate = lastModificationDate;
+ }
}