Videoautomat

videoautomat
Class LoggableImpl

java.lang.Object
  |
  +--videoautomat.LoggableImpl
All Implemented Interfaces:
log.Loggable, Serializable

public class LoggableImpl
extends Object
implements log.Loggable, Serializable

This class implements Loggable to achieve the logging of LogEntryVideo.

See Also:
Serialized Form

Constructor Summary
LoggableImpl(String user_ID, String video, boolean rented)
          Constructs a new LoggableImpl, that will log LogEntryVideos.
 
Method Summary
 log.LogEntry getLogData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggableImpl

public LoggableImpl(String user_ID,
                    String video,
                    boolean rented)
Constructs a new LoggableImpl, that will log LogEntryVideos.

Parameters:
user_ID - the ID of the relevant user
video - the name of the relevant video
rented - true if this Loggable should log a rent event, otherwise false
Method Detail

getLogData

public log.LogEntry getLogData()
Specified by:
getLogData in interface log.Loggable
Returns:
a LogEntryVideo describing the event.
See Also:
Loggable.getLogData()

Videoautomat