Coverage Report - org.apache.maven.plugins.changes.model.Author
 
Classes in this File Line Coverage Branch Coverage Complexity
Author
64%
7/11
N/A
1
 
 1  
 /*
 2  
  * $Id: org.apache.maven.plugins.changes.model.Author.html 816588 2012-05-08 12:37:27Z hboutemy $
 3  
  */
 4  
 
 5  
 package org.apache.maven.plugins.changes.model;
 6  
 
 7  
   //---------------------------------/
 8  
  //- Imported classes and packages -/
 9  
 //---------------------------------/
 10  
 
 11  
 import java.util.Date;
 12  
 
 13  
 /**
 14  
  * 
 15  
  *         A description of the author page.
 16  
  *       
 17  
  * 
 18  
  * @version $Revision: 816588 $ $Date: 2012-05-08 12:37:27 +0000 (Tue, 08 May 2012) $
 19  
  */
 20  2
 public class Author implements java.io.Serializable {
 21  
 
 22  
 
 23  
       //--------------------------/
 24  
      //- Class/Member Variables -/
 25  
     //--------------------------/
 26  
 
 27  
     /**
 28  
      * 
 29  
      *             The page author name.
 30  
      *           
 31  
      */
 32  
     private String name;
 33  
 
 34  
     /**
 35  
      * 
 36  
      *             The page author email.
 37  
      *           
 38  
      */
 39  
     private String authorEmail;
 40  
 
 41  
 
 42  
       //-----------/
 43  
      //- Methods -/
 44  
     //-----------/
 45  
 
 46  
     /**
 47  
      * Get 
 48  
      *             The page author email.
 49  
      *           
 50  
      * 
 51  
      * @return String
 52  
      */
 53  
     public String getAuthorEmail()
 54  
     {
 55  0
         return this.authorEmail;
 56  
     } //-- String getAuthorEmail() 
 57  
 
 58  
     /**
 59  
      * Get 
 60  
      *             The page author name.
 61  
      *           
 62  
      * 
 63  
      * @return String
 64  
      */
 65  
     public String getName()
 66  
     {
 67  4
         return this.name;
 68  
     } //-- String getName() 
 69  
 
 70  
     /**
 71  
      * Set 
 72  
      *             The page author email.
 73  
      *           
 74  
      * 
 75  
      * @param authorEmail
 76  
      */
 77  
     public void setAuthorEmail(String authorEmail)
 78  
     {
 79  2
         this.authorEmail = authorEmail;
 80  2
     } //-- void setAuthorEmail(String) 
 81  
 
 82  
     /**
 83  
      * Set 
 84  
      *             The page author name.
 85  
      *           
 86  
      * 
 87  
      * @param name
 88  
      */
 89  
     public void setName(String name)
 90  
     {
 91  2
         this.name = name;
 92  2
     } //-- void setName(String) 
 93  
 
 94  
 
 95  2
     private String modelEncoding = "UTF-8";
 96  
 
 97  
     /**
 98  
      * Set an encoding used for reading/writing the model.
 99  
      *
 100  
      * @param modelEncoding the encoding used when reading/writing the model.
 101  
      */
 102  
     public void setModelEncoding( String modelEncoding )
 103  
     {
 104  0
         this.modelEncoding = modelEncoding;
 105  0
     }
 106  
 
 107  
     /**
 108  
      * @return the current encoding used when reading/writing this model.
 109  
      */
 110  
     public String getModelEncoding()
 111  
     {
 112  0
         return modelEncoding;
 113  
     }
 114  
 }