Coverage Report - org.jtheque.primary.view.able.fb.IPersonFormBean
 
Classes in this File Line Coverage Branch Coverage Complexity
IPersonFormBean
N/A
N/A
1
 
 1  
 package org.jtheque.primary.view.able.fb;
 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.utils.db.Note;
 20  
 import org.jtheque.primary.controller.able.FormBean;
 21  
 import org.jtheque.primary.od.able.Person;
 22  
 import org.jtheque.primary.od.able.SimpleData;
 23  
 
 24  
 /**
 25  
  * @author Baptiste Wicht
 26  
  */
 27  
 public interface IPersonFormBean extends FormBean {
 28  
         /**
 29  
          * Set the name of the author.
 30  
          *
 31  
          * @param name The name of the author.
 32  
          */
 33  
         void setName(String name);
 34  
 
 35  
         /**
 36  
          * Set the firstName of the author.
 37  
          *
 38  
          * @param firstName The first name of the author.
 39  
          */
 40  
         void setFirstName(String firstName);
 41  
 
 42  
         /**
 43  
          * Set the note of the realizer.
 44  
          *
 45  
          * @param note The note to set.
 46  
          */
 47  
         void setNote(Note note);
 48  
 
 49  
         /**
 50  
          * Set the country of the realizer.
 51  
          *
 52  
          * @param country The country to set.
 53  
          */
 54  
         void setCountry(SimpleData country);
 55  
 
 56  
         /**
 57  
          * Fill the specified author with the informations of the form bean.
 58  
          *
 59  
          * @param author The author object to fill.
 60  
          */
 61  
         void fillPerson(Person author);
 62  
 }