com.dynalivery.repository.util
Class AccessTimestamp
java.lang.Object
|
+--com.dynalivery.repository.util.AccessTimestamp
- public class AccessTimestamp
- extends java.lang.Object
- implements java.io.Serializable
This class is used to describe an access made to the repository
- See Also:
- Serialized Form
|
Constructor Summary |
AccessTimestamp(java.lang.String username,
java.sql.Timestamp timestamp)
Public constructor for this file access info object |
|
Method Summary |
java.sql.Timestamp |
getTimestamp()
get the date/time Timestamp of the repository access |
java.lang.String |
getUsername()
get the name of the user/principal making the repository access |
java.lang.String |
toString()
Returns a String which describes this repository access. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
AccessTimestamp
public AccessTimestamp(java.lang.String username,
java.sql.Timestamp timestamp)
- Public constructor for this file access info object
- Parameters:
username - name of user/principal making the repository accesstimestamp - the Timestamp indicating the date/time of the access
getUsername
public java.lang.String getUsername()
- get the name of the user/principal making the repository access
- Returns:
- username String
getTimestamp
public java.sql.Timestamp getTimestamp()
- get the date/time Timestamp of the repository access
- Returns:
- Timestamp with date/time of the repository access
toString
public java.lang.String toString()
- Returns a String which describes this repository access.
- Overrides:
- toString in class java.lang.Object
- Returns:
- a String which describes this repository access.