edu.jhu.tmaj.database.sql
Class InputLog
java.lang.Object
edu.jhu.tmaj.database.sql.InputLog
final class InputLog
- extends java.lang.Object
Represents the InputLog field in one record. The InputLog keeps track of what user made a change
to the record, the time, and the application they used. For example, an InputLog may contain a
value of:
userID#5 @ 09-30-2004 05:58 PM" This is useful for seeing who changed a record last, and the
date of change.
Constructor Summary |
InputLog(int userID,
java.lang.String application)
|
Method Summary |
(package private) java.lang.String |
getApplication()
|
(package private) static java.lang.String |
getEntry(int userID,
java.lang.String application)
Returns a String used for logging the user,date, and time of a changed record. |
(package private) int |
getUserID()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputLog
InputLog(int userID,
java.lang.String application)
getApplication
java.lang.String getApplication()
getUserID
int getUserID()
getEntry
static java.lang.String getEntry(int userID,
java.lang.String application)
- Returns a String used for logging the user,date, and time of a changed record.
- Parameters:
userID
- the userID using the applicationapplication
- the application the user is using.
- Returns:
- A String describing the application, the user, and the current time.