Coverage Report - org.apache.maven.doxia.book.model.Section
 
Classes in this File Line Coverage Branch Coverage Complexity
Section
15%
4/26
0%
0/14
1,778
 
 1  
 /*
 2  
  =================== DO NOT EDIT THIS FILE ====================
 3  
  Generated by Modello 1.4.1 on 2012-04-13 23:09:58,
 4  
  any modifications will be overwritten.
 5  
  ==============================================================
 6  
  */
 7  
 
 8  
 package org.apache.maven.doxia.book.model;
 9  
 
 10  
 /**
 11  
  * Class Section.
 12  
  * 
 13  
  * @version $Revision$ $Date$
 14  
  */
 15  
 @SuppressWarnings( "all" )
 16  8
 public class Section
 17  
     implements java.io.Serializable
 18  
 {
 19  
 
 20  
       //--------------------------/
 21  
      //- Class/Member Variables -/
 22  
     //--------------------------/
 23  
 
 24  
     /**
 25  
      * 
 26  
      *             Specifies the id of this section. This is a
 27  
      * symbolic name for a
 28  
      *             particular section.
 29  
      *           
 30  
      */
 31  
     private String id;
 32  
 
 33  
     /**
 34  
      * 
 35  
      *             Specifies the title of this section.
 36  
      *           
 37  
      */
 38  
     private String title;
 39  
 
 40  
     /**
 41  
      * 
 42  
      *             Specifies the file of this section.
 43  
      *           
 44  
      */
 45  
     private String file;
 46  
 
 47  
 
 48  
       //-----------/
 49  
      //- Methods -/
 50  
     //-----------/
 51  
 
 52  
     /**
 53  
      * Method equals.
 54  
      * 
 55  
      * @param other
 56  
      * @return boolean
 57  
      */
 58  
     public boolean equals( Object other )
 59  
     {
 60  0
         if ( this == other )
 61  
         {
 62  0
             return true;
 63  
         }
 64  
 
 65  0
         if ( !( other instanceof Section ) )
 66  
         {
 67  0
             return false;
 68  
         }
 69  
 
 70  0
         Section that = (Section) other;
 71  0
         boolean result = true;
 72  
 
 73  0
         result = result && ( getId() == null ? that.getId() == null : getId().equals( that.getId() ) );
 74  
 
 75  0
         return result;
 76  
     } //-- boolean equals( Object )
 77  
 
 78  
     /**
 79  
      * Get specifies the file of this section.
 80  
      * 
 81  
      * @return String
 82  
      */
 83  
     public String getFile()
 84  
     {
 85  0
         return this.file;
 86  
     } //-- String getFile()
 87  
 
 88  
     /**
 89  
      * Get specifies the id of this section. This is a symbolic
 90  
      * name for a
 91  
      *             particular section.
 92  
      * 
 93  
      * @return String
 94  
      */
 95  
     public String getId()
 96  
     {
 97  96
         return this.id;
 98  
     } //-- String getId()
 99  
 
 100  
     /**
 101  
      * Get specifies the title of this section.
 102  
      * 
 103  
      * @return String
 104  
      */
 105  
     public String getTitle()
 106  
     {
 107  0
         return this.title;
 108  
     } //-- String getTitle()
 109  
 
 110  
     /**
 111  
      * Method hashCode.
 112  
      * 
 113  
      * @return int
 114  
      */
 115  
     public int hashCode()
 116  
     {
 117  0
         int result = 17;
 118  
 
 119  0
         result = 37 * result + ( id != null ? id.hashCode() : 0 );
 120  
 
 121  0
         return result;
 122  
     } //-- int hashCode()
 123  
 
 124  
     /**
 125  
      * Set specifies the file of this section.
 126  
      * 
 127  
      * @param file
 128  
      */
 129  
     public void setFile( String file )
 130  
     {
 131  0
         this.file = file;
 132  0
     } //-- void setFile( String )
 133  
 
 134  
     /**
 135  
      * Set specifies the id of this section. This is a symbolic
 136  
      * name for a
 137  
      *             particular section.
 138  
      * 
 139  
      * @param id
 140  
      */
 141  
     public void setId( String id )
 142  
     {
 143  8
         this.id = id;
 144  8
     } //-- void setId( String )
 145  
 
 146  
     /**
 147  
      * Set specifies the title of this section.
 148  
      * 
 149  
      * @param title
 150  
      */
 151  
     public void setTitle( String title )
 152  
     {
 153  0
         this.title = title;
 154  0
     } //-- void setTitle( String )
 155  
 
 156  
     /**
 157  
      * Method toString.
 158  
      * 
 159  
      * @return String
 160  
      */
 161  
     public java.lang.String toString()
 162  
     {
 163  0
         StringBuilder buf = new StringBuilder( 128 );
 164  
 
 165  0
         buf.append( "id = '" );
 166  0
         buf.append( getId() );
 167  0
         buf.append( "'" );
 168  
 
 169  0
         return buf.toString();
 170  
     } //-- java.lang.String toString()
 171  
 
 172  
 }