Package be.gaudry.model.bibliobrol
Class Brol
java.lang.Object
be.gaudry.model.bibliobrol.Brol
- All Implemented Interfaces:
IBrol
General item. It contains only informations about a general item, but not
about a specific occurence item. I.E. we may have informations about a film,
but not about the occurence of that film stored into the biblio.
- Since:
- 1.0 30-nov.-07
- Author:
- Steph GAUDRY
-
Constructor Summary
ConstructorDescriptionBrol()
Brol(int id)
Brol(int id, String title, List<BrolCategory> categories, String synopsis, int cotation)
Brol(int id, String title, List<BrolCategory> categories, String synopsis, int cotation, String comment)
Brol(int id, String title, List<BrolCategory> categories, String synopsis, int cotation, String comment, Date date)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addCategories(List<BrolCategory> categories)
void
addCategory(BrolCategory category)
void
addSerieItem(SerieItem serieItem)
void
addSerieItems(List<SerieItem> serieItems)
boolean
getActorById(int id)
getCategoryById(int id)
int
getDate()
int
getId()
getTitle()
int
hashCode()
void
setBrolType(BrolType brolType)
void
setComment(String comment)
void
setCotation(int cotation)
void
void
setSynopsis(String synopsis)
void
toString()
-
Constructor Details
-
Brol
public Brol() -
Brol
public Brol(int id) -
Brol
-
Brol
-
Brol
public Brol(int id, String title, List<BrolCategory> categories, String synopsis, int cotation, String comment) -
Brol
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
addCategory
-
addCategories
-
addActor
-
addActors
-
addSerieItem
-
addSerieItems
-
getCategoryById
-
getActorById
-
getCotation
public int getCotation()- Returns:
- the cotation
-
setCotation
public void setCotation(int cotation)- Parameters:
cotation
- the cotation to set
-
getTitle
- Returns:
- the title
-
setTitle
- Parameters:
title
- the title to set
-
getSynopsis
- Returns:
- the synopsis
-
setSynopsis
- Parameters:
synopsis
- the synopsis to set
-
getComment
- Returns:
- the comment
-
setComment
- Parameters:
comment
- the comment to set
-
getBrolType
- Returns:
- the brolType
-
setBrolType
- Parameters:
brolType
- the brolType to set
-
getDate
- Returns:
- the date
-
setDate
- Parameters:
date
- the date to set
-
getId
public int getId()- Returns:
- the id
-
getCategories
- Returns:
- the categories
-
getActors
- Returns:
- the actors
-
getSerieItems
- Returns:
- the serieItems
-