Class TVSerie

java.lang.Object
be.gaudry.model.video.TVSerie

public class TVSerie extends Object
Provided by the broldev.file.mediareporter.model project.
Since:
1.0 (Apr 1, 2011), broldev.file.mediareporter.model 0.0.1-SNAPSHOT dependency
Version:
1.0 (Apr 1, 2011)
Author:
Steph GAUDRY
  • Constructor Details

    • TVSerie

      public TVSerie()
  • Method Details

    • getSeasons

      public List<TVSeason> getSeasons()
      Returns:
      the seasons
    • getSeason

      public TVSeason getSeason(int index)
      Returns the TVSeason at the specified position in the TVSeasons.
      Parameters:
      index - index of the element to return
      Returns:
      the element at the specified position in this list
      Throws:
      IndexOutOfBoundsException - if the index is out of range (index < 0 || index >= size())
    • addSeason

      public void addSeason(TVSeason season)
      Appends the specified element to the end of this list (optional operation).
      Parameters:
      season - element to be appended to this list
      Throws:
      ClassCastException - if the class of the specified element prevents it from being added to this list
      See Also:
      getSeasons()
    • removeSeason

      public void removeSeason(TVSeason season)
      Removes the first occurrence of the specified element from this list, if it is present (optional operation). If this list does not contain the element, it is unchanged. More formally, removes the element with the lowest index i such that (o==null ? get(i)==null : o.equals(get(i))) (if such an element exists). Returns true if this list contained the specified element (or equivalently, if this list changed as a result of the call).
      Parameters:
      season - element to be removed from this list, if present
      See Also:
      getSeasons()
    • getCover

      public Byte[] getCover()
      Returns:
      the cover
    • setCover

      public void setCover(Byte[] cover)
      Parameters:
      cover - the cover to set
      See Also:
      getCover()
    • getSynospis

      public String getSynospis()
      Returns:
      the synospis
    • setSynospis

      public void setSynospis(String synospis)
      Parameters:
      synospis - the synospis to set
      See Also:
      getSynospis()
    • getInfos

      public String getInfos()
      Returns:
      the infos
    • setInfos

      public void setInfos(String infos)
      Parameters:
      infos - the infos to set
      See Also:
      getInfos()
    • getTitle

      public String getTitle()
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - the title to set
      See Also:
      getTitle()
    • getPath

      public String getPath()
      Returns:
      the path
    • setPath

      public void setPath(String path)
      Parameters:
      path - the path to set
      See Also:
      getPath()
    • toString

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

      public String toDebug()
      Returns:
      the (Object)toString()