Use username in connection record, not full-blown user.

This commit is contained in:
Michael Jumper
2013-03-03 13:00:43 -08:00
parent dea4791669
commit 24fcccc69c

View File

@@ -63,19 +63,13 @@ public interface ConnectionRecord {
public Date getEndDate(); public Date getEndDate();
/** /**
* Returns the user who used or is using the connection at the times * Returns the name of the user who used or is using the connection at the
* given by this connection record. * times given by this connection record.
* *
* @return The user who used or is using the associated connection. * @return The name of the user who used or is using the associated
* connection.
*/ */
public User getUser(); public String getUsername();
/**
* Returns the connection associated with this record.
*
* @return The connection associated with this record.
*/
public Connection getConnection();
/** /**
* Returns whether the connection associated with this record is still * Returns whether the connection associated with this record is still