base
Class RecordInfo

java.lang.Object
  extended by base.RecordInfo

public class RecordInfo
extends Object

This is a storage class for recording information of the video recorder.


Field Summary
 int id
          stard and end tiome of a scheduled recording
 String name
          unique identifier of a scheduled recording; this id is equal to the database index
 long rtime
           
 String station
          unique identifier of a scheduled recording; this id is equal to the database index
 long stime
           
 
Constructor Summary
RecordInfo()
          This is the default constructor
RecordInfo(int stime, int rtime, String name, String station, int id)
          Constructor for an object of type RecordInfo
RecordInfo(long day, int shour, int smin, int ehour, int emin, String name, String station)
          Constructor for an object of type RecordInfo
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stime

public long stime

rtime

public long rtime

id

public int id
stard and end tiome of a scheduled recording


name

public String name
unique identifier of a scheduled recording; this id is equal to the database index


station

public String station
unique identifier of a scheduled recording; this id is equal to the database index

Constructor Detail

RecordInfo

public RecordInfo()
This is the default constructor


RecordInfo

public RecordInfo(long day,
                  int shour,
                  int smin,
                  int ehour,
                  int emin,
                  String name,
                  String station)
Constructor for an object of type RecordInfo

Parameters:
day - the day the schedule starts at
shour - the hour the shedule starts at
smin - the minute if the hour the shedule starts at
ehour - the hour the shedule ends at
emin - the minute within the hour the shedule ends at
name - the name for this recording; this name is also used for the name of the video file
station - the name of the TV station where to record from

RecordInfo

public RecordInfo(int stime,
                  int rtime,
                  String name,
                  String station,
                  int id)
Constructor for an object of type RecordInfo

Parameters:
stime - the starting time (in seconds) for the schedule
rtime - the total recording time for the schedule
name - the name for this recording; this name is also used for the name of the video file
station - the name of the TV station where to record from
id - a unique identifier for this object (also used by the SQL DB)