001 package com.basilv.examples.hibernate;
002
003 import java.sql.Timestamp;
004
005 /**
006 * Represents an object with the standard audit fields to
007 * track creation and modification information.
008 *
009 * @author basil.vandegriend
010 *
011 */
012 public interface Auditable
013 {
014
015 public Timestamp getCreateTimestamp();
016
017 public void setCreateTimestamp(Timestamp createTimestamp);
018
019 public String getCreateUserId();
020
021 public void setCreateUserId(String createUserId);
022
023 public Timestamp getUpdateTimestamp();
024
025 public void setUpdateTimestamp(Timestamp updateTimestamp);
026
027 public String getUpdateUserId();
028
029 public void setUpdateUserId(String updateUserId);
030
031 }