Coverage Report - org.jtheque.core.managers.core.application.DirectValuesApplicationProperties
 
Classes in this File Line Coverage Branch Coverage Complexity
DirectValuesApplicationProperties
0 %
0/16
N/A
1
 
 1  
 package org.jtheque.core.managers.core.application;
 2  
 
 3  
 import org.jtheque.utils.bean.InternationalString;
 4  
 
 5  
 /*
 6  
  * This file is part of JTheque.
 7  
  *
 8  
  * JTheque is free software: you can redistribute it and/or modify
 9  
  * it under the terms of the GNU General Public License as published by
 10  
  * the Free Software Foundation, either version 3 of the License.
 11  
  *
 12  
  * JTheque is distributed in the hope that it will be useful,
 13  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15  
  * GNU General Public License for more details.
 16  
  *
 17  
  * You should have received a copy of the GNU General Public License
 18  
  * along with JTheque.  If not, see <http://www.gnu.org/licenses/>.
 19  
  */
 20  
 
 21  
 /**
 22  
  * Internationalizable properties directly configured in the application.xml file.
 23  
  *
 24  
  * @author Baptiste Wicht
 25  
  */
 26  0
 public final class DirectValuesApplicationProperties implements ApplicationProperties {
 27  
     private InternationalString author;
 28  
     private InternationalString name;
 29  
     private InternationalString site;
 30  
     private InternationalString email;
 31  
     private InternationalString copyright;
 32  
 
 33  
     /**
 34  
      * Set the author values.
 35  
      *
 36  
      * @param author The author values.
 37  
      */
 38  
     void setAuthor(InternationalString author){
 39  0
         this.author = author;
 40  0
     }
 41  
 
 42  
     /**
 43  
      * Set the name values.
 44  
      *
 45  
      * @param name The name values.
 46  
      */
 47  
     void setName(InternationalString name){
 48  0
         this.name = name;
 49  0
     }
 50  
 
 51  
     /**
 52  
      * Set the site values.
 53  
      *
 54  
      * @param site The site values.
 55  
      */
 56  
     void setSite(InternationalString site){
 57  0
         this.site = site;
 58  0
     }
 59  
 
 60  
     /**
 61  
      * Set the email values.
 62  
      *
 63  
      * @param email The email values.
 64  
      */
 65  
     void setEmail(InternationalString email){
 66  0
         this.email = email;
 67  0
     }
 68  
 
 69  
     /**
 70  
      * Set the copyright values.
 71  
      *
 72  
      * @param copyright The copyright values.
 73  
      */
 74  
     void setCopyright(InternationalString copyright){
 75  0
         this.copyright = copyright;
 76  0
     }
 77  
 
 78  
     @Override
 79  
     public String getName(){
 80  0
         return name.toString();
 81  
     }
 82  
 
 83  
     @Override
 84  
     public String getAuthor(){
 85  0
         return author.toString();
 86  
     }
 87  
 
 88  
     @Override
 89  
     public String getEmail(){
 90  0
         return email.toString();
 91  
     }
 92  
 
 93  
     @Override
 94  
     public String getSite(){
 95  0
         return site.toString();
 96  
     }
 97  
 
 98  
     @Override
 99  
     public String getCopyright(){
 100  0
         return copyright.toString();
 101  
     }
 102  
 }