Coverage Report - org.jtheque.films.persistence.od.temp.PersonTemporaryContext
 
Classes in this File Line Coverage Branch Coverage Complexity
PersonTemporaryContext
0 %
0/7
N/A
1
 
 1  
 package org.jtheque.films.persistence.od.temp;
 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.core.managers.persistence.context.TemporaryContext;
 20  
 
 21  
 /**
 22  
  * Temporary context of person.
 23  
  *
 24  
  * @author Baptiste Wicht
 25  
  */
 26  0
 public final class PersonTemporaryContext extends TemporaryContext {
 27  
     private int country;
 28  
     private int intNote;
 29  
 
 30  
     /**
 31  
      * Return the note.
 32  
      *
 33  
      * @return The note.
 34  
      */
 35  
     public int getIntNote() {
 36  0
         return intNote;
 37  
     }
 38  
 
 39  
     /**
 40  
      * Sets the note.
 41  
      *
 42  
      * @param intNote The note.
 43  
      */
 44  
     public void setIntNote(int intNote) {
 45  0
         this.intNote = intNote;
 46  0
     }
 47  
 
 48  
     /**
 49  
      * Return the country id.
 50  
      *
 51  
      * @return The country id.
 52  
      */
 53  
     public int getCountry() {
 54  0
         return country;
 55  
     }
 56  
 
 57  
     /**
 58  
      * Sets the temporary country id.
 59  
      *
 60  
      * @param country The country id.
 61  
      */
 62  
     public void setCountry(int country) {
 63  0
         this.country = country;
 64  0
     }
 65  
 }