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
ConstructorsConstructorDescriptionBrol()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 TypeMethodDescriptionvoidvoidvoidaddCategories(List<BrolCategory> categories)voidaddCategory(BrolCategory category)voidaddSerieItem(SerieItem serieItem)voidaddSerieItems(List<SerieItem> serieItems)booleangetActorById(int id)getCategoryById(int id)intgetDate()intgetId()getTitle()inthashCode()voidsetBrolType(BrolType brolType)voidsetComment(String comment)voidsetCotation(int cotation)voidvoidsetSynopsis(String synopsis)voidtoString()
-
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
-