base
Class DVDInfo
java.lang.Object
base.MediaInfo
base.DVDInfo
public class DVDInfo
- extends MediaInfo
This is a storage class for DVD information like they are used to identify a DVD, to
display information about it to the user and to find it for replaying
|
Constructor Summary |
DVDInfo()
The default constructor of class DVDInfo |
DVDInfo(int idx,
String ean,
int time,
int year,
long crcid,
String title,
String genre,
int season,
int disc)
The standard constructor for a object of type DVDInfo |
|
Method Summary |
void |
set(DVDInfo info)
This method sets new DVD data depending on the in coming values: in case some fields of the given object
are not set the original values of the own object will be left untouched |
idx
public int idx
time
public int time
year
public int year
season
public int season
disc
public int disc
crcid
public long crcid
genre
public String genre
imgUrl
public String imgUrl
ean
public String ean
localOnly
public boolean localOnly
DVDInfo
public DVDInfo()
- The default constructor of class DVDInfo
DVDInfo
public DVDInfo(int idx,
String ean,
int time,
int year,
long crcid,
String title,
String genre,
int season,
int disc)
- The standard constructor for a object of type DVDInfo
- Parameters:
idx - an unique identifier for a DVDean - the EAN (European Article Number) of a DVDtime - the total runtime (in minutes) of the whole movie of the DVD; in case there
are several movies/several parts on one DVD this value specifies the total time of all
of themyear - the year this DVD was releasedcrcid - a checksum that uniquely identifies a DVD, the algorithm for that checksum is specified
by http://dvd-db.dktitle - the title of the DVDgenre - the genre of the DVDseason - the season this DVD belongs to; this parameter applies to series only and not to movies
set
public void set(DVDInfo info)
- This method sets new DVD data depending on the in coming values: in case some fields of the given object
are not set the original values of the own object will be left untouched
- Parameters:
info - the new DVDInfo data that have to be set