Coverage Report - org.jtheque.films.services.impl.utils.web.FilmResult
 
Classes in this File Line Coverage Branch Coverage Complexity
FilmResult
0 %
0/10
N/A
1
 
 1  
 package org.jtheque.films.services.impl.utils.web;
 2  
 
 3  
 /*
 4  
  * This file is part of JTheque.
 5  
  *
 6  
  * JTheque is free software: you can redistribute it and/or modify
 7  
  * it under the terms of the GNU General Public License as published by
 8  
  * the Free Software Foundation, either version 3 of the License.
 9  
  *
 10  
  * JTheque is distributed in the hope that it will be useful,
 11  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 13  
  * GNU General Public License for more details.
 14  
  *
 15  
  * You should have received a copy of the GNU General Public License
 16  
  * along with JTheque.  If not, see <http://www.gnu.org/licenses/>.
 17  
  */
 18  
 
 19  
 import org.jtheque.films.utils.Constants.Site;
 20  
 
 21  
 /**
 22  
  * A result of film search on site.
 23  
  *
 24  
  * @author Baptiste Wicht
 25  
  */
 26  0
 public final class FilmResult {
 27  
     private String index;
 28  
     private String titre;
 29  
     private Site site;
 30  
 
 31  
     /**
 32  
      * @param index the index to set
 33  
      */
 34  
     public void setIndex(String index) {
 35  0
         this.index = index;
 36  0
     }
 37  
 
 38  
     /**
 39  
      * @return the index
 40  
      */
 41  
     public String getIndex() {
 42  0
         return index;
 43  
     }
 44  
 
 45  
     /**
 46  
      * @param titre the titre to set
 47  
      */
 48  
     public void setTitre(String titre) {
 49  0
         this.titre = titre;
 50  0
     }
 51  
 
 52  
     /**
 53  
      * @return the titre
 54  
      */
 55  
     public String getTitre() {
 56  0
         return titre;
 57  
     }
 58  
 
 59  
     /**
 60  
      * Set the site.
 61  
      *
 62  
      * @param site The site.
 63  
      */
 64  
     public void setSite(Site site) {
 65  0
         this.site = site;
 66  0
     }
 67  
 
 68  
     /**
 69  
      * Return the site of the result.
 70  
      *
 71  
      * @return The site of the result.
 72  
      */
 73  
     public Site getSite() {
 74  0
         return site;
 75  
     }
 76  
 }