Class Brol

java.lang.Object
be.gaudry.model.bibliobrol.Brol
All Implemented Interfaces:
IBrol

public class Brol extends Object implements 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 Details

  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • addCategory

      public void addCategory(BrolCategory category)
    • addCategories

      public void addCategories(List<BrolCategory> categories)
    • addActor

      public void addActor(Actor actor)
    • addActors

      public void addActors(List<Actor> actors)
    • addSerieItem

      public void addSerieItem(SerieItem serieItem)
    • addSerieItems

      public void addSerieItems(List<SerieItem> serieItems)
    • getCategoryById

      public BrolCategory getCategoryById(int id)
    • getActorById

      public Actor getActorById(int id)
    • getCotation

      public int getCotation()
      Returns:
      the cotation
    • setCotation

      public void setCotation(int cotation)
      Parameters:
      cotation - the cotation to set
    • getTitle

      public String getTitle()
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - the title to set
    • getSynopsis

      public String getSynopsis()
      Returns:
      the synopsis
    • setSynopsis

      public void setSynopsis(String synopsis)
      Parameters:
      synopsis - the synopsis to set
    • getComment

      public String getComment()
      Returns:
      the comment
    • setComment

      public void setComment(String comment)
      Parameters:
      comment - the comment to set
    • getBrolType

      public BrolType getBrolType()
      Returns:
      the brolType
    • setBrolType

      public void setBrolType(BrolType brolType)
      Parameters:
      brolType - the brolType to set
    • getDate

      public Date getDate()
      Returns:
      the date
    • setDate

      public void setDate(Date date)
      Parameters:
      date - the date to set
    • getId

      public int getId()
      Returns:
      the id
    • getCategories

      public List<BrolCategory> getCategories()
      Returns:
      the categories
    • getActors

      public List<Actor> getActors()
      Returns:
      the actors
    • getSerieItems

      public List<SerieItem> getSerieItems()
      Returns:
      the serieItems