Coverage Report - org.apache.maven.archetype.metadata.RequiredProperty
 
Classes in this File Line Coverage Branch Coverage Complexity
RequiredProperty
100 %
7/7
N/A
0
 
 1  
 /*
 2  
  =================== DO NOT EDIT THIS FILE ====================
 3  
  Generated by Modello 1.4 on 2010-10-28 03:23:59,
 4  
  any modifications will be overwritten.
 5  
  ==============================================================
 6  
  */
 7  
 
 8  
 package org.apache.maven.archetype.metadata;
 9  
 
 10  
 /**
 11  
  * Definition of a property required when generating a project from
 12  
  * this archetype.
 13  
  * 
 14  
  * @version $Revision$ $Date$
 15  
  */
 16  
 @SuppressWarnings( "all" )
 17  76
 public class RequiredProperty
 18  
     implements java.io.Serializable
 19  
 {
 20  
 
 21  
       //--------------------------/
 22  
      //- Class/Member Variables -/
 23  
     //--------------------------/
 24  
 
 25  
     /**
 26  
      * Key value of the property.
 27  
      */
 28  
     private String key;
 29  
 
 30  
     /**
 31  
      * Default value of the property.
 32  
      */
 33  
     private String defaultValue;
 34  
 
 35  
 
 36  
       //-----------/
 37  
      //- Methods -/
 38  
     //-----------/
 39  
 
 40  
     /**
 41  
      * Get default value of the property.
 42  
      * 
 43  
      * @return String
 44  
      */
 45  
     public String getDefaultValue()
 46  
     {
 47  6
         return this.defaultValue;
 48  
     } //-- String getDefaultValue()
 49  
 
 50  
     /**
 51  
      * Get key value of the property.
 52  
      * 
 53  
      * @return String
 54  
      */
 55  
     public String getKey()
 56  
     {
 57  72
         return this.key;
 58  
     } //-- String getKey()
 59  
 
 60  
     /**
 61  
      * Set default value of the property.
 62  
      * 
 63  
      * @param defaultValue
 64  
      */
 65  
     public void setDefaultValue( String defaultValue )
 66  
     {
 67  40
         this.defaultValue = defaultValue;
 68  40
     } //-- void setDefaultValue( String )
 69  
 
 70  
     /**
 71  
      * Set key value of the property.
 72  
      * 
 73  
      * @param key
 74  
      */
 75  
     public void setKey( String key )
 76  
     {
 77  76
         this.key = key;
 78  76
     } //-- void setKey( String )
 79  
 
 80  
 }